evernode-js-client 0.4.41 → 0.4.42
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -14466,7 +14466,7 @@ class XrplApi {
|
|
14466
14466
|
this.#initXrplClient(options.xrplClientOptions);
|
14467
14467
|
}
|
14468
14468
|
|
14469
|
-
async #initXrplClient(xrplClientOptions =
|
14469
|
+
async #initXrplClient(xrplClientOptions = {}) {
|
14470
14470
|
|
14471
14471
|
if (this.#client) { // If the client already exists, clean it up.
|
14472
14472
|
this.#client.removeAllListeners(); // Remove existing event listeners to avoid them getting called from the old client object.
|