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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. 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 = null) {
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evernode-js-client",
3
- "version": "0.4.41",
3
+ "version": "0.4.42",
4
4
  "dependencies": {
5
5
  "elliptic": "6.5.4",
6
6
  "ripple-address-codec": "4.2.0",