wao 0.18.1 → 0.18.3
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-loader.js +10 -10
- package/cjs/ao.js +8 -9
- package/esm/ao-loader.js +804 -804
- package/esm/ao.js +0 -1
- package/package.json +1 -1
package/cjs/ao.js
CHANGED
|
@@ -591,8 +591,7 @@ var AO = /*#__PURE__*/function () {
|
|
|
591
591
|
if (auth) tags.Authority = auth;
|
|
592
592
|
if (!tags.Authority && this.authority) tags.Authority = this.authority;
|
|
593
593
|
_tags = (0, _utils.buildTags)(null, tags);
|
|
594
|
-
|
|
595
|
-
_context8.next = 18;
|
|
594
|
+
_context8.next = 17;
|
|
596
595
|
return this.spawn({
|
|
597
596
|
variant: this.variant,
|
|
598
597
|
memory: memory,
|
|
@@ -602,26 +601,26 @@ var AO = /*#__PURE__*/function () {
|
|
|
602
601
|
tags: _tags,
|
|
603
602
|
data: (0, _utils.jsonToStr)(data)
|
|
604
603
|
});
|
|
605
|
-
case
|
|
604
|
+
case 17:
|
|
606
605
|
pid = _context8.sent;
|
|
607
|
-
_context8.next =
|
|
606
|
+
_context8.next = 23;
|
|
608
607
|
break;
|
|
609
|
-
case
|
|
610
|
-
_context8.prev =
|
|
608
|
+
case 20:
|
|
609
|
+
_context8.prev = 20;
|
|
611
610
|
_context8.t0 = _context8["catch"](10);
|
|
612
611
|
err = _context8.t0;
|
|
613
|
-
case
|
|
612
|
+
case 23:
|
|
614
613
|
p = pid ? this.p(pid) : null;
|
|
615
614
|
return _context8.abrupt("return", {
|
|
616
615
|
err: err,
|
|
617
616
|
pid: pid,
|
|
618
617
|
p: p
|
|
619
618
|
});
|
|
620
|
-
case
|
|
619
|
+
case 25:
|
|
621
620
|
case "end":
|
|
622
621
|
return _context8.stop();
|
|
623
622
|
}
|
|
624
|
-
}, _callee8, this, [[10,
|
|
623
|
+
}, _callee8, this, [[10, 20]]);
|
|
625
624
|
}));
|
|
626
625
|
function spwn() {
|
|
627
626
|
return _spwn.apply(this, arguments);
|