wao 0.7.1 → 0.8.0

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/cjs/ao.js CHANGED
@@ -525,6 +525,7 @@ var AO = /*#__PURE__*/function () {
525
525
  module,
526
526
  _ref11$scheduler,
527
527
  scheduler,
528
+ memory,
528
529
  jwk,
529
530
  _ref11$tags,
530
531
  tags,
@@ -534,11 +535,12 @@ var AO = /*#__PURE__*/function () {
534
535
  _yield$this$ar$checkW,
535
536
  pid,
536
537
  _tags,
538
+ p,
537
539
  _args8 = arguments;
538
540
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
539
541
  while (1) switch (_context8.prev = _context8.next) {
540
542
  case 0:
541
- _ref11 = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {}, boot = _ref11.boot, _ref11$module = _ref11.module, module = _ref11$module === void 0 ? this.module : _ref11$module, _ref11$scheduler = _ref11.scheduler, scheduler = _ref11$scheduler === void 0 ? this.scheduler : _ref11$scheduler, jwk = _ref11.jwk, _ref11$tags = _ref11.tags, tags = _ref11$tags === void 0 ? {} : _ref11$tags, data = _ref11.data, auth = _ref11.auth;
543
+ _ref11 = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {}, boot = _ref11.boot, _ref11$module = _ref11.module, module = _ref11$module === void 0 ? this.module : _ref11$module, _ref11$scheduler = _ref11.scheduler, scheduler = _ref11$scheduler === void 0 ? this.scheduler : _ref11$scheduler, memory = _ref11.memory, jwk = _ref11.jwk, _ref11$tags = _ref11.tags, tags = _ref11$tags === void 0 ? {} : _ref11$tags, data = _ref11.data, auth = _ref11.auth;
542
544
  err = null;
543
545
  _context8.next = 4;
544
546
  return this.ar.checkWallet({
@@ -564,6 +566,7 @@ var AO = /*#__PURE__*/function () {
564
566
  _tags = (0, _utils.buildTags)(null, tags);
565
567
  _context8.next = 17;
566
568
  return this.spawn({
569
+ memory: memory,
567
570
  module: module,
568
571
  scheduler: scheduler,
569
572
  signer: this.toSigner(jwk),
@@ -580,11 +583,13 @@ var AO = /*#__PURE__*/function () {
580
583
  console.log(_context8.t0);
581
584
  err = _context8.t0;
582
585
  case 24:
586
+ p = pid ? this.p(pid) : null;
583
587
  return _context8.abrupt("return", {
584
588
  err: err,
585
- pid: pid
589
+ pid: pid,
590
+ p: p
586
591
  });
587
- case 25:
592
+ case 26:
588
593
  case "end":
589
594
  return _context8.stop();
590
595
  }