@runflame/wallet-wasm 0.0.1-rc.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,109 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const __wbg_wallet_free: (a: number, b: number) => void;
5
+ export const addressToPredicate: (a: number, b: number, c: number, d: number) => void;
6
+ export const decodeContract: (a: number, b: number, c: number) => void;
7
+ export const generateMnemonic: (a: number, b: number) => void;
8
+ export const mnemonicToSeed: (a: number, b: number, c: number, d: number, e: number) => void;
9
+ export const openingMatches: (a: number, b: number, c: number, d: number) => void;
10
+ export const validateMnemonic: (a: number, b: number) => number;
11
+ export const wallet_address: (a: number, b: number, c: number) => void;
12
+ export const wallet_buildTransfer: (a: number, b: number, c: number) => void;
13
+ export const wallet_fromMnemonic: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
14
+ export const wallet_fromSeed: (a: number, b: number, c: number, d: number, e: number) => void;
15
+ export const wallet_network: (a: number, b: number) => void;
16
+ export const wallet_nextAddress: (a: number, b: number) => void;
17
+ export const wallet_nextIndex: (a: number) => number;
18
+ export const wallet_owns: (a: number, b: number, c: number, d: number, e: number) => void;
19
+ export const wallet_receivingKey: (a: number, b: number) => void;
20
+ export const ffi_flamewallet_ffi_uniffi_contract_version: () => number;
21
+ export const ffi_flamewallet_ffi_rustbuffer_alloc: (a: number, b: bigint, c: number) => void;
22
+ export const ffi_flamewallet_ffi_rustbuffer_from_bytes: (a: number, b: number, c: number) => void;
23
+ export const ffi_flamewallet_ffi_rustbuffer_free: (a: number, b: number) => void;
24
+ export const ffi_flamewallet_ffi_rustbuffer_reserve: (a: number, b: number, c: bigint, d: number) => void;
25
+ export const ffi_flamewallet_ffi_rust_future_poll_u8: (a: bigint, b: number, c: bigint) => void;
26
+ export const ffi_flamewallet_ffi_rust_future_complete_u8: (a: bigint, b: number) => number;
27
+ export const ffi_flamewallet_ffi_rust_future_poll_i8: (a: bigint, b: number, c: bigint) => void;
28
+ export const ffi_flamewallet_ffi_rust_future_complete_i8: (a: bigint, b: number) => number;
29
+ export const ffi_flamewallet_ffi_rust_future_poll_u16: (a: bigint, b: number, c: bigint) => void;
30
+ export const ffi_flamewallet_ffi_rust_future_complete_u16: (a: bigint, b: number) => number;
31
+ export const ffi_flamewallet_ffi_rust_future_poll_i16: (a: bigint, b: number, c: bigint) => void;
32
+ export const ffi_flamewallet_ffi_rust_future_complete_i16: (a: bigint, b: number) => number;
33
+ export const ffi_flamewallet_ffi_rust_future_poll_u32: (a: bigint, b: number, c: bigint) => void;
34
+ export const ffi_flamewallet_ffi_rust_future_poll_i32: (a: bigint, b: number, c: bigint) => void;
35
+ export const ffi_flamewallet_ffi_rust_future_complete_i32: (a: bigint, b: number) => number;
36
+ export const ffi_flamewallet_ffi_rust_future_poll_u64: (a: bigint, b: number, c: bigint) => void;
37
+ export const ffi_flamewallet_ffi_rust_future_poll_i64: (a: bigint, b: number, c: bigint) => void;
38
+ export const ffi_flamewallet_ffi_rust_future_complete_i64: (a: bigint, b: number) => bigint;
39
+ export const ffi_flamewallet_ffi_rust_future_poll_f32: (a: bigint, b: number, c: bigint) => void;
40
+ export const ffi_flamewallet_ffi_rust_future_cancel_f32: (a: bigint) => void;
41
+ export const ffi_flamewallet_ffi_rust_future_complete_f32: (a: bigint, b: number) => number;
42
+ export const ffi_flamewallet_ffi_rust_future_free_f32: (a: bigint) => void;
43
+ export const ffi_flamewallet_ffi_rust_future_poll_f64: (a: bigint, b: number, c: bigint) => void;
44
+ export const ffi_flamewallet_ffi_rust_future_complete_f64: (a: bigint, b: number) => number;
45
+ export const ffi_flamewallet_ffi_rust_future_poll_rust_buffer: (a: bigint, b: number, c: bigint) => void;
46
+ export const ffi_flamewallet_ffi_rust_future_complete_rust_buffer: (a: number, b: bigint, c: number) => void;
47
+ export const ffi_flamewallet_ffi_rust_future_poll_void: (a: bigint, b: number, c: bigint) => void;
48
+ export const ffi_flamewallet_ffi_rust_future_complete_void: (a: bigint, b: number) => void;
49
+ export const uniffi_flamewallet_ffi_fn_func_decode_contract: (a: number, b: number, c: number) => void;
50
+ export const uniffi_flamewallet_ffi_checksum_func_decode_contract: () => number;
51
+ export const uniffi_flamewallet_ffi_fn_func_opening_matches: (a: number, b: number, c: number) => number;
52
+ export const uniffi_flamewallet_ffi_checksum_func_opening_matches: () => number;
53
+ export const uniffi_flamewallet_ffi_fn_func_generate_mnemonic: (a: number, b: number, c: number) => void;
54
+ export const uniffi_flamewallet_ffi_checksum_func_generate_mnemonic: () => number;
55
+ export const uniffi_flamewallet_ffi_fn_func_validate_mnemonic: (a: number, b: number) => number;
56
+ export const uniffi_flamewallet_ffi_checksum_func_validate_mnemonic: () => number;
57
+ export const uniffi_flamewallet_ffi_fn_func_mnemonic_to_seed: (a: number, b: number, c: number, d: number) => void;
58
+ export const uniffi_flamewallet_ffi_checksum_func_mnemonic_to_seed: () => number;
59
+ export const uniffi_flamewallet_ffi_fn_func_address_to_predicate: (a: number, b: number, c: number, d: number) => void;
60
+ export const uniffi_flamewallet_ffi_checksum_func_address_to_predicate: () => number;
61
+ export const uniffi_flamewallet_ffi_fn_clone_wallet: (a: bigint, b: number) => bigint;
62
+ export const uniffi_flamewallet_ffi_fn_free_wallet: (a: bigint, b: number) => void;
63
+ export const uniffi_flamewallet_ffi_fn_constructor_wallet_new: (a: number, b: number, c: number, d: number) => bigint;
64
+ export const uniffi_flamewallet_ffi_checksum_constructor_wallet_new: () => number;
65
+ export const uniffi_flamewallet_ffi_fn_constructor_wallet_from_mnemonic: (a: number, b: number, c: number, d: number, e: number) => bigint;
66
+ export const uniffi_flamewallet_ffi_checksum_constructor_wallet_from_mnemonic: () => number;
67
+ export const uniffi_flamewallet_ffi_fn_method_wallet_network: (a: number, b: bigint, c: number) => void;
68
+ export const uniffi_flamewallet_ffi_checksum_method_wallet_network: () => number;
69
+ export const uniffi_flamewallet_ffi_fn_method_wallet_address: (a: number, b: bigint, c: number, d: number) => void;
70
+ export const uniffi_flamewallet_ffi_checksum_method_wallet_address: () => number;
71
+ export const uniffi_flamewallet_ffi_fn_method_wallet_next_address: (a: number, b: bigint, c: number) => void;
72
+ export const uniffi_flamewallet_ffi_checksum_method_wallet_next_address: () => number;
73
+ export const uniffi_flamewallet_ffi_fn_method_wallet_next_index: (a: bigint, b: number) => number;
74
+ export const uniffi_flamewallet_ffi_checksum_method_wallet_next_index: () => number;
75
+ export const uniffi_flamewallet_ffi_fn_method_wallet_owns: (a: number, b: bigint, c: number, d: number, e: number) => void;
76
+ export const uniffi_flamewallet_ffi_checksum_method_wallet_owns: () => number;
77
+ export const uniffi_flamewallet_ffi_fn_method_wallet_receiving_key: (a: number, b: bigint, c: number) => void;
78
+ export const uniffi_flamewallet_ffi_checksum_method_wallet_receiving_key: () => number;
79
+ export const uniffi_flamewallet_ffi_fn_method_wallet_build_transfer: (a: number, b: bigint, c: number, d: number) => void;
80
+ export const uniffi_flamewallet_ffi_checksum_method_wallet_build_transfer: () => number;
81
+ export const ffi_flamewallet_ffi_rust_future_free_u16: (a: bigint) => void;
82
+ export const ffi_flamewallet_ffi_rust_future_cancel_u16: (a: bigint) => void;
83
+ export const ffi_flamewallet_ffi_rust_future_free_u32: (a: bigint) => void;
84
+ export const ffi_flamewallet_ffi_rust_future_complete_u32: (a: bigint, b: number) => number;
85
+ export const ffi_flamewallet_ffi_rust_future_cancel_u32: (a: bigint) => void;
86
+ export const ffi_flamewallet_ffi_rust_future_free_i64: (a: bigint) => void;
87
+ export const ffi_flamewallet_ffi_rust_future_cancel_i64: (a: bigint) => void;
88
+ export const ffi_flamewallet_ffi_rust_future_free_rust_buffer: (a: bigint) => void;
89
+ export const ffi_flamewallet_ffi_rust_future_cancel_rust_buffer: (a: bigint) => void;
90
+ export const ffi_flamewallet_ffi_rust_future_free_i32: (a: bigint) => void;
91
+ export const ffi_flamewallet_ffi_rust_future_cancel_i32: (a: bigint) => void;
92
+ export const ffi_flamewallet_ffi_rust_future_free_u64: (a: bigint) => void;
93
+ export const ffi_flamewallet_ffi_rust_future_complete_u64: (a: bigint, b: number) => bigint;
94
+ export const ffi_flamewallet_ffi_rust_future_cancel_u64: (a: bigint) => void;
95
+ export const ffi_flamewallet_ffi_rust_future_free_void: (a: bigint) => void;
96
+ export const ffi_flamewallet_ffi_rust_future_cancel_void: (a: bigint) => void;
97
+ export const ffi_flamewallet_ffi_rust_future_free_f64: (a: bigint) => void;
98
+ export const ffi_flamewallet_ffi_rust_future_cancel_f64: (a: bigint) => void;
99
+ export const ffi_flamewallet_ffi_rust_future_free_i8: (a: bigint) => void;
100
+ export const ffi_flamewallet_ffi_rust_future_cancel_i8: (a: bigint) => void;
101
+ export const ffi_flamewallet_ffi_rust_future_free_i16: (a: bigint) => void;
102
+ export const ffi_flamewallet_ffi_rust_future_cancel_i16: (a: bigint) => void;
103
+ export const ffi_flamewallet_ffi_rust_future_free_u8: (a: bigint) => void;
104
+ export const ffi_flamewallet_ffi_rust_future_cancel_u8: (a: bigint) => void;
105
+ export const __wbindgen_export: (a: number, b: number) => number;
106
+ export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
107
+ export const __wbindgen_export3: (a: number) => void;
108
+ export const __wbindgen_add_to_stack_pointer: (a: number) => number;
109
+ export const __wbindgen_export4: (a: number, b: number, c: number) => void;
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@runflame/wallet-wasm",
3
+ "version": "0.0.1-rc.0",
4
+ "description": "Flame wallet keys and confidential transfers, compiled to WebAssembly",
5
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/runflame/flame-lib.git",
9
+ "directory": "flamewallet-wasm"
10
+ },
11
+ "type": "module",
12
+ "main": "./flamewallet_wasm.js",
13
+ "types": "./flamewallet_wasm.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./flamewallet_wasm.d.ts",
17
+ "default": "./flamewallet_wasm.js"
18
+ },
19
+ "./flamewallet_wasm_bg.wasm": "./flamewallet_wasm_bg.wasm"
20
+ },
21
+ "files": [
22
+ "flamewallet_wasm.js",
23
+ "flamewallet_wasm.d.ts",
24
+ "flamewallet_wasm_bg.wasm",
25
+ "flamewallet_wasm_bg.wasm.d.ts",
26
+ "LICENSE.txt",
27
+ "sbom.cdx.json"
28
+ ],
29
+ "sideEffects": false
30
+ }