@keyhive/keyhive 0.0.0-alpha.56 → 0.0.0-alpha.56b

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.
@@ -1,50 +1,24 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_capability_free: (a: number, b: number) => void;
5
4
  export const __wbg_document_free: (a: number, b: number) => void;
6
- export const __wbg_membered_free: (a: number, b: number) => void;
7
- export const __wbg_summary_free: (a: number, b: number) => void;
8
- export const capability_can: (a: number) => number;
9
- export const capability_proof: (a: number) => number;
10
- export const capability_who: (a: number) => number;
11
5
  export const document___wasm_refgen_toJsDocument: (a: number) => number;
12
6
  export const document_doc_id: (a: number) => number;
7
+ export const document_members: (a: number) => any;
13
8
  export const document_toAgent: (a: number) => number;
14
9
  export const document_toMembered: (a: number) => number;
15
10
  export const document_toPeer: (a: number) => number;
16
- export const summary_access: (a: number) => number;
17
- export const summary_doc: (a: number) => number;
11
+ export const setPanicHook: () => void;
18
12
  export const document_id: (a: number) => number;
19
- export const __wbg_changeid_free: (a: number, b: number) => void;
20
- export const __wbg_delegation_free: (a: number, b: number) => void;
21
- export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
22
- export const __wbg_membership_free: (a: number, b: number) => void;
23
- export const __wbg_revocation_free: (a: number, b: number) => void;
24
- export const __wbg_signedinvocation_free: (a: number, b: number) => void;
25
- export const changeid___wasm_refgen_toJsChangeId: (a: number) => number;
26
- export const changeid_bytes: (a: number) => [number, number];
27
- export const changeid_new: (a: number, b: number) => number;
28
- export const delegation_after: (a: number) => number;
29
- export const delegation_can: (a: number) => number;
30
- export const delegation_delegate: (a: number) => number;
31
- export const delegation_proof: (a: number) => number;
32
- export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
33
- export const encryptedcontentwithupdate_update_op: (a: number) => number;
34
- export const membership_can: (a: number) => number;
35
- export const membership_who: (a: number) => number;
36
- export const revocation_after: (a: number) => number;
37
- export const revocation_proof: (a: number) => number;
38
- export const revocation_revoked: (a: number) => number;
39
- export const revocation_subject_id: (a: number) => number;
40
13
  export const __wbg_access_free: (a: number, b: number) => void;
41
14
  export const __wbg_archive_free: (a: number, b: number) => void;
15
+ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
42
16
  export const __wbg_contactcard_free: (a: number, b: number) => void;
43
- export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
44
17
  export const __wbg_groupid_free: (a: number, b: number) => void;
45
- export const __wbg_individualid_free: (a: number, b: number) => void;
18
+ export const __wbg_identifier_free: (a: number, b: number) => void;
19
+ export const __wbg_membership_free: (a: number, b: number) => void;
46
20
  export const __wbg_signed_free: (a: number, b: number) => void;
47
- export const __wbg_signedrevocation_free: (a: number, b: number) => void;
21
+ export const __wbg_stats_free: (a: number, b: number) => void;
48
22
  export const access_toString: (a: number) => [number, number];
49
23
  export const access_tryFromString: (a: number, b: number) => number;
50
24
  export const archive_toBytes: (a: number) => [number, number, number, number];
@@ -57,27 +31,43 @@ export const contactcard_op: (a: number) => number;
57
31
  export const contactcard_shareKey: (a: number) => number;
58
32
  export const contactcard_signature: (a: number) => [number, number];
59
33
  export const contactcard_toJson: (a: number) => [number, number, number, number];
60
- export const doccontentrefs_addChangeId: (a: number, b: number) => any;
61
- export const doccontentrefs_change_hashes: (a: number) => any;
62
- export const doccontentrefs_docId: (a: number) => number;
63
- export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
64
34
  export const groupid_toString: (a: number) => [number, number];
65
- export const individualid_bytes: (a: number) => [number, number];
35
+ export const identifier_new: (a: number, b: number) => [number, number, number];
36
+ export const identifier_publicId: () => number;
37
+ export const identifier_toBytes: (a: number) => [number, number];
38
+ export const membership_can: (a: number) => number;
39
+ export const membership_who: (a: number) => number;
66
40
  export const signed_fromBytes: (a: number, b: number) => [number, number, number];
67
41
  export const signed_payload: (a: number) => [number, number];
68
42
  export const signed_signature: (a: number) => [number, number];
69
43
  export const signed_toBytes: (a: number) => [number, number, number, number];
70
44
  export const signed_verify: (a: number) => number;
71
45
  export const signed_verifyingKey: (a: number) => [number, number];
72
- export const signedrevocation_delegation: (a: number) => number;
73
- export const signedrevocation_signature: (a: number) => [number, number];
74
- export const signedrevocation_verify: (a: number) => number;
75
- export const signedrevocation_verifyingKey: (a: number) => [number, number];
46
+ export const stats_activePrekeyCount: (a: number) => bigint;
47
+ export const stats_cgkaOperations: (a: number) => bigint;
48
+ export const stats_delegations: (a: number) => bigint;
49
+ export const stats_docs: (a: number) => bigint;
50
+ export const stats_groups: (a: number) => bigint;
51
+ export const stats_individuals: (a: number) => bigint;
52
+ export const stats_pendingCgkaOperation: (a: number) => bigint;
53
+ export const stats_pendingCgkaOperationByActive: (a: number) => bigint;
54
+ export const stats_pendingDelegated: (a: number) => bigint;
55
+ export const stats_pendingDelegatedByActive: (a: number) => bigint;
56
+ export const stats_pendingPrekeyRotated: (a: number) => bigint;
57
+ export const stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
58
+ export const stats_pendingPrekeysExpanded: (a: number) => bigint;
59
+ export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
60
+ export const stats_pendingRevoked: (a: number) => bigint;
61
+ export const stats_pendingRevokedByActive: (a: number) => bigint;
62
+ export const stats_prekeyRotations: (a: number) => bigint;
63
+ export const stats_prekeysExpanded: (a: number) => bigint;
64
+ export const stats_revocations: (a: number) => bigint;
65
+ export const stats_totalOps: (a: number) => bigint;
66
+ export const stats_totalPendingOps: (a: number) => bigint;
76
67
  export const __wbg_agent_free: (a: number, b: number) => void;
77
68
  export const __wbg_allagentevents_free: (a: number, b: number) => void;
78
69
  export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
79
- export const __wbg_group_free: (a: number, b: number) => void;
80
- export const __wbg_history_free: (a: number, b: number) => void;
70
+ export const __wbg_individual_free: (a: number, b: number) => void;
81
71
  export const __wbg_invocation_free: (a: number, b: number) => void;
82
72
  export const __wbg_keyhive_free: (a: number, b: number) => void;
83
73
  export const __wbg_peer_free: (a: number, b: number) => void;
@@ -97,15 +87,10 @@ export const allagentevents_membershipSources: (a: number) => any;
97
87
  export const allagentevents_prekeySources: (a: number) => any;
98
88
  export const ciphertextstore_newFromWebStorage: (a: any) => number;
99
89
  export const ciphertextstore_newInMemory: () => number;
100
- export const group___wasm_refgen_toJsGroup: (a: number) => number;
101
- export const group_groupId: (a: number) => number;
102
- export const group_members: (a: number) => any;
103
- export const group_toAgent: (a: number) => number;
104
- export const group_toMembered: (a: number) => number;
105
- export const group_toPeer: (a: number) => number;
106
- export const history_contentRefs: (a: number) => [number, number];
107
- export const history_delegations: (a: number) => [number, number];
108
- export const history_revocations: (a: number) => [number, number];
90
+ export const individual_id: (a: number) => number;
91
+ export const individual_pickPrekey: (a: number, b: number) => any;
92
+ export const individual_toAgent: (a: number) => number;
93
+ export const individual_toPeer: (a: number) => number;
109
94
  export const keyhive_accessForDoc: (a: number, b: number, c: number) => any;
110
95
  export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
111
96
  export const keyhive_allAgentEvents: (a: number) => any;
@@ -150,66 +135,13 @@ export const peer_isDocument: (a: number) => number;
150
135
  export const peer_isGroup: (a: number) => number;
151
136
  export const peer_isIndividual: (a: number) => number;
152
137
  export const peer_toString: (a: number) => [number, number];
153
- export const setPanicHook: () => void;
154
- export const group_id: (a: number) => number;
155
- export const peer_id: (a: number) => number;
156
- export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
157
- export const __wbg_encrypted_free: (a: number, b: number) => void;
158
- export const __wbg_identifier_free: (a: number, b: number) => void;
159
- export const __wbg_individual_free: (a: number, b: number) => void;
160
- export const __wbg_signeddelegation_free: (a: number, b: number) => void;
161
- export const __wbg_stats_free: (a: number, b: number) => void;
162
- export const encrypted_ciphertext: (a: number) => [number, number];
163
- export const encrypted_content_ref: (a: number) => [number, number];
164
- export const encrypted_nonce: (a: number) => [number, number];
165
- export const encrypted_pcs_key_hash: (a: number) => [number, number];
166
- export const encrypted_pred_refs: (a: number) => [number, number];
167
- export const identifier_new: (a: number, b: number) => [number, number, number];
168
- export const identifier_publicId: () => number;
169
- export const identifier_toBytes: (a: number) => [number, number];
170
- export const individual_id: (a: number) => number;
171
138
  export const individual_individualId: (a: number) => number;
172
- export const individual_pickPrekey: (a: number, b: number) => any;
173
- export const individual_toAgent: (a: number) => number;
174
- export const individual_toPeer: (a: number) => number;
175
- export const signeddelegation_delegation: (a: number) => number;
176
- export const signeddelegation_signature: (a: number) => [number, number];
177
- export const signeddelegation_subjectId: (a: number) => number;
178
- export const signeddelegation_verify: (a: number) => number;
179
- export const signeddelegation_verifyingKey: (a: number) => [number, number];
180
- export const stats_activePrekeyCount: (a: number) => bigint;
181
- export const stats_cgkaOperations: (a: number) => bigint;
182
- export const stats_delegations: (a: number) => bigint;
183
- export const stats_docs: (a: number) => bigint;
184
- export const stats_groups: (a: number) => bigint;
185
- export const stats_individuals: (a: number) => bigint;
186
- export const stats_pendingCgkaOperation: (a: number) => bigint;
187
- export const stats_pendingCgkaOperationByActive: (a: number) => bigint;
188
- export const stats_pendingDelegated: (a: number) => bigint;
189
- export const stats_pendingDelegatedByActive: (a: number) => bigint;
190
- export const stats_pendingPrekeyRotated: (a: number) => bigint;
191
- export const stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
192
- export const stats_pendingPrekeysExpanded: (a: number) => bigint;
193
- export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
194
- export const stats_pendingRevoked: (a: number) => bigint;
195
- export const stats_pendingRevokedByActive: (a: number) => bigint;
196
- export const stats_prekeyRotations: (a: number) => bigint;
197
- export const stats_prekeysExpanded: (a: number) => bigint;
198
- export const stats_revocations: (a: number) => bigint;
199
- export const stats_totalOps: (a: number) => bigint;
200
- export const stats_totalPendingOps: (a: number) => bigint;
201
- export const encrypted_toBytes: (a: number) => [number, number];
202
- export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
203
- export const signedcgkaoperation_delegation: (a: number) => number;
204
- export const signedcgkaoperation_signature: (a: number) => [number, number];
205
- export const signedcgkaoperation_verify: (a: number) => number;
206
- export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
139
+ export const peer_id: (a: number) => number;
207
140
  export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
208
141
  export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
209
142
  export const __wbg_documentid_free: (a: number, b: number) => void;
210
143
  export const __wbg_event_free: (a: number, b: number) => void;
211
144
  export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
212
- export const __wbg_sharekey_free: (a: number, b: number) => void;
213
145
  export const __wbg_signer_free: (a: number, b: number) => void;
214
146
  export const cgkaoperation_variant: (a: number) => [number, number];
215
147
  export const documentid_new: (a: number, b: number) => [number, number, number];
@@ -232,8 +164,77 @@ export const signer_trySign: (a: number, b: number, c: number) => any;
232
164
  export const signer_variant: (a: number) => [number, number];
233
165
  export const signer_verifyingKey: (a: number) => [number, number];
234
166
  export const signer_webCryptoSigner: (a: any) => any;
235
- export const wasm_bindgen__convert__closures_____invoke__hfe01cfbe4f7f9695: (a: number, b: number, c: any) => [number, number];
236
- export const wasm_bindgen__convert__closures_____invoke__h6ae8cb20b693673b: (a: number, b: number, c: any, d: any) => void;
167
+ export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
168
+ export const signedcgkaoperation_delegation: (a: number) => number;
169
+ export const signedcgkaoperation_signature: (a: number) => [number, number];
170
+ export const signedcgkaoperation_verify: (a: number) => number;
171
+ export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
172
+ export const __wbg_capability_free: (a: number, b: number) => void;
173
+ export const __wbg_group_free: (a: number, b: number) => void;
174
+ export const __wbg_membered_free: (a: number, b: number) => void;
175
+ export const __wbg_revocation_free: (a: number, b: number) => void;
176
+ export const capability_can: (a: number) => number;
177
+ export const capability_proof: (a: number) => number;
178
+ export const capability_who: (a: number) => number;
179
+ export const group___wasm_refgen_toJsGroup: (a: number) => number;
180
+ export const group_groupId: (a: number) => number;
181
+ export const group_members: (a: number) => any;
182
+ export const group_toAgent: (a: number) => number;
183
+ export const group_toMembered: (a: number) => number;
184
+ export const group_toPeer: (a: number) => number;
185
+ export const revocation_after: (a: number) => number;
186
+ export const revocation_proof: (a: number) => number;
187
+ export const revocation_revoked: (a: number) => number;
188
+ export const revocation_subject_id: (a: number) => number;
189
+ export const group_id: (a: number) => number;
190
+ export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
191
+ export const __wbg_encrypted_free: (a: number, b: number) => void;
192
+ export const __wbg_individualid_free: (a: number, b: number) => void;
193
+ export const __wbg_signeddelegation_free: (a: number, b: number) => void;
194
+ export const __wbg_signedrevocation_free: (a: number, b: number) => void;
195
+ export const doccontentrefs_addChangeId: (a: number, b: number) => any;
196
+ export const doccontentrefs_change_hashes: (a: number) => any;
197
+ export const doccontentrefs_docId: (a: number) => number;
198
+ export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
199
+ export const encrypted_ciphertext: (a: number) => [number, number];
200
+ export const encrypted_content_ref: (a: number) => [number, number];
201
+ export const encrypted_nonce: (a: number) => [number, number];
202
+ export const encrypted_pcs_key_hash: (a: number) => [number, number];
203
+ export const encrypted_pred_refs: (a: number) => [number, number];
204
+ export const individualid_bytes: (a: number) => [number, number];
205
+ export const signeddelegation_delegation: (a: number) => number;
206
+ export const signeddelegation_signature: (a: number) => [number, number];
207
+ export const signeddelegation_subjectId: (a: number) => number;
208
+ export const signeddelegation_verify: (a: number) => number;
209
+ export const signeddelegation_verifyingKey: (a: number) => [number, number];
210
+ export const signedrevocation_delegation: (a: number) => number;
211
+ export const signedrevocation_signature: (a: number) => [number, number];
212
+ export const signedrevocation_verify: (a: number) => number;
213
+ export const signedrevocation_verifyingKey: (a: number) => [number, number];
214
+ export const encrypted_toBytes: (a: number) => [number, number];
215
+ export const __wbg_changeid_free: (a: number, b: number) => void;
216
+ export const __wbg_delegation_free: (a: number, b: number) => void;
217
+ export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
218
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
219
+ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
220
+ export const __wbg_summary_free: (a: number, b: number) => void;
221
+ export const changeid___wasm_refgen_toJsChangeId: (a: number) => number;
222
+ export const changeid_bytes: (a: number) => [number, number];
223
+ export const changeid_new: (a: number, b: number) => number;
224
+ export const delegation_after: (a: number) => number;
225
+ export const delegation_can: (a: number) => number;
226
+ export const delegation_delegate: (a: number) => number;
227
+ export const delegation_proof: (a: number) => number;
228
+ export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
229
+ export const encryptedcontentwithupdate_update_op: (a: number) => number;
230
+ export const summary_access: (a: number) => number;
231
+ export const summary_doc: (a: number) => number;
232
+ export const __wbg_history_free: (a: number, b: number) => void;
233
+ export const history_contentRefs: (a: number) => [number, number];
234
+ export const history_delegations: (a: number) => [number, number];
235
+ export const history_revocations: (a: number) => [number, number];
236
+ export const wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7: (a: number, b: number, c: any) => [number, number];
237
+ export const wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43: (a: number, b: number, c: any, d: any) => void;
237
238
  export const __wbindgen_malloc: (a: number, b: number) => number;
238
239
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
239
240
  export const __wbindgen_exn_store: (a: number) => void;