wao 0.8.5 → 0.9.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/accounts-web.js +155 -0
- package/cjs/ao-loader.js +156 -0
- package/cjs/ao.js +5 -4
- package/cjs/aoconnect-web.js +1325 -0
- package/cjs/aoconnect.js +0 -2
- package/cjs/armem-web.js +442 -0
- package/cjs/lua/lua/weavedb-lite.js +1 -0
- package/cjs/lua/weavedb-lite.js +1 -0
- package/cjs/wao.js +251 -0
- package/cjs/war.js +684 -0
- package/cjs/web.js +69 -0
- package/esm/accounts-web.js +114 -0
- package/esm/ao-loader.js +30660 -0
- package/esm/ao.js +7 -4
- package/esm/aoconnect-web.js +484 -0
- package/esm/aoconnect.js +0 -2
- package/esm/armem-web.js +174 -0
- package/esm/lua/weavedb-lite.js +1 -0
- package/esm/wao.js +128 -0
- package/esm/war.js +216 -0
- package/esm/web.js +11 -0
- package/package.json +6 -1
- /package/cjs/lua/{aos.wasm → lua/aos.wasm} +0 -0
- /package/cjs/lua/{aos1_x.wasm → lua/aos1_x.wasm} +0 -0
- /package/cjs/lua/{aos2_0_1.wasm → lua/aos2_0_1.wasm} +0 -0
- /package/cjs/lua/{apm.lua → lua/apm.lua} +0 -0
- /package/cjs/lua/{process.wasm → lua/process.wasm} +0 -0
- /package/cjs/lua/{sqlite.wasm → lua/sqlite.wasm} +0 -0
- /package/cjs/lua/{weavedb_mock.lua → lua/weavedb_mock.lua} +0 -0
- /package/cjs/lua/{weavedrive.lua → lua/weavedrive.lua} +0 -0
package/cjs/ao.js
CHANGED
|
@@ -34,7 +34,7 @@ var createData = pkg.createData,
|
|
|
34
34
|
function createDataItemSigner2(wallet) {
|
|
35
35
|
var signer = /*#__PURE__*/function () {
|
|
36
36
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref) {
|
|
37
|
-
var data, tags, target, anchor, signer, dataItem;
|
|
37
|
+
var data, tags, target, anchor, signer, dataItem, sig;
|
|
38
38
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
39
39
|
while (1) switch (_context2.prev = _context2.next) {
|
|
40
40
|
case 0:
|
|
@@ -45,7 +45,7 @@ function createDataItemSigner2(wallet) {
|
|
|
45
45
|
target: target,
|
|
46
46
|
anchor: anchor
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
sig = dataItem.sign(signer).then(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
49
49
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
50
50
|
while (1) switch (_context.prev = _context.next) {
|
|
51
51
|
case 0:
|
|
@@ -66,8 +66,9 @@ function createDataItemSigner2(wallet) {
|
|
|
66
66
|
return _context.stop();
|
|
67
67
|
}
|
|
68
68
|
}, _callee);
|
|
69
|
-
})))
|
|
70
|
-
|
|
69
|
+
})));
|
|
70
|
+
return _context2.abrupt("return", sig);
|
|
71
|
+
case 5:
|
|
71
72
|
case "end":
|
|
72
73
|
return _context2.stop();
|
|
73
74
|
}
|