@parity/truapi-provider 0.1.1-dev-20260714-3.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.
Binary file
@@ -0,0 +1,34 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const __wbg_chainproviderbuilder_free: (a: number, b: number) => void;
5
+ export const __wbg_chainproviderhandle_free: (a: number, b: number) => void;
6
+ export const __wbg_connection_free: (a: number, b: number) => void;
7
+ export const __wbg_networkchains_free: (a: number, b: number) => void;
8
+ export const chainproviderbuilder_addLightChain: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
9
+ export const chainproviderbuilder_addNetwork: (a: number, b: number, c: number, d: number) => void;
10
+ export const chainproviderbuilder_addRpcChain: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
11
+ export const chainproviderbuilder_build: (a: number, b: number) => void;
12
+ export const chainproviderbuilder_new: () => number;
13
+ export const chainproviderbuilder_setDatabase: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
14
+ export const chainproviderhandle_connect: (a: number, b: number, c: number) => number;
15
+ export const chainproviderhandle_snapshot: (a: number, b: number, c: number) => number;
16
+ export const connection_close: (a: number) => void;
17
+ export const connection_nextResponse: (a: number) => number;
18
+ export const connection_send: (a: number, b: number, c: number) => void;
19
+ export const networkchains_assethub: (a: number, b: number) => void;
20
+ export const networkchains_bulletin: (a: number, b: number) => void;
21
+ export const networkchains_people: (a: number, b: number) => void;
22
+ export const networkchains_relay: (a: number, b: number) => void;
23
+ export const __wasm_bindgen_func_elem_12601: (a: number, b: number, c: number, d: number) => void;
24
+ export const __wasm_bindgen_func_elem_12603: (a: number, b: number, c: number, d: number) => void;
25
+ export const __wasm_bindgen_func_elem_3625: (a: number, b: number, c: number) => void;
26
+ export const __wasm_bindgen_func_elem_3625_2: (a: number, b: number, c: number) => void;
27
+ export const __wasm_bindgen_func_elem_3625_3: (a: number, b: number, c: number) => void;
28
+ export const __wasm_bindgen_func_elem_6911: (a: number, b: number) => void;
29
+ export const __wbindgen_export: (a: number, b: number) => number;
30
+ export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
31
+ export const __wbindgen_export3: (a: number) => void;
32
+ export const __wbindgen_export4: (a: number, b: number) => void;
33
+ export const __wbindgen_add_to_stack_pointer: (a: number) => number;
34
+ export const __wbindgen_export5: (a: number, b: number, c: number) => void;
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@parity/truapi-provider",
3
+ "version": "0.1.1-dev-20260714-3.0",
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
+ "license": "MIT AND Apache-2.0",
6
+ "author": "Parity Technologies <admin@parity.io>",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/paritytech/truapi.git",
10
+ "directory": "js/packages/truapi-provider"
11
+ },
12
+ "homepage": "https://github.com/paritytech/truapi#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/paritytech/truapi/issues"
15
+ },
16
+ "type": "module",
17
+ "main": "dist/truapi_provider.js",
18
+ "types": "dist/truapi_provider.d.ts",
19
+ "sideEffects": [
20
+ "./dist/truapi_provider.js"
21
+ ],
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/truapi_provider.d.ts",
25
+ "import": "./dist/truapi_provider.js"
26
+ },
27
+ "./truapi_provider_bg.wasm": "./dist/truapi_provider_bg.wasm"
28
+ },
29
+ "files": [
30
+ "dist",
31
+ "README.md",
32
+ "LICENSE",
33
+ "LICENSE-APACHE",
34
+ "NOTICE"
35
+ ],
36
+ "publishConfig": {
37
+ "access": "public"
38
+ },
39
+ "scripts": {
40
+ "build": "node scripts/build-wasm.mjs",
41
+ "build:wasm": "node scripts/build-wasm.mjs"
42
+ }
43
+ }