@fileverse-dev/formulajs 4.4.11-mod-37 → 4.4.11-mod-38-patch-1

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-37 */
1
+ /* @fileverse-dev/formulajs v4.4.11-mod-38-patch-1 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -115,10 +115,6 @@ function _createForOfIteratorHelper(r, e) {
115
115
  };
116
116
  }
117
117
 
118
- function _readOnlyError(r) {
119
- throw new TypeError('"' + r + '" is read-only');
120
- }
121
-
122
118
  function _regeneratorRuntime() {
123
119
  "use strict";
124
120
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() {
@@ -11331,7 +11327,7 @@ function _typeof(o) {
11331
11327
  while (1) switch (_context5.prev = _context5.next) {
11332
11328
  case 0:
11333
11329
  if (!chain) {
11334
- "ethereum", _readOnlyError("chain");
11330
+ chain = "ethereum";
11335
11331
  }
11336
11332
  if (type) {
11337
11333
  _context5.next = 3;
@@ -11345,14 +11341,14 @@ function _typeof(o) {
11345
11341
  endTimestamp = _argsToArray6[4], page = _argsToArray6[5], offset = _argsToArray6[6];
11346
11342
  if (!startTimestamp) {
11347
11343
  currentTimestamp = Date.now();
11348
- currentTimestamp - 30 * 24 * 60 * 60 * 1e3, _readOnlyError("startTimestamp");
11349
- Math.floor(startTimestamp / 1e3), _readOnlyError("startTimestamp");
11344
+ startTimestamp = currentTimestamp - 30 * 24 * 60 * 60 * 1e3;
11345
+ startTimestamp = Math.floor(startTimestamp / 1e3);
11350
11346
  }
11351
11347
  if (isNaN(startTimestamp)) {
11352
- toTimestamp(startTimestamp), _readOnlyError("startTimestamp");
11348
+ startTimestamp = toTimestamp(startTimestamp);
11353
11349
  }
11354
11350
  if (isNaN(endTimestamp) && endTimestamp) {
11355
- toTimestamp(endTimestamp), _readOnlyError("endTimestamp");
11351
+ endTimestamp = toTimestamp(endTimestamp);
11356
11352
  }
11357
11353
  if (isAddress(address)) {
11358
11354
  _context5.next = 11;
@@ -11362,7 +11358,7 @@ function _typeof(o) {
11362
11358
  return fromEnsNameToAddress(address);
11363
11359
 
11364
11360
  case 10:
11365
- _readOnlyError("address");
11361
+ address = _context5.sent;
11366
11362
 
11367
11363
  case 11:
11368
11364
  if (address) {
@@ -12336,7 +12332,7 @@ function _typeof(o) {
12336
12332
  return fromEnsNameToAddress(address);
12337
12333
 
12338
12334
  case 16:
12339
- _readOnlyError("address");
12335
+ address = _context15.sent;
12340
12336
 
12341
12337
  case 17:
12342
12338
  if (address) {