@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.esm.js CHANGED
@@ -23921,7 +23921,7 @@ function _sendAsync() {
23921
23921
  throw _context4.t0;
23922
23922
 
23923
23923
  case 13:
23924
- if (!(message.indexOf('429') !== -1)) {
23924
+ if (!(message.indexOf('429') === -1)) {
23925
23925
  _context4.next = 22;
23926
23926
  break;
23927
23927
  }
@@ -64158,7 +64158,13 @@ function _tryRetrieveMetadata() {
64158
64158
 
64159
64159
  case 18:
64160
64160
  item.metadataLink = _context.t0;
64161
- item.id && (item.metadataLink = item.metadataLink.split('0x{id}').join(item.id));
64161
+
64162
+ if (item.id) {
64163
+ item.metadataLink = decodeURI(item.metadataLink);
64164
+ item.metadataLink = item.metadataLink.split('{id}').join(item.id);
64165
+ item.metadataLink = item.metadataLink.split('0x{id}').join(web3Utils.numberToHex(item.id));
64166
+ }
64167
+
64162
64168
  item.metadataLink = metadatas && metadatas[item.address] || item.metadataLink;
64163
64169
 
64164
64170
  if (!(item.metadataLink !== '')) {