@fileverse-dev/formulajs 4.4.42-yield → 4.4.42
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.42
|
|
1
|
+
/* @fileverse-dev/formulajs v4.4.42 */
|
|
2
2
|
var _excluded = [ "confirmations", "dataDecoded" ];
|
|
3
3
|
|
|
4
4
|
function _objectWithoutProperties(e, t) {
|
|
@@ -19269,27 +19269,25 @@ function _typeof(o) {
|
|
|
19269
19269
|
return _WALLET.apply(this, arguments);
|
|
19270
19270
|
}
|
|
19271
19271
|
var yieldParamsSchema = objectType({
|
|
19272
|
-
category: enumType([ "all", "stablecoins" ])
|
|
19273
|
-
columnName: stringType().optional()
|
|
19272
|
+
category: enumType([ "all", "stablecoins" ])
|
|
19274
19273
|
});
|
|
19275
19274
|
function YIELD() {
|
|
19276
19275
|
return _YIELD.apply(this, arguments);
|
|
19277
19276
|
}
|
|
19278
19277
|
function _YIELD() {
|
|
19279
19278
|
_YIELD = _asyncToGenerator(_regenerator().m(function _callee65() {
|
|
19280
|
-
var _argsToArray37, _argsToArray38, category,
|
|
19279
|
+
var _argsToArray37, _argsToArray38, category, response, result, _args70 = arguments, _t37;
|
|
19281
19280
|
return _regenerator().w(function(_context70) {
|
|
19282
19281
|
while (1) switch (_context70.p = _context70.n) {
|
|
19283
19282
|
case 0:
|
|
19284
19283
|
_context70.p = 0;
|
|
19285
|
-
_argsToArray37 = argsToArray(_args70), _argsToArray38 = _slicedToArray(_argsToArray37,
|
|
19286
|
-
category = _argsToArray38[0]
|
|
19284
|
+
_argsToArray37 = argsToArray(_args70), _argsToArray38 = _slicedToArray(_argsToArray37, 1),
|
|
19285
|
+
category = _argsToArray38[0];
|
|
19287
19286
|
validateParams(yieldParamsSchema, {
|
|
19288
|
-
category: category
|
|
19289
|
-
columnName: columnName
|
|
19287
|
+
category: category
|
|
19290
19288
|
});
|
|
19291
19289
|
_context70.n = 1;
|
|
19292
|
-
return DEFILLAMA("yields"
|
|
19290
|
+
return DEFILLAMA("yields");
|
|
19293
19291
|
|
|
19294
19292
|
case 1:
|
|
19295
19293
|
response = _context70.v;
|