@parity/truapi-provider 0.1.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,37 @@
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_setDatabaseContent: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
14
+ export const chainproviderbuilder_setStorage: (a: number, b: number, c: number) => void;
15
+ export const chainproviderhandle_connect: (a: number, b: number, c: number) => number;
16
+ export const chainproviderhandle_loadDatabase: (a: number, b: number, c: number) => number;
17
+ export const chainproviderhandle_saveDatabase: (a: number, b: number, c: number) => number;
18
+ export const connection_close: (a: number) => void;
19
+ export const connection_nextResponse: (a: number) => number;
20
+ export const connection_send: (a: number, b: number, c: number) => void;
21
+ export const networkchains_assethub: (a: number, b: number) => void;
22
+ export const networkchains_bulletin: (a: number, b: number) => void;
23
+ export const networkchains_people: (a: number, b: number) => void;
24
+ export const networkchains_relay: (a: number, b: number) => void;
25
+ export const setLogLevel: (a: number, b: number) => void;
26
+ export const __wasm_bindgen_func_elem_19288: (a: number, b: number, c: number, d: number) => void;
27
+ export const __wasm_bindgen_func_elem_19290: (a: number, b: number, c: number, d: number) => void;
28
+ export const __wasm_bindgen_func_elem_3807: (a: number, b: number, c: number) => void;
29
+ export const __wasm_bindgen_func_elem_3807_2: (a: number, b: number, c: number) => void;
30
+ export const __wasm_bindgen_func_elem_3807_3: (a: number, b: number, c: number) => void;
31
+ export const __wasm_bindgen_func_elem_7316: (a: number, b: number) => void;
32
+ export const __wbindgen_export: (a: number, b: number) => number;
33
+ export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
34
+ export const __wbindgen_export3: (a: number) => void;
35
+ export const __wbindgen_export4: (a: number, b: number) => void;
36
+ export const __wbindgen_add_to_stack_pointer: (a: number) => number;
37
+ export const __wbindgen_export5: (a: number, b: number, c: number) => void;
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@parity/truapi-provider",
3
+ "version": "0.1.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/host-rust-core.git",
10
+ "directory": "js/packages/truapi-provider"
11
+ },
12
+ "homepage": "https://github.com/paritytech/host-rust-core#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/paritytech/host-rust-core/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
+ }
42
+ }