@parity/truapi-provider 0.3.1-dev-20260929.0 → 0.3.2-dev-20261102.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.
|
@@ -255,12 +255,12 @@ export interface InitOutput {
|
|
|
255
255
|
readonly networkchains_people: (a: number, b: number) => void;
|
|
256
256
|
readonly networkchains_relay: (a: number, b: number) => void;
|
|
257
257
|
readonly setLogLevel: (a: number, b: number) => void;
|
|
258
|
-
readonly
|
|
259
|
-
readonly
|
|
260
|
-
readonly
|
|
261
|
-
readonly
|
|
262
|
-
readonly
|
|
263
|
-
readonly
|
|
258
|
+
readonly __wasm_bindgen_func_elem_20795: (a: number, b: number, c: number, d: number) => void;
|
|
259
|
+
readonly __wasm_bindgen_func_elem_20797: (a: number, b: number, c: number, d: number) => void;
|
|
260
|
+
readonly __wasm_bindgen_func_elem_3944: (a: number, b: number, c: number) => void;
|
|
261
|
+
readonly __wasm_bindgen_func_elem_3944_2: (a: number, b: number, c: number) => void;
|
|
262
|
+
readonly __wasm_bindgen_func_elem_3944_3: (a: number, b: number, c: number) => void;
|
|
263
|
+
readonly __wasm_bindgen_func_elem_7520: (a: number, b: number) => void;
|
|
264
264
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
265
265
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
266
266
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist/truapi_provider.js
CHANGED
|
@@ -670,7 +670,7 @@ function __wbg_get_imports() {
|
|
|
670
670
|
const a = state0.a;
|
|
671
671
|
state0.a = 0;
|
|
672
672
|
try {
|
|
673
|
-
return
|
|
673
|
+
return __wasm_bindgen_func_elem_20797(a, state0.b, arg0, arg1);
|
|
674
674
|
} finally {
|
|
675
675
|
state0.a = a;
|
|
676
676
|
}
|
|
@@ -795,28 +795,28 @@ function __wbg_get_imports() {
|
|
|
795
795
|
console.warn(getObject(arg0));
|
|
796
796
|
},
|
|
797
797
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
798
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
799
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
798
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1898, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
799
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_20795);
|
|
800
800
|
return addHeapObject(ret);
|
|
801
801
|
},
|
|
802
802
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
803
803
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
804
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
804
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3944);
|
|
805
805
|
return addHeapObject(ret);
|
|
806
806
|
},
|
|
807
807
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
808
808
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
809
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
809
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3944_2);
|
|
810
810
|
return addHeapObject(ret);
|
|
811
811
|
},
|
|
812
812
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
813
813
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
814
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
814
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3944_3);
|
|
815
815
|
return addHeapObject(ret);
|
|
816
816
|
},
|
|
817
817
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
818
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
819
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
818
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 711, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
819
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_7520);
|
|
820
820
|
return addHeapObject(ret);
|
|
821
821
|
},
|
|
822
822
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
@@ -843,26 +843,26 @@ function __wbg_get_imports() {
|
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
function
|
|
847
|
-
wasm.
|
|
846
|
+
function __wasm_bindgen_func_elem_7520(arg0, arg1) {
|
|
847
|
+
wasm.__wasm_bindgen_func_elem_7520(arg0, arg1);
|
|
848
848
|
}
|
|
849
849
|
|
|
850
|
-
function
|
|
851
|
-
wasm.
|
|
850
|
+
function __wasm_bindgen_func_elem_3944(arg0, arg1, arg2) {
|
|
851
|
+
wasm.__wasm_bindgen_func_elem_3944(arg0, arg1, addHeapObject(arg2));
|
|
852
852
|
}
|
|
853
853
|
|
|
854
|
-
function
|
|
855
|
-
wasm.
|
|
854
|
+
function __wasm_bindgen_func_elem_3944_2(arg0, arg1, arg2) {
|
|
855
|
+
wasm.__wasm_bindgen_func_elem_3944_2(arg0, arg1, addHeapObject(arg2));
|
|
856
856
|
}
|
|
857
857
|
|
|
858
|
-
function
|
|
859
|
-
wasm.
|
|
858
|
+
function __wasm_bindgen_func_elem_3944_3(arg0, arg1, arg2) {
|
|
859
|
+
wasm.__wasm_bindgen_func_elem_3944_3(arg0, arg1, addHeapObject(arg2));
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
function
|
|
862
|
+
function __wasm_bindgen_func_elem_20795(arg0, arg1, arg2) {
|
|
863
863
|
try {
|
|
864
864
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
865
|
-
wasm.
|
|
865
|
+
wasm.__wasm_bindgen_func_elem_20795(retptr, arg0, arg1, addHeapObject(arg2));
|
|
866
866
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
867
867
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
868
868
|
if (r1) {
|
|
@@ -873,8 +873,8 @@ function __wasm_bindgen_func_elem_20853(arg0, arg1, arg2) {
|
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
875
|
|
|
876
|
-
function
|
|
877
|
-
wasm.
|
|
876
|
+
function __wasm_bindgen_func_elem_20797(arg0, arg1, arg2, arg3) {
|
|
877
|
+
wasm.__wasm_bindgen_func_elem_20797(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
|
|
Binary file
|
|
@@ -28,12 +28,12 @@ export const networkchains_bulletin: (a: number, b: number) => void;
|
|
|
28
28
|
export const networkchains_people: (a: number, b: number) => void;
|
|
29
29
|
export const networkchains_relay: (a: number, b: number) => void;
|
|
30
30
|
export const setLogLevel: (a: number, b: number) => void;
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
31
|
+
export const __wasm_bindgen_func_elem_20795: (a: number, b: number, c: number, d: number) => void;
|
|
32
|
+
export const __wasm_bindgen_func_elem_20797: (a: number, b: number, c: number, d: number) => void;
|
|
33
|
+
export const __wasm_bindgen_func_elem_3944: (a: number, b: number, c: number) => void;
|
|
34
|
+
export const __wasm_bindgen_func_elem_3944_2: (a: number, b: number, c: number) => void;
|
|
35
|
+
export const __wasm_bindgen_func_elem_3944_3: (a: number, b: number, c: number) => void;
|
|
36
|
+
export const __wasm_bindgen_func_elem_7520: (a: number, b: number) => void;
|
|
37
37
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
38
38
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
39
39
|
export const __wbindgen_export3: (a: number) => void;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parity/truapi-provider",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2-dev-20261102.0",
|
|
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>",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/paritytech/
|
|
9
|
+
"url": "git+https://github.com/paritytech/trinity-user-agents.git",
|
|
10
10
|
"directory": "js/packages/truapi-provider"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://github.com/paritytech/
|
|
12
|
+
"homepage": "https://github.com/paritytech/trinity-user-agents#readme",
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/paritytech/
|
|
14
|
+
"url": "https://github.com/paritytech/trinity-user-agents/issues"
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"main": "dist/truapi_provider.js",
|