@provablehq/wasm 0.13.0 → 0.14.0-rc.1
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/README.md +59 -0
- package/dist/mainnet/aleo_wasm.wasm +0 -0
- package/dist/mainnet/index.cjs +18 -18
- package/dist/mainnet/index.cjs.map +1 -1
- package/dist/mainnet/index.js +18 -18
- package/dist/mainnet/index.js.map +1 -1
- package/dist/mainnet/worker.js +18 -18
- package/dist/mainnet/worker.js.map +1 -1
- package/dist/testnet/aleo_wasm.wasm +0 -0
- package/dist/testnet/index.cjs +18 -18
- package/dist/testnet/index.cjs.map +1 -1
- package/dist/testnet/index.js +18 -18
- package/dist/testnet/index.js.map +1 -1
- package/dist/testnet/worker.js +18 -18
- package/dist/testnet/worker.js.map +1 -1
- package/package.json +3 -1
package/dist/mainnet/index.js
CHANGED
|
@@ -18604,7 +18604,7 @@ function __wbg_get_imports(memory) {
|
|
|
18604
18604
|
const ret = getObject(arg0).length;
|
|
18605
18605
|
return ret;
|
|
18606
18606
|
},
|
|
18607
|
-
|
|
18607
|
+
__wbg_log_f37cd919e7e1109b: function(arg0, arg1) {
|
|
18608
18608
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
18609
18609
|
},
|
|
18610
18610
|
__wbg_new_1dbf7428bba60a42: function(arg0) {
|
|
@@ -18630,7 +18630,7 @@ function __wbg_get_imports(memory) {
|
|
|
18630
18630
|
const a = state0.a;
|
|
18631
18631
|
state0.a = 0;
|
|
18632
18632
|
try {
|
|
18633
|
-
return
|
|
18633
|
+
return __wasm_bindgen_func_elem_8267(a, state0.b, arg0, arg1);
|
|
18634
18634
|
} finally {
|
|
18635
18635
|
state0.a = a;
|
|
18636
18636
|
}
|
|
@@ -18668,7 +18668,7 @@ function __wbg_get_imports(memory) {
|
|
|
18668
18668
|
const a = state0.a;
|
|
18669
18669
|
state0.a = 0;
|
|
18670
18670
|
try {
|
|
18671
|
-
return
|
|
18671
|
+
return __wasm_bindgen_func_elem_8267(a, state0.b, arg0, arg1);
|
|
18672
18672
|
} finally {
|
|
18673
18673
|
state0.a = a;
|
|
18674
18674
|
}
|
|
@@ -18815,7 +18815,7 @@ function __wbg_get_imports(memory) {
|
|
|
18815
18815
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
18816
18816
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
18817
18817
|
},
|
|
18818
|
-
|
|
18818
|
+
__wbg_spawnWorker_94c0ee65f424ea90: function(arg0, arg1, arg2, arg3) {
|
|
18819
18819
|
const ret = spawnWorker(getObject(arg0), getObject(arg1), getObject(arg2), arg3 >>> 0);
|
|
18820
18820
|
return addHeapObject(ret);
|
|
18821
18821
|
},
|
|
@@ -18902,18 +18902,18 @@ function __wbg_get_imports(memory) {
|
|
|
18902
18902
|
return addHeapObject(ret);
|
|
18903
18903
|
},
|
|
18904
18904
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
18905
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
18906
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
18905
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 253, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
18906
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3039);
|
|
18907
18907
|
return addHeapObject(ret);
|
|
18908
18908
|
},
|
|
18909
18909
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
18910
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
18911
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
18910
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 532, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
18911
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_7957);
|
|
18912
18912
|
return addHeapObject(ret);
|
|
18913
18913
|
},
|
|
18914
18914
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
18915
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
18916
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
18915
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 335, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
18916
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_7891);
|
|
18917
18917
|
return addHeapObject(ret);
|
|
18918
18918
|
},
|
|
18919
18919
|
__wbindgen_generic_0000000000000004: function(arg0) {
|
|
@@ -18975,22 +18975,22 @@ function __wbg_get_imports(memory) {
|
|
|
18975
18975
|
};
|
|
18976
18976
|
}
|
|
18977
18977
|
|
|
18978
|
-
function
|
|
18979
|
-
wasm.
|
|
18978
|
+
function __wasm_bindgen_func_elem_7891(arg0, arg1) {
|
|
18979
|
+
wasm.__wasm_bindgen_func_elem_7891(arg0, arg1);
|
|
18980
18980
|
}
|
|
18981
18981
|
|
|
18982
|
-
function
|
|
18983
|
-
wasm.
|
|
18982
|
+
function __wasm_bindgen_func_elem_3039(arg0, arg1, arg2) {
|
|
18983
|
+
wasm.__wasm_bindgen_func_elem_3039(arg0, arg1, addHeapObject(arg2));
|
|
18984
18984
|
}
|
|
18985
18985
|
|
|
18986
|
-
function
|
|
18987
|
-
wasm.
|
|
18986
|
+
function __wasm_bindgen_func_elem_8267(arg0, arg1, arg2, arg3) {
|
|
18987
|
+
wasm.__wasm_bindgen_func_elem_8267(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
18988
18988
|
}
|
|
18989
18989
|
|
|
18990
|
-
function
|
|
18990
|
+
function __wasm_bindgen_func_elem_7957(arg0, arg1, arg2) {
|
|
18991
18991
|
try {
|
|
18992
18992
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
18993
|
-
wasm.
|
|
18993
|
+
wasm.__wasm_bindgen_func_elem_7957(retptr, arg0, arg1, addHeapObject(arg2));
|
|
18994
18994
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
18995
18995
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
18996
18996
|
if (r1) {
|