@eluvio/elv-client-js 4.0.143 → 4.0.144

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.
@@ -125,7 +125,7 @@ var AuthorizationClient = /*#__PURE__*/function () {
125
125
  if (versionHash) {
126
126
  objectId = this.client.utils.DecodeVersionHash(versionHash).objectId;
127
127
  }
128
- _context2.t0 = objectId && this.client.signer;
128
+ _context2.t0 = objectId && this.client.signer && !this.client.signer.anonymous;
129
129
  if (!_context2.t0) {
130
130
  _context2.next = 10;
131
131
  break;
@@ -1642,7 +1642,7 @@ var AuthorizationClient = /*#__PURE__*/function () {
1642
1642
  this.Log("Making KMS request:\n URL: ".concat(KMSUrls[i], "\n Method: ").concat(methodName, "\n Params: ").concat(params.join(", ")));
1643
1643
  kmsUrl = KMSUrls[i];
1644
1644
  if (!this.providers[kmsUrl]) {
1645
- this.providers[kmsUrl] = new Ethers.providers.JsonRpcProvider(kmsUrl, this.client.networkId);
1645
+ this.providers[kmsUrl] = new Ethers.providers.StaticJsonRpcProvider(kmsUrl, this.client.networkId);
1646
1646
  }
1647
1647
  _context22.next = 29;
1648
1648
  return this.providers[kmsUrl].send(methodName, params);