@fileverse-dev/formulajs 4.4.21-price-and-wallet-7 → 4.4.21-price-and-wallet-9
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.
package/lib/browser/formula.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @fileverse-dev/formulajs v4.4.21-price-and-wallet-
|
|
1
|
+
/* @fileverse-dev/formulajs v4.4.21-price-and-wallet-9 */
|
|
2
2
|
var _excluded = [ "confirmations", "dataDecoded" ];
|
|
3
3
|
|
|
4
4
|
function _objectWithoutProperties(e, t) {
|
|
@@ -19091,7 +19091,7 @@ function _typeof(o) {
|
|
|
19091
19091
|
}
|
|
19092
19092
|
function _PRICE() {
|
|
19093
19093
|
_PRICE = _asyncToGenerator(_regeneratorRuntime().mark((function _callee32() {
|
|
19094
|
-
var _argsToArray33, _argsToArray34, input1, input2, input3, baseUrl, url, returnSingleValue, tokenAddress, coin, res, errorData, _data9, _args36 = arguments;
|
|
19094
|
+
var _input, _input2, _input3, _argsToArray33, _argsToArray34, input1, input2, input3, baseUrl, url, returnSingleValue, tokenAddress, coin, res, errorData, _data9, _args36 = arguments;
|
|
19095
19095
|
return _regeneratorRuntime().wrap((function _callee32$(_context36) {
|
|
19096
19096
|
while (1) switch (_context36.prev = _context36.next) {
|
|
19097
19097
|
case 0:
|
|
@@ -19103,9 +19103,9 @@ function _typeof(o) {
|
|
|
19103
19103
|
input2: input2,
|
|
19104
19104
|
input3: input3
|
|
19105
19105
|
});
|
|
19106
|
-
input1 = input1.replace(/\s+/g, "");
|
|
19107
|
-
input2 = input2.replace(/\s+/g, "");
|
|
19108
|
-
input3 = input3.replace(/\s+/g, "");
|
|
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 _argsToArray35, _argsToArray36, addresses, chains, query, time, baseUrl, resolvedAddresses, url, res, errorData, json, _args37 = arguments;
|
|
19253
|
+
var _addresses, _chains, _time, _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:
|
|
@@ -19264,9 +19264,9 @@ function _typeof(o) {
|
|
|
19264
19264
|
query: query,
|
|
19265
19265
|
time: time
|
|
19266
19266
|
});
|
|
19267
|
-
addresses = addresses.replace(/\s+/g, "");
|
|
19268
|
-
chains = chains.replace(/\s+/g, "");
|
|
19269
|
-
time =
|
|
19267
|
+
addresses = (_addresses = addresses) === null || _addresses === void 0 ? void 0 : _addresses.replace(/\s+/g, "");
|
|
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
19270
|
baseUrl = window.useLocal ? "http://localhost:3000" : "https://onchain-proxy.fileverse.io";
|
|
19271
19271
|
_context37.next = 9;
|
|
19272
19272
|
return getResolvedAddresses(addresses);
|