@fileverse-dev/formulajs 4.4.44-a → 4.4.45
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.
|
|
1
|
+
/* @fileverse-dev/formulajs v4.4.45 */
|
|
2
2
|
var _excluded = [ "confirmations", "dataDecoded" ];
|
|
3
3
|
|
|
4
4
|
function _objectWithoutProperties(e, t) {
|
|
@@ -16481,7 +16481,6 @@ function _typeof(o) {
|
|
|
16481
16481
|
graphType: enumType([ "v2", "v2-raw" ]),
|
|
16482
16482
|
category: enumType([ "tokens", "markets" ]),
|
|
16483
16483
|
param1: stringType().nonempty(),
|
|
16484
|
-
param2: stringType().optional(),
|
|
16485
16484
|
columnName: stringType().optional()
|
|
16486
16485
|
});
|
|
16487
16486
|
function AAVE() {
|
|
@@ -16489,23 +16488,22 @@ function _typeof(o) {
|
|
|
16489
16488
|
}
|
|
16490
16489
|
function _AAVE() {
|
|
16491
16490
|
_AAVE = _asyncToGenerator(_regenerator().m(function _callee42() {
|
|
16492
|
-
var _argsToArray3, _argsToArray4, graphType, category, param1,
|
|
16491
|
+
var _argsToArray3, _argsToArray4, graphType, category, param1, columnName, baseUrl, url, res, _json, filterColumnName, _data5, _args43 = arguments, _t1;
|
|
16493
16492
|
return _regenerator().w(function(_context43) {
|
|
16494
16493
|
while (1) switch (_context43.p = _context43.n) {
|
|
16495
16494
|
case 0:
|
|
16496
16495
|
_context43.p = 0;
|
|
16497
|
-
_argsToArray3 = argsToArray(_args43), _argsToArray4 = _slicedToArray(_argsToArray3,
|
|
16496
|
+
_argsToArray3 = argsToArray(_args43), _argsToArray4 = _slicedToArray(_argsToArray3, 4),
|
|
16498
16497
|
graphType = _argsToArray4[0], category = _argsToArray4[1], param1 = _argsToArray4[2],
|
|
16499
|
-
|
|
16498
|
+
columnName = _argsToArray4[3];
|
|
16500
16499
|
validateParams(aaveParamsSchema, {
|
|
16501
16500
|
graphType: graphType,
|
|
16502
16501
|
category: category,
|
|
16503
16502
|
param1: param1,
|
|
16504
|
-
param2: param2,
|
|
16505
16503
|
columnName: columnName
|
|
16506
16504
|
});
|
|
16507
16505
|
baseUrl = "https://onchain-proxy.fileverse.io/third-party";
|
|
16508
|
-
url = "".concat(baseUrl) + "?service=aave" + "&graphType=".concat(encodeURIComponent(graphType)) + "&category=".concat(encodeURIComponent(category)) + "&input1=".concat(encodeURIComponent(param1))
|
|
16506
|
+
url = "".concat(baseUrl) + "?service=aave" + "&graphType=".concat(encodeURIComponent(graphType)) + "&category=".concat(encodeURIComponent(category)) + "&input1=".concat(encodeURIComponent(param1));
|
|
16509
16507
|
_context43.n = 1;
|
|
16510
16508
|
return fetch(url);
|
|
16511
16509
|
|