evernode-js-client 0.6.45 → 0.6.46

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
@@ -61169,7 +61169,7 @@ class HostClient extends BaseEvernodeClient {
61169
61169
  async setReputationAcc(reputationAddress = null, reputationSecret = null) {
61170
61170
  let hostReputationAccId;
61171
61171
  if (!reputationAddress && !reputationSecret) {
61172
- hostReputationAccId = (await this.xrplAcc.getWalletLocator()).slice(0, 20);
61172
+ hostReputationAccId = (await this.xrplAcc.getWalletLocator())?.slice(0, 20);
61173
61173
  if (hostReputationAccId)
61174
61174
  reputationAddress = codec.encodeAccountID(Buffer.from(hostReputationAccId, 'hex'));
61175
61175
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  ],
7
7
  "homepage": "https://github.com/HotPocketDev/evernode-js-client",
8
8
  "license": "SEE LICENSE IN https://raw.githubusercontent.com/EvernodeXRPL/evernode-resources/main/license/evernode-license.pdf",
9
- "version": "0.6.45",
9
+ "version": "0.6.46",
10
10
  "dependencies": {
11
11
  "elliptic": "6.5.4",
12
12
  "libsodium-wrappers": "0.7.10",