@ethereansos/interfaces-core 0.4.139 → 0.4.142

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/dist/index.cjs.js CHANGED
@@ -23933,7 +23933,7 @@ function _sendAsync() {
23933
23933
  throw _context4.t0;
23934
23934
 
23935
23935
  case 13:
23936
- if (!(message.indexOf('429') !== -1)) {
23936
+ if (!(message.indexOf('429') === -1)) {
23937
23937
  _context4.next = 22;
23938
23938
  break;
23939
23939
  }
@@ -64170,7 +64170,13 @@ function _tryRetrieveMetadata() {
64170
64170
 
64171
64171
  case 18:
64172
64172
  item.metadataLink = _context.t0;
64173
- item.id && (item.metadataLink = item.metadataLink.split('0x{id}').join(item.id));
64173
+
64174
+ if (item.id) {
64175
+ item.metadataLink = decodeURI(item.metadataLink);
64176
+ item.metadataLink = item.metadataLink.split('{id}').join(item.id);
64177
+ item.metadataLink = item.metadataLink.split('0x{id}').join(web3Utils__default["default"].numberToHex(item.id));
64178
+ }
64179
+
64174
64180
  item.metadataLink = metadatas && metadatas[item.address] || item.metadataLink;
64175
64181
 
64176
64182
  if (!(item.metadataLink !== '')) {