@derec-alliance/nodejs 0.0.1-alpha.6 → 0.0.1-alpha.8
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.
- package/README.md +401 -71
- package/derec_library.d.ts +369 -221
- package/derec_library.js +1376 -400
- package/derec_library_bg.wasm +0 -0
- package/derec_library_bg.wasm.d.ts +77 -11
- package/index.d.ts +1214 -0
- package/index.js +106 -0
- package/package.json +6 -4
package/derec_library_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,23 +1,89 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const verification_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
5
|
+
export const verification_request_produce: (a: bigint, b: bigint, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
6
|
+
export const pairing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
7
|
+
export const pairing_response_extract_pre_pair: (a: number, b: number) => [number, number, number];
|
|
8
|
+
export const pairing_response_process: (a: any, b: any, c: number, d: number) => [number, number, number];
|
|
9
|
+
export const pairing_response_process_pre_pair: (a: any, b: any) => [number, number, number];
|
|
10
|
+
export const pairing_response_produce: (a: bigint, b: any, c: number, d: number, e: any, f: any) => [number, number, number];
|
|
11
|
+
export const pairing_response_produce_pre_pair: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
12
|
+
export const verification_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
13
|
+
export const verification_response_process: (a: any, b: any, c: number, d: number) => [number, number, number];
|
|
14
|
+
export const verification_response_produce: (a: bigint, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
15
|
+
export const unpairing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
16
|
+
export const unpairing_response_process: (a: any) => [number, number, number];
|
|
17
|
+
export const unpairing_response_produce: (a: bigint, b: number, c: number) => [number, number, number];
|
|
18
|
+
export const discovery_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
19
|
+
export const discovery_response_process: (a: any) => [number, number, number];
|
|
20
|
+
export const discovery_response_produce: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
21
|
+
export const envelope_apply_trace_id: (a: number, b: number, c: bigint) => [number, number, number, number];
|
|
22
|
+
export const envelope_read_trace_id: (a: number, b: number) => [bigint, number, number];
|
|
23
|
+
export const pairing_contact_message_validate: (a: any) => [number, number];
|
|
24
|
+
export const pairing_request_create_contact: (a: bigint, b: number, c: any, d: any) => [number, number, number];
|
|
25
|
+
export const pairing_request_decode_contact: (a: number, b: number) => [number, number, number];
|
|
26
|
+
export const pairing_request_encode_contact: (a: any) => [number, number, number, number];
|
|
27
|
+
export const pairing_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
28
|
+
export const pairing_request_extract_pre_pair: (a: number, b: number) => [number, number, number];
|
|
29
|
+
export const pairing_request_produce: (a: number, b: any, c: any, d: any, e: any) => [number, number, number];
|
|
30
|
+
export const pairing_request_produce_pre_pair: (a: any, b: any) => [number, number, number];
|
|
4
31
|
export const wasm_start: () => void;
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
32
|
+
export const sharing_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
33
|
+
export const sharing_request_produce: (a: bigint, b: number, c: bigint, d: any, e: any, f: number, g: number, h: number, i: number, j: any, k: any) => [number, number, number];
|
|
34
|
+
export const sharing_request_split: (a: any, b: bigint, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
35
|
+
export const discovery_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
36
|
+
export const discovery_request_produce: (a: bigint, b: number, c: number, d: any) => [number, number, number];
|
|
37
|
+
export const unpairing_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
38
|
+
export const unpairing_request_produce: (a: bigint, b: number, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
39
|
+
export const recovery_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
40
|
+
export const recovery_request_produce: (a: bigint, b: bigint, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
41
|
+
export const __wbg_derecprotocolbuilder_free: (a: number, b: number) => void;
|
|
42
|
+
export const __wbg_derecprotocolwasm_free: (a: number, b: number) => void;
|
|
43
|
+
export const derecprotocolbuilder_build: (a: number) => [number, number, number];
|
|
44
|
+
export const derecprotocolbuilder_new: (a: any) => [number, number, number];
|
|
45
|
+
export const derecprotocolbuilder_withAutoAccept: (a: number, b: any) => [number, number, number];
|
|
46
|
+
export const derecprotocolbuilder_withAutoReplyTo: (a: number, b: number) => number;
|
|
47
|
+
export const derecprotocolbuilder_withAutoRespondOnFailure: (a: number, b: number) => number;
|
|
48
|
+
export const derecprotocolbuilder_withChannelStore: (a: number, b: any) => number;
|
|
49
|
+
export const derecprotocolbuilder_withCommunicationInfo: (a: number, b: any) => [number, number, number];
|
|
50
|
+
export const derecprotocolbuilder_withKeepVersionsCount: (a: number, b: number) => number;
|
|
51
|
+
export const derecprotocolbuilder_withOwnTransport: (a: number, b: any) => [number, number, number];
|
|
52
|
+
export const derecprotocolbuilder_withParameterRange: (a: number, b: any) => [number, number, number];
|
|
53
|
+
export const derecprotocolbuilder_withReplicaId: (a: number, b: any) => [number, number, number];
|
|
54
|
+
export const derecprotocolbuilder_withSecretStore: (a: number, b: any) => number;
|
|
55
|
+
export const derecprotocolbuilder_withShareStore: (a: number, b: any) => number;
|
|
56
|
+
export const derecprotocolbuilder_withStateStore: (a: number, b: any) => number;
|
|
57
|
+
export const derecprotocolbuilder_withThreshold: (a: number, b: number) => number;
|
|
58
|
+
export const derecprotocolbuilder_withTimeout: (a: number, b: number) => number;
|
|
59
|
+
export const derecprotocolbuilder_withTransport: (a: number, b: any) => number;
|
|
60
|
+
export const derecprotocolbuilder_withUnpairAck: (a: number, b: number, c: number) => [number, number, number];
|
|
61
|
+
export const derecprotocolbuilder_withUserSecretStore: (a: number, b: any) => number;
|
|
62
|
+
export const derecprotocolwasm_accept: (a: number, b: number, c: number) => any;
|
|
63
|
+
export const derecprotocolwasm_createContact: (a: number, b: any, c: number, d: any) => any;
|
|
64
|
+
export const derecprotocolwasm_getFingerprint: (a: number, b: any) => any;
|
|
65
|
+
export const derecprotocolwasm_process: (a: number, b: number, c: number) => any;
|
|
66
|
+
export const derecprotocolwasm_reject: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
67
|
+
export const derecprotocolwasm_restore: (a: number, b: any, c: number) => any;
|
|
68
|
+
export const derecprotocolwasm_secretId: (a: number) => bigint;
|
|
69
|
+
export const derecprotocolwasm_setCommunicationInfo: (a: number, b: any) => [number, number];
|
|
70
|
+
export const derecprotocolwasm_setOwnTransport: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
71
|
+
export const derecprotocolwasm_start: (a: number, b: number, c: any) => any;
|
|
72
|
+
export const derecprotocolwasm_verifyFingerprint: (a: number, b: any, c: number, d: number) => any;
|
|
73
|
+
export const recovery_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
74
|
+
export const recovery_response_produce: (a: bigint, b: any, c: any, d: number, e: number) => [number, number, number];
|
|
75
|
+
export const recovery_response_recover: (a: bigint, b: number, c: any) => [number, number, number];
|
|
76
|
+
export const sharing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
77
|
+
export const sharing_response_process: (a: number, b: any) => [number, number];
|
|
78
|
+
export const sharing_response_produce: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
79
|
+
export const wasm_bindgen__convert__closures_____invoke__h6d974fa9882759cc: (a: number, b: number, c: any) => [number, number];
|
|
80
|
+
export const wasm_bindgen__convert__closures_____invoke__h6bfc661997de4fd7: (a: number, b: number, c: any, d: any) => void;
|
|
16
81
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
17
82
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
18
83
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
19
84
|
export const __externref_table_alloc: () => number;
|
|
20
85
|
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
21
86
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
87
|
+
export const __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
22
88
|
export const __externref_table_dealloc: (a: number) => void;
|
|
23
89
|
export const __wbindgen_start: () => void;
|