@fileverse-dev/formulajs 4.4.11-mod-87 → 4.4.11-mod-89
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 +36 -16
- package/lib/browser/formula.min.js +2 -2
- package/lib/browser/formula.min.js.map +1 -1
- package/lib/cjs/index.cjs +7 -3
- package/lib/esm/crypto-constants.mjs +4 -4
- package/lib/esm/index.mjs +7 -3
- package/package.json +1 -1
- package/types/cjs/index.d.cts +1 -22
- package/types/esm/index.d.mts +1 -22
package/lib/browser/formula.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @fileverse-dev/formulajs v4.4.11-mod-
|
|
1
|
+
/* @fileverse-dev/formulajs v4.4.11-mod-89 */
|
|
2
2
|
var _excluded = [ "confirmations", "dataDecoded" ];
|
|
3
3
|
|
|
4
4
|
function _objectWithoutProperties(e, t) {
|
|
@@ -18245,25 +18245,45 @@ function _typeof(o) {
|
|
|
18245
18245
|
return _UNISWAP.apply(this, arguments);
|
|
18246
18246
|
}
|
|
18247
18247
|
function SMARTCONTRACT() {
|
|
18248
|
-
|
|
18249
|
-
|
|
18250
|
-
|
|
18251
|
-
|
|
18252
|
-
|
|
18253
|
-
|
|
18254
|
-
|
|
18255
|
-
|
|
18256
|
-
|
|
18248
|
+
return _SMARTCONTRACT.apply(this, arguments);
|
|
18249
|
+
}
|
|
18250
|
+
function _SMARTCONTRACT() {
|
|
18251
|
+
_SMARTCONTRACT = _asyncToGenerator(_regeneratorRuntime().mark((function _callee27() {
|
|
18252
|
+
var args, _args30 = arguments;
|
|
18253
|
+
return _regeneratorRuntime().wrap((function _callee27$(_context30) {
|
|
18254
|
+
while (1) switch (_context30.prev = _context30.next) {
|
|
18255
|
+
case 0:
|
|
18256
|
+
_context30.prev = 0;
|
|
18257
|
+
args = argsToArray(_args30);
|
|
18258
|
+
return _context30.abrupt("return", new Promise((function(resolve) {
|
|
18259
|
+
resolve({
|
|
18260
|
+
callSignature: args,
|
|
18261
|
+
responseType: "smart-contract"
|
|
18262
|
+
});
|
|
18263
|
+
})));
|
|
18264
|
+
|
|
18265
|
+
case 5:
|
|
18266
|
+
_context30.prev = 5;
|
|
18267
|
+
_context30.t0 = _context30["catch"](0);
|
|
18268
|
+
return _context30.abrupt("return", errorMessageHandler(_context30.t0, "SMARTCONTRACT"));
|
|
18269
|
+
|
|
18270
|
+
case 8:
|
|
18271
|
+
case "end":
|
|
18272
|
+
return _context30.stop();
|
|
18273
|
+
}
|
|
18274
|
+
}), _callee27, null, [ [ 0, 5 ] ]);
|
|
18275
|
+
})));
|
|
18276
|
+
return _SMARTCONTRACT.apply(this, arguments);
|
|
18257
18277
|
}
|
|
18258
18278
|
function FLVURL() {
|
|
18259
18279
|
return _FLVURL.apply(this, arguments);
|
|
18260
18280
|
}
|
|
18261
18281
|
function _FLVURL() {
|
|
18262
|
-
_FLVURL = _asyncToGenerator(_regeneratorRuntime().mark((function
|
|
18263
|
-
return _regeneratorRuntime().wrap((function
|
|
18264
|
-
while (1) switch (
|
|
18282
|
+
_FLVURL = _asyncToGenerator(_regeneratorRuntime().mark((function _callee28() {
|
|
18283
|
+
return _regeneratorRuntime().wrap((function _callee28$(_context31) {
|
|
18284
|
+
while (1) switch (_context31.prev = _context31.next) {
|
|
18265
18285
|
case 0:
|
|
18266
|
-
return
|
|
18286
|
+
return _context31.abrupt("return", new Promise((function(resolve) {
|
|
18267
18287
|
setTimeout((function() {
|
|
18268
18288
|
resolve([ {
|
|
18269
18289
|
Yoo: "gotcha"
|
|
@@ -18273,9 +18293,9 @@ function _typeof(o) {
|
|
|
18273
18293
|
|
|
18274
18294
|
case 1:
|
|
18275
18295
|
case "end":
|
|
18276
|
-
return
|
|
18296
|
+
return _context31.stop();
|
|
18277
18297
|
}
|
|
18278
|
-
}),
|
|
18298
|
+
}), _callee28);
|
|
18279
18299
|
})));
|
|
18280
18300
|
return _FLVURL.apply(this, arguments);
|
|
18281
18301
|
}
|