@fileverse-dev/formulajs 4.4.11-mod-38-patch-3 → 4.4.11-mod-38-patch-5

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-38-patch-3 */
1
+ /* @fileverse-dev/formulajs v4.4.11-mod-38-patch-5 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -11222,6 +11222,7 @@ function _typeof(o) {
11222
11222
  case 0:
11223
11223
  result = 0;
11224
11224
  arrayEach(argsToArray(_args4), (function(value) {
11225
+ console.log("callllllling teeeessssst");
11225
11226
  if (result instanceof Error) {
11226
11227
  return false;
11227
11228
  } else if (value instanceof Error) {
@@ -12004,6 +12005,7 @@ function _typeof(o) {
12004
12005
  fetchJSON = function _fetchJSON2(_x8) {
12005
12006
  return _fetchJSON.apply(this, arguments);
12006
12007
  };
12008
+ console.log("callllllling EOOOOOOOAAAAAAA");
12007
12009
  _argsToArray17 = argsToArray(_args14), _argsToArray18 = _slicedToArray(_argsToArray17, 7),
12008
12010
  addresses = _argsToArray18[0], category = _argsToArray18[1], chains = _argsToArray18[2],
12009
12011
  startTime = _argsToArray18[3], endTime = _argsToArray18[4], _argsToArray18$ = _argsToArray18[5],
@@ -12011,20 +12013,20 @@ function _typeof(o) {
12011
12013
  offset = _argsToArray18$2 === void 0 ? 10 : _argsToArray18$2;
12012
12014
  someError = anyError(addresses, category, chains, startTime, endTime, page, offset);
12013
12015
  if (!someError) {
12014
- _context14.next = 6;
12016
+ _context14.next = 7;
12015
12017
  break;
12016
12018
  }
12017
12019
  return _context14.abrupt("return", someError);
12018
12020
 
12019
- case 6:
12021
+ case 7:
12020
12022
  API_KEY = window.localStorage.getItem(SERVICE_API_KEY.Etherscan);
12021
12023
  if (API_KEY) {
12022
- _context14.next = 9;
12024
+ _context14.next = 10;
12023
12025
  break;
12024
12026
  }
12025
12027
  return _context14.abrupt("return", "".concat(SERVICE_API_KEY.Etherscan).concat(ERROR_MESSAGES_FLAG.MISSING_KEY));
12026
12028
 
12027
- case 9:
12029
+ case 10:
12028
12030
  if (typeof addresses === "string") {
12029
12031
  INPUTS = addresses.split(",").map((function(a) {
12030
12032
  return a.trim();
@@ -12038,61 +12040,61 @@ function _typeof(o) {
12038
12040
  out = [];
12039
12041
  ADDRESS_MAP = {};
12040
12042
  _iterator = _createForOfIteratorHelper(INPUTS);
12041
- _context14.prev = 14;
12043
+ _context14.prev = 15;
12042
12044
  _iterator.s();
12043
12045
 
12044
- case 16:
12046
+ case 17:
12045
12047
  if ((_step = _iterator.n()).done) {
12046
- _context14.next = 34;
12048
+ _context14.next = 35;
12047
12049
  break;
12048
12050
  }
12049
12051
  input = _step.value;
12050
12052
  if (!isAddress(input)) {
12051
- _context14.next = 22;
12053
+ _context14.next = 23;
12052
12054
  break;
12053
12055
  }
12054
12056
  ADDRESS_MAP[input.toLowerCase()] = null;
12055
- _context14.next = 32;
12057
+ _context14.next = 33;
12056
12058
  break;
12057
12059
 
12058
- case 22:
12059
- _context14.prev = 22;
12060
- _context14.next = 25;
12060
+ case 23:
12061
+ _context14.prev = 23;
12062
+ _context14.next = 26;
12061
12063
  return fromEnsNameToAddress(input);
12062
12064
 
12063
- case 25:
12065
+ case 26:
12064
12066
  resolved = _context14.sent;
12065
12067
  if (resolved) ADDRESS_MAP[resolved.toLowerCase()] = input;
12066
- _context14.next = 32;
12068
+ _context14.next = 33;
12067
12069
  break;
12068
12070
 
12069
- case 29:
12070
- _context14.prev = 29;
12071
- _context14.t0 = _context14["catch"](22);
12071
+ case 30:
12072
+ _context14.prev = 30;
12073
+ _context14.t0 = _context14["catch"](23);
12072
12074
  return _context14.abrupt("return", "".concat(input).concat(ERROR_MESSAGES_FLAG.INVALID_PARAM));
12073
12075
 
12074
- case 32:
12075
- _context14.next = 16;
12076
+ case 33:
12077
+ _context14.next = 17;
12076
12078
  break;
12077
12079
 
12078
- case 34:
12079
- _context14.next = 39;
12080
+ case 35:
12081
+ _context14.next = 40;
12080
12082
  break;
12081
12083
 
12082
- case 36:
12083
- _context14.prev = 36;
12084
- _context14.t1 = _context14["catch"](14);
12084
+ case 37:
12085
+ _context14.prev = 37;
12086
+ _context14.t1 = _context14["catch"](15);
12085
12087
  _iterator.e(_context14.t1);
12086
12088
 
12087
- case 39:
12088
- _context14.prev = 39;
12089
+ case 40:
12090
+ _context14.prev = 40;
12089
12091
  _iterator.f();
12090
- return _context14.finish(39);
12092
+ return _context14.finish(40);
12091
12093
 
12092
- case 42:
12094
+ case 43:
12093
12095
  ADDRS = Object.keys(ADDRESS_MAP);
12094
12096
  _iterator2 = _createForOfIteratorHelper(CHAINS);
12095
- _context14.prev = 44;
12097
+ _context14.prev = 45;
12096
12098
  _loop = _regeneratorRuntime().mark((function _loop() {
12097
12099
  var chain, chainId, i, slice, action, url, _data, startBlock, endBlock, _loop2, _ret2, _i14, _ADDRS;
12098
12100
  return _regeneratorRuntime().wrap((function _loop$(_context12) {
@@ -12243,54 +12245,54 @@ function _typeof(o) {
12243
12245
  }));
12244
12246
  _iterator2.s();
12245
12247
 
12246
- case 47:
12248
+ case 48:
12247
12249
  if ((_step2 = _iterator2.n()).done) {
12248
- _context14.next = 56;
12250
+ _context14.next = 57;
12249
12251
  break;
12250
12252
  }
12251
- return _context14.delegateYield(_loop(), "t2", 49);
12253
+ return _context14.delegateYield(_loop(), "t2", 50);
12252
12254
 
12253
- case 49:
12255
+ case 50:
12254
12256
  _ret = _context14.t2;
12255
12257
  if (!(_ret === 0)) {
12256
- _context14.next = 52;
12258
+ _context14.next = 53;
12257
12259
  break;
12258
12260
  }
12259
- return _context14.abrupt("continue", 54);
12261
+ return _context14.abrupt("continue", 55);
12260
12262
 
12261
- case 52:
12263
+ case 53:
12262
12264
  if (!_ret) {
12263
- _context14.next = 54;
12265
+ _context14.next = 55;
12264
12266
  break;
12265
12267
  }
12266
12268
  return _context14.abrupt("return", _ret.v);
12267
12269
 
12268
- case 54:
12269
- _context14.next = 47;
12270
+ case 55:
12271
+ _context14.next = 48;
12270
12272
  break;
12271
12273
 
12272
- case 56:
12273
- _context14.next = 61;
12274
+ case 57:
12275
+ _context14.next = 62;
12274
12276
  break;
12275
12277
 
12276
- case 58:
12277
- _context14.prev = 58;
12278
- _context14.t3 = _context14["catch"](44);
12278
+ case 59:
12279
+ _context14.prev = 59;
12280
+ _context14.t3 = _context14["catch"](45);
12279
12281
  _iterator2.e(_context14.t3);
12280
12282
 
12281
- case 61:
12282
- _context14.prev = 61;
12283
+ case 62:
12284
+ _context14.prev = 62;
12283
12285
  _iterator2.f();
12284
- return _context14.finish(61);
12286
+ return _context14.finish(62);
12285
12287
 
12286
- case 64:
12288
+ case 65:
12287
12289
  return _context14.abrupt("return", out);
12288
12290
 
12289
- case 65:
12291
+ case 66:
12290
12292
  case "end":
12291
12293
  return _context14.stop();
12292
12294
  }
12293
- }), _callee12, null, [ [ 14, 36, 39, 42 ], [ 22, 29 ], [ 44, 58, 61, 64 ] ]);
12295
+ }), _callee12, null, [ [ 15, 37, 40, 43 ], [ 23, 30 ], [ 45, 59, 62, 65 ] ]);
12294
12296
  })));
12295
12297
  return _EOA.apply(this, arguments);
12296
12298
  }