@parity/truapi-provider 0.1.1-dev-20260814.0 → 0.1.1-dev-20260825.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.
|
@@ -150,12 +150,12 @@ export interface InitOutput {
|
|
|
150
150
|
readonly networkchains_people: (a: number, b: number) => void;
|
|
151
151
|
readonly networkchains_relay: (a: number, b: number) => void;
|
|
152
152
|
readonly setLogLevel: (a: number, b: number) => void;
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
153
|
+
readonly __wasm_bindgen_func_elem_19126: (a: number, b: number, c: number, d: number) => void;
|
|
154
|
+
readonly __wasm_bindgen_func_elem_19128: (a: number, b: number, c: number, d: number) => void;
|
|
155
|
+
readonly __wasm_bindgen_func_elem_3731: (a: number, b: number, c: number) => void;
|
|
156
|
+
readonly __wasm_bindgen_func_elem_3731_2: (a: number, b: number, c: number) => void;
|
|
157
|
+
readonly __wasm_bindgen_func_elem_3731_3: (a: number, b: number, c: number) => void;
|
|
158
|
+
readonly __wasm_bindgen_func_elem_7146: (a: number, b: number) => void;
|
|
159
159
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
160
160
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
161
161
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist/truapi_provider.js
CHANGED
|
@@ -478,7 +478,7 @@ function __wbg_get_imports() {
|
|
|
478
478
|
const a = state0.a;
|
|
479
479
|
state0.a = 0;
|
|
480
480
|
try {
|
|
481
|
-
return
|
|
481
|
+
return __wasm_bindgen_func_elem_19128(a, state0.b, arg0, arg1);
|
|
482
482
|
} finally {
|
|
483
483
|
state0.a = a;
|
|
484
484
|
}
|
|
@@ -595,28 +595,28 @@ function __wbg_get_imports() {
|
|
|
595
595
|
console.warn(getObject(arg0));
|
|
596
596
|
},
|
|
597
597
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
598
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
599
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
598
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1830, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
599
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_19126);
|
|
600
600
|
return addHeapObject(ret);
|
|
601
601
|
},
|
|
602
602
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
603
603
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
604
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
604
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3731);
|
|
605
605
|
return addHeapObject(ret);
|
|
606
606
|
},
|
|
607
607
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
608
608
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
609
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
609
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3731_2);
|
|
610
610
|
return addHeapObject(ret);
|
|
611
611
|
},
|
|
612
612
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
613
613
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 20, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
614
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
614
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3731_3);
|
|
615
615
|
return addHeapObject(ret);
|
|
616
616
|
},
|
|
617
617
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
618
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
619
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
618
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 668, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
619
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_7146);
|
|
620
620
|
return addHeapObject(ret);
|
|
621
621
|
},
|
|
622
622
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
@@ -643,26 +643,26 @@ function __wbg_get_imports() {
|
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
-
function
|
|
647
|
-
wasm.
|
|
646
|
+
function __wasm_bindgen_func_elem_7146(arg0, arg1) {
|
|
647
|
+
wasm.__wasm_bindgen_func_elem_7146(arg0, arg1);
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
function
|
|
651
|
-
wasm.
|
|
650
|
+
function __wasm_bindgen_func_elem_3731(arg0, arg1, arg2) {
|
|
651
|
+
wasm.__wasm_bindgen_func_elem_3731(arg0, arg1, addHeapObject(arg2));
|
|
652
652
|
}
|
|
653
653
|
|
|
654
|
-
function
|
|
655
|
-
wasm.
|
|
654
|
+
function __wasm_bindgen_func_elem_3731_2(arg0, arg1, arg2) {
|
|
655
|
+
wasm.__wasm_bindgen_func_elem_3731_2(arg0, arg1, addHeapObject(arg2));
|
|
656
656
|
}
|
|
657
657
|
|
|
658
|
-
function
|
|
659
|
-
wasm.
|
|
658
|
+
function __wasm_bindgen_func_elem_3731_3(arg0, arg1, arg2) {
|
|
659
|
+
wasm.__wasm_bindgen_func_elem_3731_3(arg0, arg1, addHeapObject(arg2));
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
function
|
|
662
|
+
function __wasm_bindgen_func_elem_19126(arg0, arg1, arg2) {
|
|
663
663
|
try {
|
|
664
664
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
665
|
-
wasm.
|
|
665
|
+
wasm.__wasm_bindgen_func_elem_19126(retptr, arg0, arg1, addHeapObject(arg2));
|
|
666
666
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
667
667
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
668
668
|
if (r1) {
|
|
@@ -673,8 +673,8 @@ function __wasm_bindgen_func_elem_19082(arg0, arg1, arg2) {
|
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
|
|
676
|
-
function
|
|
677
|
-
wasm.
|
|
676
|
+
function __wasm_bindgen_func_elem_19128(arg0, arg1, arg2, arg3) {
|
|
677
|
+
wasm.__wasm_bindgen_func_elem_19128(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
|
|
Binary file
|
|
@@ -21,12 +21,12 @@ export const networkchains_bulletin: (a: number, b: number) => void;
|
|
|
21
21
|
export const networkchains_people: (a: number, b: number) => void;
|
|
22
22
|
export const networkchains_relay: (a: number, b: number) => void;
|
|
23
23
|
export const setLogLevel: (a: number, b: number) => void;
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
24
|
+
export const __wasm_bindgen_func_elem_19126: (a: number, b: number, c: number, d: number) => void;
|
|
25
|
+
export const __wasm_bindgen_func_elem_19128: (a: number, b: number, c: number, d: number) => void;
|
|
26
|
+
export const __wasm_bindgen_func_elem_3731: (a: number, b: number, c: number) => void;
|
|
27
|
+
export const __wasm_bindgen_func_elem_3731_2: (a: number, b: number, c: number) => void;
|
|
28
|
+
export const __wasm_bindgen_func_elem_3731_3: (a: number, b: number, c: number) => void;
|
|
29
|
+
export const __wasm_bindgen_func_elem_7146: (a: number, b: number) => void;
|
|
30
30
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
31
31
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
32
32
|
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.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-20260825.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/host-rust-core.git",
|
|
10
10
|
"directory": "js/packages/truapi-provider"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://github.com/paritytech/
|
|
12
|
+
"homepage": "https://github.com/paritytech/host-rust-core#readme",
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/paritytech/
|
|
14
|
+
"url": "https://github.com/paritytech/host-rust-core/issues"
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"main": "dist/truapi_provider.js",
|