diff --git a/docs/index.html b/docs/index.html index 75d749b..54d6a07 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@
-Whether client fails to connect to node.
+ ++ Type: + boolean +
+ + + + + + + + + + + + + + + + + + + + @@ -2027,6 +2135,69 @@Add event listener function that will be called when client fails to
+connect to node. Multiple listeners will be called sequentially in the
+order of added. Note that listeners added after client fails to connect to
+node (i.e. client.isFailed === true
) will not be called.
(ConnectFailedHandler)
+
+ Add event listener function that will be called when client websocket +connection throws an error. Multiple listeners will be called sequentially +in the order of added.
+ +(WsErrorHandler)
+
+ Whether client is closed.
+Whether multiclient is closed.
Whether multiclient fails to connect to node (all underlying clients failed).
+ ++ Type: + boolean +
+ + + + + + + + + + + + + + + + + + + + @@ -4081,7 +4366,7 @@Whether client is ready (connected to a node).
+Whether multiclient is ready (at least one underylying client is ready).
multiclient.isReady === true
) will not be called.
- (ConnectHandler)
+
+ Add event listener function that will be called when all sub clients fail
+to connect to node. Multiple listeners will be called sequentially in the
+order of added. Note that listeners added after client fails to connect to
+node (i.e. multiclient.isFailed === true
) will not be called.
Add event listener function that will be called when any client websocket +connection throws an error. Multiple listeners will be called sequentially +in the order of added.
+ +(WsErrorHandler)
+
+ Connect Failed handler function type.
+ ++ Type: + function (): void +
+ + + + + + + + + + + + + + + + + + + + @@ -8956,6 +9419,59 @@Websocket error handler function type.
+ ++ Type: + function (Event): void +
+ + + + + + + + + + + + + + + + + + + + diff --git a/package.json b/package.json index 6ed9761..ad30bdf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nkn-sdk", - "version": "1.2.4", + "version": "1.2.5", "description": "NKN client and wallet SDK", "main": "lib/index.js", "exports": {