evernode-js-client 0.4.41 → 0.4.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.
|