@fileverse-dev/formulajs 4.4.11-mod-68-patch-1 → 4.4.11-mod-68-patch-2

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.
@@ -1,4 +1,4 @@
1
- /* @fileverse-dev/formulajs v4.4.11-mod-68-patch-1 */
1
+ /* @fileverse-dev/formulajs v4.4.11-mod-68-patch-2 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -17643,13 +17643,14 @@ function _typeof(o) {
17643
17643
  offset: offset
17644
17644
  });
17645
17645
  apiKey = window.localStorage.getItem(SERVICES_API_KEY.Etherscan);
17646
+ console.log("apiKey", apiKey);
17646
17647
  if (apiKey) {
17647
- _context24.next = 8;
17648
+ _context24.next = 9;
17648
17649
  break;
17649
17650
  }
17650
17651
  throw new MissingApiKeyError(SERVICES_API_KEY.Etherscan);
17651
17652
 
17652
- case 8:
17653
+ case 9:
17653
17654
  INPUTS = addresses.split(",").map((function(s) {
17654
17655
  return s.trim();
17655
17656
  })).filter(Boolean);
@@ -17658,62 +17659,63 @@ function _typeof(o) {
17658
17659
  })).filter(Boolean);
17659
17660
  ADDRESS_MAP = {};
17660
17661
  _iterator41 = _createForOfIteratorHelper(INPUTS);
17661
- _context24.prev = 12;
17662
+ _context24.prev = 13;
17662
17663
  _iterator41.s();
17663
17664
 
17664
- case 14:
17665
+ case 15:
17665
17666
  if ((_step41 = _iterator41.n()).done) {
17666
- _context24.next = 29;
17667
+ _context24.next = 30;
17667
17668
  break;
17668
17669
  }
17669
17670
  inp = _step41.value;
17670
17671
  if (!isAddress$1.isAddress(inp)) {
17671
- _context24.next = 20;
17672
+ _context24.next = 21;
17672
17673
  break;
17673
17674
  }
17674
17675
  ADDRESS_MAP[inp.toLowerCase()] = null;
17675
- _context24.next = 27;
17676
+ _context24.next = 28;
17676
17677
  break;
17677
17678
 
17678
- case 20:
17679
+ case 21:
17679
17680
  ens = inp;
17680
- _context24.next = 23;
17681
+ _context24.next = 24;
17681
17682
  return fromEnsNameToAddress$1.fromEnsNameToAddress(ens);
17682
17683
 
17683
- case 23:
17684
+ case 24:
17684
17685
  resolved = _context24.sent;
17685
17686
  if (resolved) {
17686
- _context24.next = 26;
17687
+ _context24.next = 27;
17687
17688
  break;
17688
17689
  }
17689
17690
  throw new EnsError(ens);
17690
17691
 
17691
- case 26:
17692
+ case 27:
17692
17693
  ADDRESS_MAP[resolved.toLowerCase()] = ens;
17693
17694
 
17694
- case 27:
17695
- _context24.next = 14;
17695
+ case 28:
17696
+ _context24.next = 15;
17696
17697
  break;
17697
17698
 
17698
- case 29:
17699
- _context24.next = 34;
17699
+ case 30:
17700
+ _context24.next = 35;
17700
17701
  break;
17701
17702
 
17702
- case 31:
17703
- _context24.prev = 31;
17704
- _context24.t0 = _context24["catch"](12);
17703
+ case 32:
17704
+ _context24.prev = 32;
17705
+ _context24.t0 = _context24["catch"](13);
17705
17706
  _iterator41.e(_context24.t0);
17706
17707
 
17707
- case 34:
17708
- _context24.prev = 34;
17708
+ case 35:
17709
+ _context24.prev = 35;
17709
17710
  _iterator41.f();
17710
- return _context24.finish(34);
17711
+ return _context24.finish(35);
17711
17712
 
17712
- case 37:
17713
+ case 38:
17713
17714
  ADDRS = Object.keys(ADDRESS_MAP);
17715
+ console.log("ADDRS", ADDRS);
17714
17716
  out = [];
17715
17717
  _iterator42 = _createForOfIteratorHelper(CHAINS);
17716
- _context24.prev = 40;
17718
+ _context24.prev = 42;
17717
17719
  _loop = _regeneratorRuntime().mark((function _loop() {
17718
17720
  var chain, chainId, _loop2, _ret2, i, sb, eb, _loop3, _ret3, _i16, _ADDRS;
17719
17721
  return _regeneratorRuntime().wrap((function _loop$(_context23) {
@@ -17887,52 +17889,52 @@ function _typeof(o) {
17887
17889
  }));
17888
17890
  _iterator42.s();
17889
17891
 
17890
- case 43:
17892
+ case 45:
17891
17893
  if ((_step42 = _iterator42.n()).done) {
17892
- _context24.next = 50;
17894
+ _context24.next = 52;
17893
17895
  break;
17894
17896
  }
17895
- return _context24.delegateYield(_loop(), "t1", 45);
17897
+ return _context24.delegateYield(_loop(), "t1", 47);
17896
17898
 
17897
- case 45:
17899
+ case 47:
17898
17900
  _ret = _context24.t1;
17899
17901
  if (!_ret) {
17900
- _context24.next = 48;
17902
+ _context24.next = 50;
17901
17903
  break;
17902
17904
  }
17903
17905
  return _context24.abrupt("return", _ret.v);
17904
17906
 
17905
- case 48:
17906
- _context24.next = 43;
17907
- break;
17908
-
17909
17907
  case 50:
17910
- _context24.next = 55;
17908
+ _context24.next = 45;
17911
17909
  break;
17912
17910
 
17913
17911
  case 52:
17914
- _context24.prev = 52;
17915
- _context24.t2 = _context24["catch"](40);
17912
+ _context24.next = 57;
17913
+ break;
17914
+
17915
+ case 54:
17916
+ _context24.prev = 54;
17917
+ _context24.t2 = _context24["catch"](42);
17916
17918
  _iterator42.e(_context24.t2);
17917
17919
 
17918
- case 55:
17919
- _context24.prev = 55;
17920
+ case 57:
17921
+ _context24.prev = 57;
17920
17922
  _iterator42.f();
17921
- return _context24.finish(55);
17923
+ return _context24.finish(57);
17922
17924
 
17923
- case 58:
17925
+ case 60:
17924
17926
  return _context24.abrupt("return", out);
17925
17927
 
17926
- case 61:
17927
- _context24.prev = 61;
17928
+ case 63:
17929
+ _context24.prev = 63;
17928
17930
  _context24.t3 = _context24["catch"](1);
17929
17931
  return _context24.abrupt("return", errorMessageHandler(_context24.t3, "EOA"));
17930
17932
 
17931
- case 64:
17933
+ case 66:
17932
17934
  case "end":
17933
17935
  return _context24.stop();
17934
17936
  }
17935
- }), _callee21, null, [ [ 1, 61 ], [ 12, 31, 34, 37 ], [ 40, 52, 55, 58 ] ]);
17937
+ }), _callee21, null, [ [ 1, 63 ], [ 13, 32, 35, 38 ], [ 42, 54, 57, 60 ] ]);
17936
17938
  })));
17937
17939
  return _EOA.apply(this, arguments);
17938
17940
  }