@fileverse-dev/formulajs 4.4.13 → 4.4.15

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.13 */
1
+ /* @fileverse-dev/formulajs v4.4.15 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -16474,13 +16474,18 @@ function _typeof(o) {
16474
16474
  HEADERS: {
16475
16475
  "target-url": cleanedUrl,
16476
16476
  method: "GET",
16477
- "Content-Type": "application/json"
16477
+ "Content-Type": "application/json",
16478
+ "Cache-Control": "no-store",
16479
+ Pragma: "no-cache"
16478
16480
  }
16479
16481
  };
16480
16482
  }
16481
16483
  return {
16482
16484
  URL: url,
16483
- HEADERS: _objectSpread({}, headers)
16485
+ HEADERS: _objectSpread({
16486
+ "Cache-Control": "no-store",
16487
+ Pragma: "no-cache"
16488
+ }, headers)
16484
16489
  };
16485
16490
  }
16486
16491
  var fromTimeStampToBlock = function() {
@@ -17318,7 +17323,7 @@ function _typeof(o) {
17318
17323
  headers: headers
17319
17324
  }), finalUrl = _getUrlAndHeaders5.URL, HEADERS = _getUrlAndHeaders5.HEADERS;
17320
17325
  _context20.next = 26;
17321
- return fetch(finalUrl, {
17326
+ return fetch(finalUrl + "?refresh=true", {
17322
17327
  headers: HEADERS
17323
17328
  });
17324
17329
 
@@ -18459,11 +18464,11 @@ function _typeof(o) {
18459
18464
  })));
18460
18465
  return _getChainName.apply(this, arguments);
18461
18466
  }
18462
- function DUNESIM() {
18463
- return _DUNESIM.apply(this, arguments);
18467
+ function DUNE() {
18468
+ return _DUNE.apply(this, arguments);
18464
18469
  }
18465
- function _DUNESIM() {
18466
- _DUNESIM = _asyncToGenerator(_regeneratorRuntime().mark((function _callee30() {
18470
+ function _DUNE() {
18471
+ _DUNE = _asyncToGenerator(_regeneratorRuntime().mark((function _callee30() {
18467
18472
  var _ref26, _json$activity, _ref27, _json$holders, _ref28, _json$tokens, _argsToArray31, _argsToArray32, type, input1, input2, input3, input4, route, buildQuery, address, qs, chain, _qs, tokenAddress, _qs2, _chain, apiKey, url, _getUrlAndHeaders1, finalUrl, HEADERS, res, json, _data6, result, _final, globalDecimals, _iterator43, _step43, _loop4, _args34 = arguments;
18468
18473
  return _regeneratorRuntime().wrap((function _callee30$(_context34) {
18469
18474
  while (1) switch (_context34.prev = _context34.next) {
@@ -18558,6 +18563,9 @@ function _typeof(o) {
18558
18563
  if (item !== null && item !== void 0 && item.total_supply) {
18559
18564
  item.total_supply = formatNumber(item === null || item === void 0 ? void 0 : item.total_supply, item.decimals);
18560
18565
  }
18566
+ if (item !== null && item !== void 0 && item.fully_diluted_value) {
18567
+ item.fully_diluted_value = formatNumber(item === null || item === void 0 ? void 0 : item.fully_diluted_value, item.decimals);
18568
+ }
18561
18569
  }
18562
18570
  if (item !== null && item !== void 0 && item.first_acquired) {
18563
18571
  item.first_acquired = new Intl.DateTimeFormat("en-US", {
@@ -18682,7 +18690,7 @@ function _typeof(o) {
18682
18690
  case 46:
18683
18691
  _context34.prev = 46;
18684
18692
  _context34.t2 = _context34["catch"](0);
18685
- return _context34.abrupt("return", errorMessageHandler(_context34.t2, "DUNESIM"));
18693
+ return _context34.abrupt("return", errorMessageHandler(_context34.t2, "DUNE"));
18686
18694
 
18687
18695
  case 49:
18688
18696
  case "end":
@@ -18690,7 +18698,7 @@ function _typeof(o) {
18690
18698
  }
18691
18699
  }), _callee30, null, [ [ 0, 46 ], [ 28, 37, 40, 43 ] ]);
18692
18700
  })));
18693
- return _DUNESIM.apply(this, arguments);
18701
+ return _DUNE.apply(this, arguments);
18694
18702
  }
18695
18703
  function FLVURL() {
18696
18704
  return _FLVURL.apply(this, arguments);
@@ -18852,7 +18860,7 @@ function _typeof(o) {
18852
18860
  exports.DSTDEV = DSTDEV;
18853
18861
  exports.DSTDEVP = DSTDEVP;
18854
18862
  exports.DSUM = DSUM;
18855
- exports.DUNESIM = DUNESIM;
18863
+ exports.DUNE = DUNE;
18856
18864
  exports.DVAR = DVAR;
18857
18865
  exports.DVARP = DVARP;
18858
18866
  exports.EDATE = EDATE;