@derec-alliance/nodejs 0.0.5 → 0.0.6
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 +31 -11
- package/derec_descriptor.bin +0 -0
- package/derec_library.d.ts +112 -118
- package/derec_library.js +173 -160
- package/derec_library_bg.wasm +0 -0
- package/derec_library_bg.wasm.d.ts +39 -38
- package/index.d.ts +372 -164
- package/index.js +33 -3
- package/package.json +1 -1
- package/proto/contact.proto +15 -48
- package/proto/getshare.proto +4 -14
- package/proto/pair.proto +5 -29
- package/proto/prepair.proto +14 -39
- package/proto/secretidsversions.proto +4 -14
- package/proto/storeshare.proto +8 -39
- package/proto/unpair.proto +4 -14
- package/proto/updatechannelinfo.proto +16 -45
- package/proto/verify.proto +4 -14
|
@@ -4,12 +4,27 @@ export const memory: WebAssembly.Memory;
|
|
|
4
4
|
export const verification_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
5
5
|
export const verification_response_process: (a: any, b: any, c: number, d: number) => [number, number, number];
|
|
6
6
|
export const verification_response_produce: (a: bigint, b: any, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
7
|
+
export const discovery_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
8
|
+
export const discovery_response_process: (a: any) => [number, number, number];
|
|
9
|
+
export const discovery_response_produce: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
10
|
+
export const envelope_apply_trace_id: (a: number, b: number, c: bigint) => [number, number, number, number];
|
|
11
|
+
export const envelope_read_trace_id: (a: number, b: number) => [bigint, number, number];
|
|
12
|
+
export const sharing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
13
|
+
export const sharing_response_process: (a: number, b: any) => [number, number];
|
|
14
|
+
export const sharing_response_produce: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
15
|
+
export const wasm_start: () => void;
|
|
16
|
+
export const sharing_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
17
|
+
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) => [number, number, number];
|
|
18
|
+
export const sharing_request_split: (a: any, b: bigint, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
19
|
+
export const pairing_fingerprint: (a: number, b: number) => [number, number, number, number];
|
|
20
|
+
export const pairing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
21
|
+
export const pairing_response_extract_pre_pair: (a: number, b: number) => [number, number, number];
|
|
22
|
+
export const pairing_response_process: (a: any, b: any, c: number, d: number, e: any) => [number, number, number];
|
|
23
|
+
export const pairing_response_process_pre_pair: (a: any, b: any) => [number, number, number];
|
|
24
|
+
export const pairing_response_process_pre_pair_no_keys: (a: any, b: any) => [number, number, number];
|
|
25
|
+
export const pairing_response_produce: (a: bigint, b: any, c: number, d: number, e: any, f: any, g: number) => [number, number, number];
|
|
26
|
+
export const pairing_response_produce_pre_pair: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
27
|
+
export const pairing_response_produce_pre_pair_no_keys: (a: bigint, b: any) => [number, number, number];
|
|
13
28
|
export const __wbg_derecprotocolbuilder_free: (a: number, b: number) => void;
|
|
14
29
|
export const __wbg_derecprotocolwasm_free: (a: number, b: number) => void;
|
|
15
30
|
export const derecprotocolbuilder_build: (a: number) => [number, number, number];
|
|
@@ -20,7 +35,6 @@ export const derecprotocolbuilder_withAutoRespondOnFailure: (a: number, b: numbe
|
|
|
20
35
|
export const derecprotocolbuilder_withChannelStore: (a: number, b: any) => number;
|
|
21
36
|
export const derecprotocolbuilder_withCommunicationInfo: (a: number, b: any) => [number, number, number];
|
|
22
37
|
export const derecprotocolbuilder_withKeepVersionsCount: (a: number, b: number) => number;
|
|
23
|
-
export const derecprotocolbuilder_withOwnTransport: (a: number, b: any) => [number, number, number];
|
|
24
38
|
export const derecprotocolbuilder_withOwnTransports: (a: number, b: number, c: number) => [number, number, number];
|
|
25
39
|
export const derecprotocolbuilder_withParameterRange: (a: number, b: any) => [number, number, number];
|
|
26
40
|
export const derecprotocolbuilder_withReplicaId: (a: number, b: any) => [number, number, number];
|
|
@@ -32,56 +46,43 @@ export const derecprotocolbuilder_withTimeouts: (a: number, b: any) => [number,
|
|
|
32
46
|
export const derecprotocolbuilder_withTransport: (a: number, b: any) => number;
|
|
33
47
|
export const derecprotocolbuilder_withUnpairAck: (a: number, b: number, c: number) => [number, number, number];
|
|
34
48
|
export const derecprotocolbuilder_withUnsafeConnection: (a: number, b: number) => number;
|
|
35
|
-
export const derecprotocolbuilder_withUnsafeHttp: (a: number, b: number) => number;
|
|
36
49
|
export const derecprotocolbuilder_withUserSecretStore: (a: number, b: any) => number;
|
|
37
50
|
export const derecprotocolwasm_accept: (a: number, b: number, c: number) => any;
|
|
38
51
|
export const derecprotocolwasm_createContact: (a: number, b: any, c: number, d: any) => any;
|
|
39
52
|
export const derecprotocolwasm_getFingerprint: (a: number, b: any) => any;
|
|
40
53
|
export const derecprotocolwasm_process: (a: number, b: number, c: number) => any;
|
|
41
54
|
export const derecprotocolwasm_reject: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
42
|
-
export const derecprotocolwasm_removeExpiredChannels: (a: number, b:
|
|
55
|
+
export const derecprotocolwasm_removeExpiredChannels: (a: number, b: any) => any;
|
|
43
56
|
export const derecprotocolwasm_restore: (a: number, b: any, c: number) => any;
|
|
44
57
|
export const derecprotocolwasm_secretId: (a: number) => bigint;
|
|
45
|
-
export const derecprotocolwasm_setCommunicationInfo: (a: number, b: any) =>
|
|
46
|
-
export const
|
|
47
|
-
export const derecprotocolwasm_setOwnTransports: (a: number, b: number, c: number) => [number, number];
|
|
58
|
+
export const derecprotocolwasm_setCommunicationInfo: (a: number, b: any) => any;
|
|
59
|
+
export const derecprotocolwasm_setOwnTransports: (a: number, b: number, c: number) => any;
|
|
48
60
|
export const derecprotocolwasm_start: (a: number, b: number, c: any) => any;
|
|
49
61
|
export const derecprotocolwasm_tick: (a: number) => any;
|
|
50
62
|
export const derecprotocolwasm_verifyFingerprint: (a: number, b: any, c: number, d: number) => any;
|
|
51
|
-
export const discovery_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
52
|
-
export const discovery_response_process: (a: any) => [number, number, number];
|
|
53
|
-
export const discovery_response_produce: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
54
|
-
export const envelope_apply_trace_id: (a: number, b: number, c: bigint) => [number, number, number, number];
|
|
55
|
-
export const envelope_read_trace_id: (a: number, b: number) => [bigint, number, number];
|
|
56
|
-
export const sharing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
57
|
-
export const sharing_response_process: (a: number, b: any) => [number, number];
|
|
58
|
-
export const sharing_response_produce: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
59
|
-
export const unpairing_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
60
|
-
export const unpairing_request_produce: (a: bigint, b: number, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
61
|
-
export const verification_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
62
|
-
export const verification_request_produce: (a: bigint, b: bigint, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
63
|
-
export const pairing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
64
|
-
export const pairing_response_extract_pre_pair: (a: number, b: number) => [number, number, number];
|
|
65
|
-
export const pairing_response_process: (a: any, b: any, c: number, d: number) => [number, number, number];
|
|
66
|
-
export const pairing_response_process_pre_pair: (a: any, b: any) => [number, number, number];
|
|
67
|
-
export const pairing_response_produce: (a: bigint, b: any, c: number, d: number, e: any, f: any, g: number) => [number, number, number];
|
|
68
|
-
export const pairing_response_produce_pre_pair: (a: bigint, b: any, c: number, d: number) => [number, number, number];
|
|
69
|
-
export const recovery_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
70
|
-
export const recovery_request_produce: (a: bigint, b: bigint, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
71
63
|
export const discovery_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
72
64
|
export const discovery_request_produce: (a: bigint, b: number, c: number, d: any) => [number, number, number];
|
|
73
|
-
export const pairing_contact_message_validate: (a: any) => [number, number];
|
|
74
65
|
export const pairing_request_create_contact: (a: bigint, b: number, c: any, d: any) => [number, number, number];
|
|
75
66
|
export const pairing_request_decode_contact: (a: number, b: number) => [number, number, number];
|
|
76
67
|
export const pairing_request_encode_contact: (a: any) => [number, number, number, number];
|
|
77
|
-
export const pairing_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
68
|
+
export const pairing_request_extract: (a: number, b: number, c: number, d: number, e: any) => [number, number, number];
|
|
78
69
|
export const pairing_request_extract_pre_pair: (a: number, b: number) => [number, number, number];
|
|
79
70
|
export const pairing_request_produce: (a: number, b: any, c: any, d: any, e: any) => [number, number, number];
|
|
80
71
|
export const pairing_request_produce_pre_pair: (a: any, b: any) => [number, number, number];
|
|
81
|
-
export const
|
|
82
|
-
export const
|
|
83
|
-
export const
|
|
84
|
-
export const
|
|
72
|
+
export const protocol_version: () => [number, number, number];
|
|
73
|
+
export const unpairing_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
74
|
+
export const unpairing_request_produce: (a: bigint, b: number, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
75
|
+
export const verification_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
76
|
+
export const verification_request_produce: (a: bigint, b: bigint, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
77
|
+
export const generate_replica_id: () => bigint;
|
|
78
|
+
export const recovery_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
79
|
+
export const recovery_response_produce: (a: bigint, b: any, c: any, d: number, e: number) => [number, number, number];
|
|
80
|
+
export const recovery_response_recover: (a: bigint, b: number, c: any) => [number, number, number];
|
|
81
|
+
export const unpairing_response_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
82
|
+
export const unpairing_response_process: (a: any) => [number, number, number];
|
|
83
|
+
export const unpairing_response_produce: (a: bigint, b: number, c: number) => [number, number, number];
|
|
84
|
+
export const recovery_request_extract: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
85
|
+
export const recovery_request_produce: (a: bigint, b: bigint, c: number, d: number, e: number, f: any) => [number, number, number];
|
|
85
86
|
export const wasm_bindgen__convert__closures_____invoke__h379e0770a020d351: (a: number, b: number, c: any) => [number, number];
|
|
86
87
|
export const wasm_bindgen__convert__closures_____invoke__h037700d3f721a480: (a: number, b: number, c: any, d: any) => void;
|
|
87
88
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|