@fileverse-dev/formulajs 4.4.31-circles-patch-3 → 4.4.31-circles-patch-5

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.31-circles-patch-3 */
1
+ /* @fileverse-dev/formulajs v4.4.31-circles-patch-5 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -28980,8 +28980,8 @@ function _typeof(o) {
28980
28980
  } ]);
28981
28981
  }();
28982
28982
  var circlesParamsSchema = objectType({
28983
- address: stringType().nonempty(),
28984
28983
  functionName: enumType([ "trust", "profile", "transactions", "balances" ]),
28984
+ address: stringType().nonempty(),
28985
28985
  entries: numberType()["int"]().nonnegative()["default"](10)
28986
28986
  });
28987
28987
  function CIRCLES() {
@@ -28989,16 +28989,16 @@ function _typeof(o) {
28989
28989
  }
28990
28990
  function _CIRCLES() {
28991
28991
  _CIRCLES = _asyncToGenerator(_regenerator().m(function _callee68() {
28992
- var _argsToArray39, _argsToArray40, address, functionName, entries, resolved, dataClient, limit, runOnePage, res, flat, balance, _args73 = arguments, _t39, _t40;
28992
+ var _argsToArray39, _argsToArray40, functionName, address, entries, resolved, dataClient, limit, runOnePage, res, balance, _args73 = arguments, _t39, _t40;
28993
28993
  return _regenerator().w(function(_context73) {
28994
28994
  while (1) switch (_context73.p = _context73.n) {
28995
28995
  case 0:
28996
28996
  _context73.p = 0;
28997
28997
  _argsToArray39 = argsToArray(_args73), _argsToArray40 = _slicedToArray(_argsToArray39, 3),
28998
- address = _argsToArray40[0], functionName = _argsToArray40[1], entries = _argsToArray40[2];
28998
+ functionName = _argsToArray40[0], address = _argsToArray40[1], entries = _argsToArray40[2];
28999
28999
  validateParams(circlesParamsSchema, {
29000
- address: address,
29001
29000
  functionName: functionName,
29001
+ address: address,
29002
29002
  entries: entries
29003
29003
  });
29004
29004
  _context73.n = 1;
@@ -29063,8 +29063,7 @@ function _typeof(o) {
29063
29063
 
29064
29064
  case 7:
29065
29065
  res = _context73.v;
29066
- flat = flattenObject(res);
29067
- return _context73.a(2, flat);
29066
+ return _context73.a(2, [ res ]);
29068
29067
 
29069
29068
  case 8:
29070
29069
  _context73.n = 9;