@keyhive/keyhive 0.0.0-alpha.45 → 0.0.0-alpha.46
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/package.json +1 -1
- package/pkg/keyhive_wasm.d.ts +1 -0
- package/pkg/keyhive_wasm_bg.js +11 -4
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +68 -67
- package/pkg-node/keyhive_wasm.d.ts +1 -0
- package/pkg-node/keyhive_wasm.js +11 -4
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +68 -67
- package/pkg-slim/keyhive_wasm.d.ts +69 -67
- package/pkg-slim/keyhive_wasm.js +11 -4
- package/pkg-slim/keyhive_wasm_bg.wasm +0 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.js +1 -1
- package/pkg-slim/keyhive_wasm_bg.wasm.d.ts +68 -67
package/package.json
CHANGED
package/pkg/keyhive_wasm.d.ts
CHANGED
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -1383,7 +1383,7 @@ export class Group {
|
|
|
1383
1383
|
* @returns {Identifier}
|
|
1384
1384
|
*/
|
|
1385
1385
|
get id() {
|
|
1386
|
-
const ret = wasm.
|
|
1386
|
+
const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
|
|
1387
1387
|
return Identifier.__wrap(ret);
|
|
1388
1388
|
}
|
|
1389
1389
|
/**
|
|
@@ -1404,7 +1404,7 @@ export class Group {
|
|
|
1404
1404
|
* @returns {GroupId}
|
|
1405
1405
|
*/
|
|
1406
1406
|
get groupId() {
|
|
1407
|
-
const ret = wasm.
|
|
1407
|
+
const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
|
|
1408
1408
|
return GroupId.__wrap(ret);
|
|
1409
1409
|
}
|
|
1410
1410
|
/**
|
|
@@ -2707,6 +2707,13 @@ export class Stats {
|
|
|
2707
2707
|
const ret = wasm.stats_revocations(this.__wbg_ptr);
|
|
2708
2708
|
return BigInt.asUintN(64, ret);
|
|
2709
2709
|
}
|
|
2710
|
+
/**
|
|
2711
|
+
* @returns {bigint}
|
|
2712
|
+
*/
|
|
2713
|
+
get activePrekeyCount() {
|
|
2714
|
+
const ret = wasm.stats_activePrekeyCount(this.__wbg_ptr);
|
|
2715
|
+
return BigInt.asUintN(64, ret);
|
|
2716
|
+
}
|
|
2710
2717
|
/**
|
|
2711
2718
|
* @returns {bigint}
|
|
2712
2719
|
*/
|
|
@@ -3388,8 +3395,8 @@ export function __wbindgen_cast_ae91babfc5c19b28(arg0, arg1) {
|
|
|
3388
3395
|
return ret;
|
|
3389
3396
|
};
|
|
3390
3397
|
|
|
3391
|
-
export function
|
|
3392
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3398
|
+
export function __wbindgen_cast_b2e692da0ea8478a(arg0, arg1) {
|
|
3399
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 464, function: Function { arguments: [Externref], shim_idx: 465, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3393
3400
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5b88280100d48bc0, wasm_bindgen__convert__closures_____invoke__h0df73e580b12a696);
|
|
3394
3401
|
return ret;
|
|
3395
3402
|
};
|
package/pkg/keyhive_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
5
|
-
export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
|
|
6
4
|
export const __wbg_contactcard_free: (a: number, b: number) => void;
|
|
7
5
|
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
8
6
|
export const __wbg_signed_free: (a: number, b: number) => void;
|
|
9
7
|
export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
10
8
|
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
11
|
-
export const agent_id: (a: number) => number;
|
|
12
|
-
export const agent_isDocument: (a: number) => number;
|
|
13
|
-
export const agent_isGroup: (a: number) => number;
|
|
14
|
-
export const agent_isIndividual: (a: number) => number;
|
|
15
|
-
export const agent_toString: (a: number) => [number, number];
|
|
16
|
-
export const ciphertextstore_newFromWebStorage: (a: any) => number;
|
|
17
|
-
export const ciphertextstore_newInMemory: () => number;
|
|
18
9
|
export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
|
|
19
10
|
export const contactcard_id: (a: number) => number;
|
|
20
11
|
export const contactcard_shareKey: (a: number) => number;
|
|
@@ -39,30 +30,13 @@ export const signedrevocation_verify: (a: number) => number;
|
|
|
39
30
|
export const signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
40
31
|
export const contactcard_individualId: (a: number) => number;
|
|
41
32
|
export const setPanicHook: () => void;
|
|
42
|
-
export const
|
|
43
|
-
export const capability_can: (a: number) => number;
|
|
44
|
-
export const capability_proof: (a: number) => number;
|
|
45
|
-
export const capability_who: (a: number) => number;
|
|
46
|
-
export const __wbg_changeid_free: (a: number, b: number) => void;
|
|
47
|
-
export const __wbg_history_free: (a: number, b: number) => void;
|
|
48
|
-
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
49
|
-
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
50
|
-
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
51
|
-
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
52
|
-
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
53
|
-
export const changeid___wasm_refgen_toChangeId: (a: number) => number;
|
|
54
|
-
export const changeid_bytes: (a: number) => [number, number];
|
|
55
|
-
export const changeid_new: (a: number, b: number) => number;
|
|
56
|
-
export const history_contentRefs: (a: number) => [number, number];
|
|
57
|
-
export const history_delegations: (a: number) => [number, number];
|
|
58
|
-
export const history_revocations: (a: number) => [number, number];
|
|
59
|
-
export const revocation_after: (a: number) => number;
|
|
60
|
-
export const revocation_proof: (a: number) => number;
|
|
61
|
-
export const revocation_revoked: (a: number) => number;
|
|
62
|
-
export const revocation_subject_id: (a: number) => number;
|
|
63
|
-
export const summary_access: (a: number) => number;
|
|
64
|
-
export const summary_doc: (a: number) => number;
|
|
33
|
+
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
65
34
|
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
35
|
+
export const agent_id: (a: number) => number;
|
|
36
|
+
export const agent_isDocument: (a: number) => number;
|
|
37
|
+
export const agent_isGroup: (a: number) => number;
|
|
38
|
+
export const agent_isIndividual: (a: number) => number;
|
|
39
|
+
export const agent_toString: (a: number) => [number, number];
|
|
66
40
|
export const keyhive_accessForDoc: (a: number, b: number, c: number) => any;
|
|
67
41
|
export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
68
42
|
export const keyhive_contactCard: (a: number) => any;
|
|
@@ -94,6 +68,35 @@ export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e:
|
|
|
94
68
|
export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
95
69
|
export const keyhive_trySign: (a: number, b: number, c: number) => any;
|
|
96
70
|
export const keyhive_whoami: (a: number) => number;
|
|
71
|
+
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
72
|
+
export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
|
|
73
|
+
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
74
|
+
export const __wbg_document_free: (a: number, b: number) => void;
|
|
75
|
+
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
76
|
+
export const __wbg_membership_free: (a: number, b: number) => void;
|
|
77
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
78
|
+
export const capability_can: (a: number) => number;
|
|
79
|
+
export const capability_proof: (a: number) => number;
|
|
80
|
+
export const capability_who: (a: number) => number;
|
|
81
|
+
export const ciphertextstore_newFromWebStorage: (a: any) => number;
|
|
82
|
+
export const ciphertextstore_newInMemory: () => number;
|
|
83
|
+
export const delegation_after: (a: number) => number;
|
|
84
|
+
export const delegation_can: (a: number) => number;
|
|
85
|
+
export const delegation_delegate: (a: number) => number;
|
|
86
|
+
export const delegation_proof: (a: number) => number;
|
|
87
|
+
export const document___wasm_refgen_toDocument: (a: number) => number;
|
|
88
|
+
export const document_doc_id: (a: number) => number;
|
|
89
|
+
export const document_toAgent: (a: number) => number;
|
|
90
|
+
export const document_toMembered: (a: number) => number;
|
|
91
|
+
export const document_toPeer: (a: number) => number;
|
|
92
|
+
export const individual_pickPrekey: (a: number, b: number) => any;
|
|
93
|
+
export const individual_toAgent: (a: number) => number;
|
|
94
|
+
export const individual_toPeer: (a: number) => number;
|
|
95
|
+
export const membership_can: (a: number) => number;
|
|
96
|
+
export const membership_who: (a: number) => number;
|
|
97
|
+
export const document_id: (a: number) => number;
|
|
98
|
+
export const individual_id: (a: number) => number;
|
|
99
|
+
export const individual_individualId: (a: number) => number;
|
|
97
100
|
export const __wbg_access_free: (a: number, b: number) => void;
|
|
98
101
|
export const __wbg_archive_free: (a: number, b: number) => void;
|
|
99
102
|
export const __wbg_event_free: (a: number, b: number) => void;
|
|
@@ -113,11 +116,12 @@ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
|
113
116
|
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
114
117
|
export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
115
118
|
export const __wbg_documentid_free: (a: number, b: number) => void;
|
|
116
|
-
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
117
119
|
export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
|
|
120
|
+
export const __wbg_group_free: (a: number, b: number) => void;
|
|
118
121
|
export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
119
122
|
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
120
123
|
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
124
|
+
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
121
125
|
export const __wbg_peer_free: (a: number, b: number) => void;
|
|
122
126
|
export const __wbg_signer_free: (a: number, b: number) => void;
|
|
123
127
|
export const __wbg_stats_free: (a: number, b: number) => void;
|
|
@@ -130,12 +134,12 @@ export const documentid_new: (a: number, b: number) => [number, number, number];
|
|
|
130
134
|
export const documentid_toBytes: (a: number) => [number, number];
|
|
131
135
|
export const documentid_toJsValue: (a: number) => any;
|
|
132
136
|
export const documentid_toString: (a: number) => [number, number];
|
|
133
|
-
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
134
|
-
export const encrypted_content_ref: (a: number) => [number, number];
|
|
135
|
-
export const encrypted_nonce: (a: number) => [number, number];
|
|
136
|
-
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
137
|
-
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
138
137
|
export const generatewebcryptoerror_message: (a: number) => [number, number];
|
|
138
|
+
export const group___wasm_refgen_toGroup: (a: number) => number;
|
|
139
|
+
export const group_members: (a: number) => any;
|
|
140
|
+
export const group_toAgent: (a: number) => number;
|
|
141
|
+
export const group_toMembered: (a: number) => number;
|
|
142
|
+
export const group_toPeer: (a: number) => number;
|
|
139
143
|
export const groupid_toString: (a: number) => [number, number];
|
|
140
144
|
export const identifier_new: (a: number, b: number) => [number, number, number];
|
|
141
145
|
export const identifier_toBytes: (a: number) => [number, number];
|
|
@@ -155,47 +159,44 @@ export const signer_trySign: (a: number, b: number, c: number) => any;
|
|
|
155
159
|
export const signer_variant: (a: number) => [number, number];
|
|
156
160
|
export const signer_verifyingKey: (a: number) => [number, number];
|
|
157
161
|
export const signer_webCryptoSigner: (a: any) => any;
|
|
162
|
+
export const stats_activePrekeyCount: (a: number) => bigint;
|
|
158
163
|
export const stats_delegations: (a: number) => bigint;
|
|
159
164
|
export const stats_docs: (a: number) => bigint;
|
|
160
165
|
export const stats_groups: (a: number) => bigint;
|
|
161
166
|
export const stats_individuals: (a: number) => bigint;
|
|
162
167
|
export const stats_revocations: (a: number) => bigint;
|
|
163
|
-
export const encrypted_toBytes: (a: number) => [number, number];
|
|
164
|
-
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
165
|
-
export const __wbg_document_free: (a: number, b: number) => void;
|
|
166
|
-
export const __wbg_group_free: (a: number, b: number) => void;
|
|
167
|
-
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
168
|
-
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
169
|
-
export const delegation_after: (a: number) => number;
|
|
170
|
-
export const delegation_can: (a: number) => number;
|
|
171
|
-
export const delegation_delegate: (a: number) => number;
|
|
172
|
-
export const delegation_proof: (a: number) => number;
|
|
173
|
-
export const document___wasm_refgen_toDocument: (a: number) => number;
|
|
174
|
-
export const document_doc_id: (a: number) => number;
|
|
175
|
-
export const document_toAgent: (a: number) => number;
|
|
176
|
-
export const document_toMembered: (a: number) => number;
|
|
177
|
-
export const document_toPeer: (a: number) => number;
|
|
178
|
-
export const group___wasm_refgen_toGroup: (a: number) => number;
|
|
179
|
-
export const group_members: (a: number) => any;
|
|
180
|
-
export const group_toAgent: (a: number) => number;
|
|
181
|
-
export const group_toMembered: (a: number) => number;
|
|
182
|
-
export const group_toPeer: (a: number) => number;
|
|
183
|
-
export const individual_pickPrekey: (a: number, b: number) => any;
|
|
184
|
-
export const individual_toAgent: (a: number) => number;
|
|
185
|
-
export const individual_toPeer: (a: number) => number;
|
|
186
|
-
export const document_id: (a: number) => number;
|
|
187
168
|
export const group_groupId: (a: number) => number;
|
|
188
169
|
export const group_id: (a: number) => number;
|
|
189
|
-
export const
|
|
190
|
-
export const individual_individualId: (a: number) => number;
|
|
191
|
-
export const __wbg_membership_free: (a: number, b: number) => void;
|
|
170
|
+
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
192
171
|
export const __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
193
|
-
export const
|
|
194
|
-
export const
|
|
172
|
+
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
173
|
+
export const encrypted_content_ref: (a: number) => [number, number];
|
|
174
|
+
export const encrypted_nonce: (a: number) => [number, number];
|
|
175
|
+
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
176
|
+
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
195
177
|
export const signeddelegation_delegation: (a: number) => number;
|
|
196
178
|
export const signeddelegation_signature: (a: number) => [number, number];
|
|
197
179
|
export const signeddelegation_verify: (a: number) => number;
|
|
198
180
|
export const signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
181
|
+
export const encrypted_toBytes: (a: number) => [number, number];
|
|
182
|
+
export const __wbg_changeid_free: (a: number, b: number) => void;
|
|
183
|
+
export const __wbg_history_free: (a: number, b: number) => void;
|
|
184
|
+
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
185
|
+
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
186
|
+
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
187
|
+
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
188
|
+
export const changeid___wasm_refgen_toChangeId: (a: number) => number;
|
|
189
|
+
export const changeid_bytes: (a: number) => [number, number];
|
|
190
|
+
export const changeid_new: (a: number, b: number) => number;
|
|
191
|
+
export const history_contentRefs: (a: number) => [number, number];
|
|
192
|
+
export const history_delegations: (a: number) => [number, number];
|
|
193
|
+
export const history_revocations: (a: number) => [number, number];
|
|
194
|
+
export const revocation_after: (a: number) => number;
|
|
195
|
+
export const revocation_proof: (a: number) => number;
|
|
196
|
+
export const revocation_revoked: (a: number) => number;
|
|
197
|
+
export const revocation_subject_id: (a: number) => number;
|
|
198
|
+
export const summary_access: (a: number) => number;
|
|
199
|
+
export const summary_doc: (a: number) => number;
|
|
199
200
|
export const wasm_bindgen__convert__closures_____invoke__h0df73e580b12a696: (a: number, b: number, c: any) => void;
|
|
200
201
|
export const wasm_bindgen__closure__destroy__h5b88280100d48bc0: (a: number, b: number) => void;
|
|
201
202
|
export const wasm_bindgen__convert__closures_____invoke__h98c29a8e83383ba7: (a: number, b: number, c: any, d: any) => void;
|
package/pkg-node/keyhive_wasm.js
CHANGED
|
@@ -1409,7 +1409,7 @@ class Group {
|
|
|
1409
1409
|
* @returns {Identifier}
|
|
1410
1410
|
*/
|
|
1411
1411
|
get id() {
|
|
1412
|
-
const ret = wasm.
|
|
1412
|
+
const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
|
|
1413
1413
|
return Identifier.__wrap(ret);
|
|
1414
1414
|
}
|
|
1415
1415
|
/**
|
|
@@ -1430,7 +1430,7 @@ class Group {
|
|
|
1430
1430
|
* @returns {GroupId}
|
|
1431
1431
|
*/
|
|
1432
1432
|
get groupId() {
|
|
1433
|
-
const ret = wasm.
|
|
1433
|
+
const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
|
|
1434
1434
|
return GroupId.__wrap(ret);
|
|
1435
1435
|
}
|
|
1436
1436
|
/**
|
|
@@ -2771,6 +2771,13 @@ class Stats {
|
|
|
2771
2771
|
const ret = wasm.stats_revocations(this.__wbg_ptr);
|
|
2772
2772
|
return BigInt.asUintN(64, ret);
|
|
2773
2773
|
}
|
|
2774
|
+
/**
|
|
2775
|
+
* @returns {bigint}
|
|
2776
|
+
*/
|
|
2777
|
+
get activePrekeyCount() {
|
|
2778
|
+
const ret = wasm.stats_activePrekeyCount(this.__wbg_ptr);
|
|
2779
|
+
return BigInt.asUintN(64, ret);
|
|
2780
|
+
}
|
|
2774
2781
|
/**
|
|
2775
2782
|
* @returns {bigint}
|
|
2776
2783
|
*/
|
|
@@ -3456,8 +3463,8 @@ exports.__wbindgen_cast_ae91babfc5c19b28 = function(arg0, arg1) {
|
|
|
3456
3463
|
return ret;
|
|
3457
3464
|
};
|
|
3458
3465
|
|
|
3459
|
-
exports.
|
|
3460
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3466
|
+
exports.__wbindgen_cast_b2e692da0ea8478a = function(arg0, arg1) {
|
|
3467
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 464, function: Function { arguments: [Externref], shim_idx: 465, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3461
3468
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5b88280100d48bc0, wasm_bindgen__convert__closures_____invoke__h0df73e580b12a696);
|
|
3462
3469
|
return ret;
|
|
3463
3470
|
};
|
|
Binary file
|
|
@@ -1,20 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
5
|
-
export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
|
|
6
4
|
export const __wbg_contactcard_free: (a: number, b: number) => void;
|
|
7
5
|
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
8
6
|
export const __wbg_signed_free: (a: number, b: number) => void;
|
|
9
7
|
export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
10
8
|
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
11
|
-
export const agent_id: (a: number) => number;
|
|
12
|
-
export const agent_isDocument: (a: number) => number;
|
|
13
|
-
export const agent_isGroup: (a: number) => number;
|
|
14
|
-
export const agent_isIndividual: (a: number) => number;
|
|
15
|
-
export const agent_toString: (a: number) => [number, number];
|
|
16
|
-
export const ciphertextstore_newFromWebStorage: (a: any) => number;
|
|
17
|
-
export const ciphertextstore_newInMemory: () => number;
|
|
18
9
|
export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
|
|
19
10
|
export const contactcard_id: (a: number) => number;
|
|
20
11
|
export const contactcard_shareKey: (a: number) => number;
|
|
@@ -39,30 +30,13 @@ export const signedrevocation_verify: (a: number) => number;
|
|
|
39
30
|
export const signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
40
31
|
export const contactcard_individualId: (a: number) => number;
|
|
41
32
|
export const setPanicHook: () => void;
|
|
42
|
-
export const
|
|
43
|
-
export const capability_can: (a: number) => number;
|
|
44
|
-
export const capability_proof: (a: number) => number;
|
|
45
|
-
export const capability_who: (a: number) => number;
|
|
46
|
-
export const __wbg_changeid_free: (a: number, b: number) => void;
|
|
47
|
-
export const __wbg_history_free: (a: number, b: number) => void;
|
|
48
|
-
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
49
|
-
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
50
|
-
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
51
|
-
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
52
|
-
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
53
|
-
export const changeid___wasm_refgen_toChangeId: (a: number) => number;
|
|
54
|
-
export const changeid_bytes: (a: number) => [number, number];
|
|
55
|
-
export const changeid_new: (a: number, b: number) => number;
|
|
56
|
-
export const history_contentRefs: (a: number) => [number, number];
|
|
57
|
-
export const history_delegations: (a: number) => [number, number];
|
|
58
|
-
export const history_revocations: (a: number) => [number, number];
|
|
59
|
-
export const revocation_after: (a: number) => number;
|
|
60
|
-
export const revocation_proof: (a: number) => number;
|
|
61
|
-
export const revocation_revoked: (a: number) => number;
|
|
62
|
-
export const revocation_subject_id: (a: number) => number;
|
|
63
|
-
export const summary_access: (a: number) => number;
|
|
64
|
-
export const summary_doc: (a: number) => number;
|
|
33
|
+
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
65
34
|
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
35
|
+
export const agent_id: (a: number) => number;
|
|
36
|
+
export const agent_isDocument: (a: number) => number;
|
|
37
|
+
export const agent_isGroup: (a: number) => number;
|
|
38
|
+
export const agent_isIndividual: (a: number) => number;
|
|
39
|
+
export const agent_toString: (a: number) => [number, number];
|
|
66
40
|
export const keyhive_accessForDoc: (a: number, b: number, c: number) => any;
|
|
67
41
|
export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
68
42
|
export const keyhive_contactCard: (a: number) => any;
|
|
@@ -94,6 +68,35 @@ export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e:
|
|
|
94
68
|
export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
95
69
|
export const keyhive_trySign: (a: number, b: number, c: number) => any;
|
|
96
70
|
export const keyhive_whoami: (a: number) => number;
|
|
71
|
+
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
72
|
+
export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
|
|
73
|
+
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
74
|
+
export const __wbg_document_free: (a: number, b: number) => void;
|
|
75
|
+
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
76
|
+
export const __wbg_membership_free: (a: number, b: number) => void;
|
|
77
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
78
|
+
export const capability_can: (a: number) => number;
|
|
79
|
+
export const capability_proof: (a: number) => number;
|
|
80
|
+
export const capability_who: (a: number) => number;
|
|
81
|
+
export const ciphertextstore_newFromWebStorage: (a: any) => number;
|
|
82
|
+
export const ciphertextstore_newInMemory: () => number;
|
|
83
|
+
export const delegation_after: (a: number) => number;
|
|
84
|
+
export const delegation_can: (a: number) => number;
|
|
85
|
+
export const delegation_delegate: (a: number) => number;
|
|
86
|
+
export const delegation_proof: (a: number) => number;
|
|
87
|
+
export const document___wasm_refgen_toDocument: (a: number) => number;
|
|
88
|
+
export const document_doc_id: (a: number) => number;
|
|
89
|
+
export const document_toAgent: (a: number) => number;
|
|
90
|
+
export const document_toMembered: (a: number) => number;
|
|
91
|
+
export const document_toPeer: (a: number) => number;
|
|
92
|
+
export const individual_pickPrekey: (a: number, b: number) => any;
|
|
93
|
+
export const individual_toAgent: (a: number) => number;
|
|
94
|
+
export const individual_toPeer: (a: number) => number;
|
|
95
|
+
export const membership_can: (a: number) => number;
|
|
96
|
+
export const membership_who: (a: number) => number;
|
|
97
|
+
export const document_id: (a: number) => number;
|
|
98
|
+
export const individual_id: (a: number) => number;
|
|
99
|
+
export const individual_individualId: (a: number) => number;
|
|
97
100
|
export const __wbg_access_free: (a: number, b: number) => void;
|
|
98
101
|
export const __wbg_archive_free: (a: number, b: number) => void;
|
|
99
102
|
export const __wbg_event_free: (a: number, b: number) => void;
|
|
@@ -113,11 +116,12 @@ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
|
113
116
|
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
114
117
|
export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
115
118
|
export const __wbg_documentid_free: (a: number, b: number) => void;
|
|
116
|
-
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
117
119
|
export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
|
|
120
|
+
export const __wbg_group_free: (a: number, b: number) => void;
|
|
118
121
|
export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
119
122
|
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
120
123
|
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
124
|
+
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
121
125
|
export const __wbg_peer_free: (a: number, b: number) => void;
|
|
122
126
|
export const __wbg_signer_free: (a: number, b: number) => void;
|
|
123
127
|
export const __wbg_stats_free: (a: number, b: number) => void;
|
|
@@ -130,12 +134,12 @@ export const documentid_new: (a: number, b: number) => [number, number, number];
|
|
|
130
134
|
export const documentid_toBytes: (a: number) => [number, number];
|
|
131
135
|
export const documentid_toJsValue: (a: number) => any;
|
|
132
136
|
export const documentid_toString: (a: number) => [number, number];
|
|
133
|
-
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
134
|
-
export const encrypted_content_ref: (a: number) => [number, number];
|
|
135
|
-
export const encrypted_nonce: (a: number) => [number, number];
|
|
136
|
-
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
137
|
-
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
138
137
|
export const generatewebcryptoerror_message: (a: number) => [number, number];
|
|
138
|
+
export const group___wasm_refgen_toGroup: (a: number) => number;
|
|
139
|
+
export const group_members: (a: number) => any;
|
|
140
|
+
export const group_toAgent: (a: number) => number;
|
|
141
|
+
export const group_toMembered: (a: number) => number;
|
|
142
|
+
export const group_toPeer: (a: number) => number;
|
|
139
143
|
export const groupid_toString: (a: number) => [number, number];
|
|
140
144
|
export const identifier_new: (a: number, b: number) => [number, number, number];
|
|
141
145
|
export const identifier_toBytes: (a: number) => [number, number];
|
|
@@ -155,47 +159,44 @@ export const signer_trySign: (a: number, b: number, c: number) => any;
|
|
|
155
159
|
export const signer_variant: (a: number) => [number, number];
|
|
156
160
|
export const signer_verifyingKey: (a: number) => [number, number];
|
|
157
161
|
export const signer_webCryptoSigner: (a: any) => any;
|
|
162
|
+
export const stats_activePrekeyCount: (a: number) => bigint;
|
|
158
163
|
export const stats_delegations: (a: number) => bigint;
|
|
159
164
|
export const stats_docs: (a: number) => bigint;
|
|
160
165
|
export const stats_groups: (a: number) => bigint;
|
|
161
166
|
export const stats_individuals: (a: number) => bigint;
|
|
162
167
|
export const stats_revocations: (a: number) => bigint;
|
|
163
|
-
export const encrypted_toBytes: (a: number) => [number, number];
|
|
164
|
-
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
165
|
-
export const __wbg_document_free: (a: number, b: number) => void;
|
|
166
|
-
export const __wbg_group_free: (a: number, b: number) => void;
|
|
167
|
-
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
168
|
-
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
169
|
-
export const delegation_after: (a: number) => number;
|
|
170
|
-
export const delegation_can: (a: number) => number;
|
|
171
|
-
export const delegation_delegate: (a: number) => number;
|
|
172
|
-
export const delegation_proof: (a: number) => number;
|
|
173
|
-
export const document___wasm_refgen_toDocument: (a: number) => number;
|
|
174
|
-
export const document_doc_id: (a: number) => number;
|
|
175
|
-
export const document_toAgent: (a: number) => number;
|
|
176
|
-
export const document_toMembered: (a: number) => number;
|
|
177
|
-
export const document_toPeer: (a: number) => number;
|
|
178
|
-
export const group___wasm_refgen_toGroup: (a: number) => number;
|
|
179
|
-
export const group_members: (a: number) => any;
|
|
180
|
-
export const group_toAgent: (a: number) => number;
|
|
181
|
-
export const group_toMembered: (a: number) => number;
|
|
182
|
-
export const group_toPeer: (a: number) => number;
|
|
183
|
-
export const individual_pickPrekey: (a: number, b: number) => any;
|
|
184
|
-
export const individual_toAgent: (a: number) => number;
|
|
185
|
-
export const individual_toPeer: (a: number) => number;
|
|
186
|
-
export const document_id: (a: number) => number;
|
|
187
168
|
export const group_groupId: (a: number) => number;
|
|
188
169
|
export const group_id: (a: number) => number;
|
|
189
|
-
export const
|
|
190
|
-
export const individual_individualId: (a: number) => number;
|
|
191
|
-
export const __wbg_membership_free: (a: number, b: number) => void;
|
|
170
|
+
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
192
171
|
export const __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
193
|
-
export const
|
|
194
|
-
export const
|
|
172
|
+
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
173
|
+
export const encrypted_content_ref: (a: number) => [number, number];
|
|
174
|
+
export const encrypted_nonce: (a: number) => [number, number];
|
|
175
|
+
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
176
|
+
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
195
177
|
export const signeddelegation_delegation: (a: number) => number;
|
|
196
178
|
export const signeddelegation_signature: (a: number) => [number, number];
|
|
197
179
|
export const signeddelegation_verify: (a: number) => number;
|
|
198
180
|
export const signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
181
|
+
export const encrypted_toBytes: (a: number) => [number, number];
|
|
182
|
+
export const __wbg_changeid_free: (a: number, b: number) => void;
|
|
183
|
+
export const __wbg_history_free: (a: number, b: number) => void;
|
|
184
|
+
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
185
|
+
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
186
|
+
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
187
|
+
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
188
|
+
export const changeid___wasm_refgen_toChangeId: (a: number) => number;
|
|
189
|
+
export const changeid_bytes: (a: number) => [number, number];
|
|
190
|
+
export const changeid_new: (a: number, b: number) => number;
|
|
191
|
+
export const history_contentRefs: (a: number) => [number, number];
|
|
192
|
+
export const history_delegations: (a: number) => [number, number];
|
|
193
|
+
export const history_revocations: (a: number) => [number, number];
|
|
194
|
+
export const revocation_after: (a: number) => number;
|
|
195
|
+
export const revocation_proof: (a: number) => number;
|
|
196
|
+
export const revocation_revoked: (a: number) => number;
|
|
197
|
+
export const revocation_subject_id: (a: number) => number;
|
|
198
|
+
export const summary_access: (a: number) => number;
|
|
199
|
+
export const summary_doc: (a: number) => number;
|
|
199
200
|
export const wasm_bindgen__convert__closures_____invoke__h0df73e580b12a696: (a: number, b: number, c: any) => void;
|
|
200
201
|
export const wasm_bindgen__closure__destroy__h5b88280100d48bc0: (a: number, b: number) => void;
|
|
201
202
|
export const wasm_bindgen__convert__closures_____invoke__h98c29a8e83383ba7: (a: number, b: number, c: any, d: any) => void;
|