-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add connection events and subscription to multiple addresses, t… #67
base: dev
Are you sure you want to change the base?
Conversation
Updated documentation:
|
After Can you upgrade to the latest version and commit the |
Firstly, we can prioritize WS connections for nodes with higher versions. In the case a node with old version (
|
I suppose ignore nodes with old version ( |
@adamant-al I agree. Let's do as you suggested. |
feat: add connection events and subscription to multiple addresses, types
Added
Reconnecting behavior on disconnection and on connection errors, controlled by
options.maxTries
andoptions.reconnectionDelay
onConnection(connectedNode: string)
andonReconnectoin(connectedNode: string)
methodsError on disconnection with reason code and message:
admAddresses
,types
andassetChatTypes
options to subscribe to the corresponding transactionsconnect()
anddisconnect()
methodssimple test script