@fileverse-dev/formulajs 4.4.21-price-and-wallet-9 → 4.4.23

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.21-price-and-wallet-9 */
1
+ /* @fileverse-dev/formulajs v4.4.23 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -19098,14 +19098,14 @@ function _typeof(o) {
19098
19098
  _context36.prev = 0;
19099
19099
  _argsToArray33 = argsToArray(_args36), _argsToArray34 = _slicedToArray(_argsToArray33, 3),
19100
19100
  input1 = _argsToArray34[0], input2 = _argsToArray34[1], input3 = _argsToArray34[2];
19101
+ input1 = (_input = input1) === null || _input === void 0 ? void 0 : _input.replace(/\s+/g, "");
19102
+ input2 = (_input2 = input2) === null || _input2 === void 0 ? void 0 : _input2.replace(/\s+/g, "");
19103
+ input3 = (_input3 = input3) === null || _input3 === void 0 ? void 0 : _input3.replace(/\s+/g, "");
19101
19104
  validateParams(priceSchema, {
19102
19105
  input1: input1,
19103
19106
  input2: input2,
19104
19107
  input3: input3
19105
19108
  });
19106
- input1 = (_input = input1) === null || _input === void 0 ? void 0 : _input.replace(/\s+/g, "");
19107
- input2 = (_input2 = input2) === null || _input2 === void 0 ? void 0 : _input2.replace(/\s+/g, "");
19108
- input3 = (_input3 = input3) === null || _input3 === void 0 ? void 0 : _input3.replace(/\s+/g, "");
19109
19109
  baseUrl = window.useLocal ? "http://localhost:3000" : "https://onchain-proxy.fileverse.io";
19110
19110
  url = "".concat(baseUrl) + "/third-party?service=price";
19111
19111
  returnSingleValue = false;
@@ -19250,7 +19250,7 @@ function _typeof(o) {
19250
19250
  }
19251
19251
  function _WALLET() {
19252
19252
  _WALLET = _asyncToGenerator(_regeneratorRuntime().mark((function _callee33() {
19253
- var _addresses, _chains, _time, _argsToArray35, _argsToArray36, addresses, chains, query, time, baseUrl, resolvedAddresses, url, res, errorData, json, _args37 = arguments;
19253
+ var _addresses, _chains, _chains2, _argsToArray35, _argsToArray36, addresses, chains, query, time, baseUrl, resolvedAddresses, url, res, errorData, json, _args37 = arguments;
19254
19254
  return _regeneratorRuntime().wrap((function _callee33$(_context37) {
19255
19255
  while (1) switch (_context37.prev = _context37.next) {
19256
19256
  case 0:
@@ -19266,8 +19266,8 @@ function _typeof(o) {
19266
19266
  });
19267
19267
  addresses = (_addresses = addresses) === null || _addresses === void 0 ? void 0 : _addresses.replace(/\s+/g, "");
19268
19268
  chains = (_chains = chains) === null || _chains === void 0 ? void 0 : _chains.replace(/\s+/g, "");
19269
- time = (_time = time) === null || _time === void 0 ? void 0 : _time.replace(/\s+/g, "");
19270
- baseUrl = window.useLocal ? "http://localhost:3000" : "https://onchain-proxy.fileverse.io";
19269
+ time = (_chains2 = chains) === null || _chains2 === void 0 ? void 0 : _chains2.replace(/\s+/g, "");
19270
+ baseUrl = "https://onchain-proxy.fileverse.io";
19271
19271
  _context37.next = 9;
19272
19272
  return getResolvedAddresses(addresses);
19273
19273