@ethereansos/interfaces-core 0.4.148 → 0.4.151

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
@@ -64090,7 +64090,10 @@ function setItem(key, value) {
64090
64090
  db = _context2.sent;
64091
64091
  txn = db.transaction(dbTable, 'readwrite');
64092
64092
  store = txn.objectStore(dbTable);
64093
- query = store.put(value && _typeof(value).toLowerCase() === 'string' ? value : JSON.stringify(value || null), key);
64093
+ query = store.put({
64094
+ key: key,
64095
+ value: value && _typeof(value).toLowerCase() === 'string' ? value : JSON.stringify(value || null)
64096
+ }, key);
64094
64097
 
64095
64098
  query.onsuccess = function (event) {
64096
64099
  return ok(event.target.result);
@@ -64303,7 +64306,7 @@ function cleanLink(linkToClean) {
64303
64306
 
64304
64307
  var split = cleanedLink.split('/ipfs/');
64305
64308
  var ipfsLink = split[split.length - 1];
64306
- cleanedLink = '//gateway.ipfs.io/ipfs/' + ipfsLink;
64309
+ cleanedLink = '//ipfs.io/ipfs/' + ipfsLink;
64307
64310
  return cleanedLink;
64308
64311
  }
64309
64312