@parity/truapi-provider 0.2.0 → 0.2.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.
|
@@ -193,12 +193,12 @@ export interface InitOutput {
|
|
|
193
193
|
readonly networkchains_people: (a: number, b: number) => void;
|
|
194
194
|
readonly networkchains_relay: (a: number, b: number) => void;
|
|
195
195
|
readonly setLogLevel: (a: number, b: number) => void;
|
|
196
|
-
readonly
|
|
197
|
-
readonly
|
|
198
|
-
readonly
|
|
199
|
-
readonly
|
|
200
|
-
readonly
|
|
201
|
-
readonly
|
|
196
|
+
readonly __wasm_bindgen_func_elem_20031: (a: number, b: number, c: number, d: number) => void;
|
|
197
|
+
readonly __wasm_bindgen_func_elem_20033: (a: number, b: number, c: number, d: number) => void;
|
|
198
|
+
readonly __wasm_bindgen_func_elem_3926: (a: number, b: number, c: number) => void;
|
|
199
|
+
readonly __wasm_bindgen_func_elem_3926_2: (a: number, b: number, c: number) => void;
|
|
200
|
+
readonly __wasm_bindgen_func_elem_3926_3: (a: number, b: number, c: number) => void;
|
|
201
|
+
readonly __wasm_bindgen_func_elem_7481: (a: number, b: number) => void;
|
|
202
202
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
203
203
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
204
204
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist/truapi_provider.js
CHANGED
|
@@ -551,7 +551,7 @@ function __wbg_get_imports() {
|
|
|
551
551
|
const a = state0.a;
|
|
552
552
|
state0.a = 0;
|
|
553
553
|
try {
|
|
554
|
-
return
|
|
554
|
+
return __wasm_bindgen_func_elem_20033(a, state0.b, arg0, arg1);
|
|
555
555
|
} finally {
|
|
556
556
|
state0.a = a;
|
|
557
557
|
}
|
|
@@ -672,28 +672,28 @@ function __wbg_get_imports() {
|
|
|
672
672
|
console.warn(getObject(arg0));
|
|
673
673
|
},
|
|
674
674
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
675
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
676
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
675
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1864, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
676
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_20031);
|
|
677
677
|
return addHeapObject(ret);
|
|
678
678
|
},
|
|
679
679
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
680
680
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
681
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
681
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3926);
|
|
682
682
|
return addHeapObject(ret);
|
|
683
683
|
},
|
|
684
684
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
685
685
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
686
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
686
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3926_2);
|
|
687
687
|
return addHeapObject(ret);
|
|
688
688
|
},
|
|
689
689
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
690
690
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
691
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
691
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3926_3);
|
|
692
692
|
return addHeapObject(ret);
|
|
693
693
|
},
|
|
694
694
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
695
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
696
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
695
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 714, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
696
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_7481);
|
|
697
697
|
return addHeapObject(ret);
|
|
698
698
|
},
|
|
699
699
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
@@ -720,26 +720,26 @@ function __wbg_get_imports() {
|
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
function
|
|
724
|
-
wasm.
|
|
723
|
+
function __wasm_bindgen_func_elem_7481(arg0, arg1) {
|
|
724
|
+
wasm.__wasm_bindgen_func_elem_7481(arg0, arg1);
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
function
|
|
728
|
-
wasm.
|
|
727
|
+
function __wasm_bindgen_func_elem_3926(arg0, arg1, arg2) {
|
|
728
|
+
wasm.__wasm_bindgen_func_elem_3926(arg0, arg1, addHeapObject(arg2));
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
-
function
|
|
732
|
-
wasm.
|
|
731
|
+
function __wasm_bindgen_func_elem_3926_2(arg0, arg1, arg2) {
|
|
732
|
+
wasm.__wasm_bindgen_func_elem_3926_2(arg0, arg1, addHeapObject(arg2));
|
|
733
733
|
}
|
|
734
734
|
|
|
735
|
-
function
|
|
736
|
-
wasm.
|
|
735
|
+
function __wasm_bindgen_func_elem_3926_3(arg0, arg1, arg2) {
|
|
736
|
+
wasm.__wasm_bindgen_func_elem_3926_3(arg0, arg1, addHeapObject(arg2));
|
|
737
737
|
}
|
|
738
738
|
|
|
739
|
-
function
|
|
739
|
+
function __wasm_bindgen_func_elem_20031(arg0, arg1, arg2) {
|
|
740
740
|
try {
|
|
741
741
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
742
|
-
wasm.
|
|
742
|
+
wasm.__wasm_bindgen_func_elem_20031(retptr, arg0, arg1, addHeapObject(arg2));
|
|
743
743
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
744
744
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
745
745
|
if (r1) {
|
|
@@ -750,8 +750,8 @@ function __wasm_bindgen_func_elem_19706(arg0, arg1, arg2) {
|
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
-
function
|
|
754
|
-
wasm.
|
|
753
|
+
function __wasm_bindgen_func_elem_20033(arg0, arg1, arg2, arg3) {
|
|
754
|
+
wasm.__wasm_bindgen_func_elem_20033(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
755
755
|
}
|
|
756
756
|
|
|
757
757
|
|
|
Binary file
|
|
@@ -23,12 +23,12 @@ export const networkchains_bulletin: (a: number, b: number) => void;
|
|
|
23
23
|
export const networkchains_people: (a: number, b: number) => void;
|
|
24
24
|
export const networkchains_relay: (a: number, b: number) => void;
|
|
25
25
|
export const setLogLevel: (a: number, b: number) => void;
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
26
|
+
export const __wasm_bindgen_func_elem_20031: (a: number, b: number, c: number, d: number) => void;
|
|
27
|
+
export const __wasm_bindgen_func_elem_20033: (a: number, b: number, c: number, d: number) => void;
|
|
28
|
+
export const __wasm_bindgen_func_elem_3926: (a: number, b: number, c: number) => void;
|
|
29
|
+
export const __wasm_bindgen_func_elem_3926_2: (a: number, b: number, c: number) => void;
|
|
30
|
+
export const __wasm_bindgen_func_elem_3926_3: (a: number, b: number, c: number) => void;
|
|
31
|
+
export const __wasm_bindgen_func_elem_7481: (a: number, b: number) => void;
|
|
32
32
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
33
33
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
34
34
|
export const __wbindgen_export3: (a: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parity/truapi-provider",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Network provider backends for the TrUAPI ChainProvider: an embedded smoldot light client and remote WebSocket JSON-RPC nodes, compiled to WebAssembly for browser hosts",
|
|
5
5
|
"license": "MIT AND Apache-2.0",
|
|
6
6
|
"author": "Parity Technologies <admin@parity.io>",
|