@puzzlehq/aleo-wasm-web 0.9.13 → 0.9.15
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/dist/mainnet/aleo_wasm.wasm +0 -0
- package/dist/mainnet/index.js +178 -178
- package/dist/mainnet/index.js.map +1 -1
- package/dist/mainnet/worker.js +3422 -9351
- package/dist/mainnet/worker.js.map +1 -1
- package/dist/testnet/aleo_wasm.wasm +0 -0
- package/dist/testnet/index.js +10 -10
- package/dist/testnet/index.js.map +1 -1
- package/dist/testnet/worker.js +13 -11
- package/dist/testnet/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/testnet/worker.js
CHANGED
|
@@ -12791,7 +12791,7 @@ function __wbg_get_imports(memory) {
|
|
|
12791
12791
|
const ret = getObject(arg0).length;
|
|
12792
12792
|
return ret;
|
|
12793
12793
|
},
|
|
12794
|
-
|
|
12794
|
+
__wbg_log_0abfb47eeb8fef6e: function(arg0, arg1) {
|
|
12795
12795
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
12796
12796
|
},
|
|
12797
12797
|
__wbg_msCrypto_d562bbe83e0d4b91: function(arg0) {
|
|
@@ -12833,7 +12833,7 @@ function __wbg_get_imports(memory) {
|
|
|
12833
12833
|
const a = state0.a;
|
|
12834
12834
|
state0.a = 0;
|
|
12835
12835
|
try {
|
|
12836
|
-
return
|
|
12836
|
+
return __wasm_bindgen_func_elem_6948(a, state0.b, arg0, arg1);
|
|
12837
12837
|
} finally {
|
|
12838
12838
|
state0.a = a;
|
|
12839
12839
|
}
|
|
@@ -13003,7 +13003,7 @@ function __wbg_get_imports(memory) {
|
|
|
13003
13003
|
const ret = Signature.__wrap(arg0);
|
|
13004
13004
|
return addHeapObject(ret);
|
|
13005
13005
|
},
|
|
13006
|
-
|
|
13006
|
+
__wbg_spawnWorker_c15d64587eb95ecb: function(arg0, arg1, arg2, arg3) {
|
|
13007
13007
|
const ret = spawnWorker(getObject(arg0), getObject(arg1), getObject(arg2), arg3 >>> 0);
|
|
13008
13008
|
return addHeapObject(ret);
|
|
13009
13009
|
},
|
|
@@ -13095,17 +13095,17 @@ function __wbg_get_imports(memory) {
|
|
|
13095
13095
|
},
|
|
13096
13096
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
13097
13097
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 431, function: Function { arguments: [Externref], shim_idx: 432, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13098
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
13098
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7406, __wasm_bindgen_func_elem_8089);
|
|
13099
13099
|
return addHeapObject(ret);
|
|
13100
13100
|
},
|
|
13101
13101
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
13102
13102
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 431, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 432, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13103
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
13103
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7406, __wasm_bindgen_func_elem_8089);
|
|
13104
13104
|
return addHeapObject(ret);
|
|
13105
13105
|
},
|
|
13106
13106
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
13107
13107
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 431, function: Function { arguments: [], shim_idx: 545, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13108
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
13108
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7406, __wasm_bindgen_func_elem_7407);
|
|
13109
13109
|
return addHeapObject(ret);
|
|
13110
13110
|
},
|
|
13111
13111
|
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
@@ -13172,16 +13172,16 @@ function __wbg_get_imports(memory) {
|
|
|
13172
13172
|
};
|
|
13173
13173
|
}
|
|
13174
13174
|
|
|
13175
|
-
function
|
|
13176
|
-
wasm.
|
|
13175
|
+
function __wasm_bindgen_func_elem_7407(arg0, arg1) {
|
|
13176
|
+
wasm.__wasm_bindgen_func_elem_7407(arg0, arg1);
|
|
13177
13177
|
}
|
|
13178
13178
|
|
|
13179
13179
|
function __wasm_bindgen_func_elem_8089(arg0, arg1, arg2) {
|
|
13180
13180
|
wasm.__wasm_bindgen_func_elem_8089(arg0, arg1, addHeapObject(arg2));
|
|
13181
13181
|
}
|
|
13182
13182
|
|
|
13183
|
-
function
|
|
13184
|
-
wasm.
|
|
13183
|
+
function __wasm_bindgen_func_elem_6948(arg0, arg1, arg2, arg3) {
|
|
13184
|
+
wasm.__wasm_bindgen_func_elem_6948(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
13185
13185
|
}
|
|
13186
13186
|
|
|
13187
13187
|
|
|
@@ -13699,7 +13699,7 @@ var exports = /*#__PURE__*/Object.freeze({
|
|
|
13699
13699
|
|
|
13700
13700
|
new URL("aleo_wasm.wasm", import.meta.url);
|
|
13701
13701
|
|
|
13702
|
-
async function init(options) {
|
|
13702
|
+
async function init$1(options) {
|
|
13703
13703
|
await __wbg_init({
|
|
13704
13704
|
module_or_path: await options.module,
|
|
13705
13705
|
memory: options.memory,
|
|
@@ -13707,6 +13707,8 @@ new URL("aleo_wasm.wasm", import.meta.url);
|
|
|
13707
13707
|
return exports;
|
|
13708
13708
|
}
|
|
13709
13709
|
|
|
13710
|
+
const init = init$1 ?? undefined;
|
|
13711
|
+
|
|
13710
13712
|
async function initializeWorker() {
|
|
13711
13713
|
// Wait for the main thread to send us the Module, Memory, and Rayon thread pointer.
|
|
13712
13714
|
function waitForEvent() {
|