@keyhive/keyhive 0.0.0-alpha.55e → 0.0.0-alpha.56

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,22 +1,27 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_membered_free: (a: number, b: number) => void;
5
- export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
6
- export const __wbg_signedinvocation_free: (a: number, b: number) => void;
7
- export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
8
- export const encryptedcontentwithupdate_update_op: (a: number) => number;
9
4
  export const __wbg_capability_free: (a: number, b: number) => void;
10
- export const __wbg_changeid_free: (a: number, b: number) => void;
11
- export const __wbg_delegation_free: (a: number, b: number) => void;
12
- export const __wbg_history_free: (a: number, b: number) => void;
13
- export const __wbg_membership_free: (a: number, b: number) => void;
14
- export const __wbg_revocation_free: (a: number, b: number) => void;
15
- export const __wbg_signeddelegation_free: (a: number, b: number) => void;
5
+ export const __wbg_document_free: (a: number, b: number) => void;
6
+ export const __wbg_membered_free: (a: number, b: number) => void;
16
7
  export const __wbg_summary_free: (a: number, b: number) => void;
17
8
  export const capability_can: (a: number) => number;
18
9
  export const capability_proof: (a: number) => number;
19
10
  export const capability_who: (a: number) => number;
11
+ export const document___wasm_refgen_toJsDocument: (a: number) => number;
12
+ export const document_doc_id: (a: number) => number;
13
+ export const document_toAgent: (a: number) => number;
14
+ export const document_toMembered: (a: number) => number;
15
+ export const document_toPeer: (a: number) => number;
16
+ export const summary_access: (a: number) => number;
17
+ export const summary_doc: (a: number) => number;
18
+ 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;
20
25
  export const changeid___wasm_refgen_toJsChangeId: (a: number) => number;
21
26
  export const changeid_bytes: (a: number) => [number, number];
22
27
  export const changeid_new: (a: number, b: number) => number;
@@ -24,132 +29,58 @@ export const delegation_after: (a: number) => number;
24
29
  export const delegation_can: (a: number) => number;
25
30
  export const delegation_delegate: (a: number) => number;
26
31
  export const delegation_proof: (a: number) => number;
27
- export const history_contentRefs: (a: number) => [number, number];
28
- export const history_delegations: (a: number) => [number, number];
29
- export const history_revocations: (a: number) => [number, number];
32
+ export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
33
+ export const encryptedcontentwithupdate_update_op: (a: number) => number;
30
34
  export const membership_can: (a: number) => number;
31
35
  export const membership_who: (a: number) => number;
32
36
  export const revocation_after: (a: number) => number;
33
37
  export const revocation_proof: (a: number) => number;
34
38
  export const revocation_revoked: (a: number) => number;
35
39
  export const revocation_subject_id: (a: number) => number;
36
- export const setPanicHook: () => void;
37
- export const signeddelegation_delegation: (a: number) => number;
38
- export const signeddelegation_signature: (a: number) => [number, number];
39
- export const signeddelegation_verify: (a: number) => number;
40
- export const signeddelegation_verifyingKey: (a: number) => [number, number];
41
- export const summary_access: (a: number) => number;
42
- export const summary_doc: (a: number) => number;
43
- export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
44
- export const __wbg_invocation_free: (a: number, b: number) => void;
45
- export const ciphertextstore_newFromWebStorage: (a: any) => number;
46
- export const ciphertextstore_newInMemory: () => number;
47
- export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
48
- export const __wbg_encrypted_free: (a: number, b: number) => void;
49
- export const __wbg_identifier_free: (a: number, b: number) => void;
50
- export const __wbg_stats_free: (a: number, b: number) => void;
51
- export const encrypted_ciphertext: (a: number) => [number, number];
52
- export const encrypted_content_ref: (a: number) => [number, number];
53
- export const encrypted_nonce: (a: number) => [number, number];
54
- export const encrypted_pcs_key_hash: (a: number) => [number, number];
55
- export const encrypted_pred_refs: (a: number) => [number, number];
56
- export const identifier_new: (a: number, b: number) => [number, number, number];
57
- export const identifier_publicId: () => number;
58
- export const identifier_toBytes: (a: number) => [number, number];
59
- export const stats_activePrekeyCount: (a: number) => bigint;
60
- export const stats_cgkaOperations: (a: number) => bigint;
61
- export const stats_delegations: (a: number) => bigint;
62
- export const stats_docs: (a: number) => bigint;
63
- export const stats_groups: (a: number) => bigint;
64
- export const stats_individuals: (a: number) => bigint;
65
- export const stats_pendingCgkaOperation: (a: number) => bigint;
66
- export const stats_pendingCgkaOperationByActive: (a: number) => bigint;
67
- export const stats_pendingDelegated: (a: number) => bigint;
68
- export const stats_pendingDelegatedByActive: (a: number) => bigint;
69
- export const stats_pendingPrekeyRotated: (a: number) => bigint;
70
- export const stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
71
- export const stats_pendingPrekeysExpanded: (a: number) => bigint;
72
- export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
73
- export const stats_pendingRevoked: (a: number) => bigint;
74
- export const stats_pendingRevokedByActive: (a: number) => bigint;
75
- export const stats_prekeyRotations: (a: number) => bigint;
76
- export const stats_prekeysExpanded: (a: number) => bigint;
77
- export const stats_revocations: (a: number) => bigint;
78
- export const stats_totalOps: (a: number) => bigint;
79
- export const stats_totalPendingOps: (a: number) => bigint;
80
- export const encrypted_toBytes: (a: number) => [number, number];
81
- export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
82
- export const __wbg_signedrevocation_free: (a: number, b: number) => void;
83
- export const doccontentrefs_addChangeId: (a: number, b: number) => any;
84
- export const doccontentrefs_change_hashes: (a: number) => any;
85
- export const doccontentrefs_docId: (a: number) => number;
86
- export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
87
- export const signedrevocation_delegation: (a: number) => number;
88
- export const signedrevocation_signature: (a: number) => [number, number];
89
- export const signedrevocation_verify: (a: number) => number;
90
- export const signedrevocation_verifyingKey: (a: number) => [number, number];
91
40
  export const __wbg_access_free: (a: number, b: number) => void;
92
- export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
93
- export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
41
+ export const __wbg_archive_free: (a: number, b: number) => void;
94
42
  export const __wbg_contactcard_free: (a: number, b: number) => void;
95
- export const __wbg_documentid_free: (a: number, b: number) => void;
96
- export const __wbg_event_free: (a: number, b: number) => void;
97
- export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
43
+ export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
98
44
  export const __wbg_groupid_free: (a: number, b: number) => void;
45
+ export const __wbg_individualid_free: (a: number, b: number) => void;
99
46
  export const __wbg_signed_free: (a: number, b: number) => void;
100
- export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
101
- export const __wbg_signer_free: (a: number, b: number) => void;
47
+ export const __wbg_signedrevocation_free: (a: number, b: number) => void;
102
48
  export const access_toString: (a: number) => [number, number];
103
49
  export const access_tryFromString: (a: number, b: number) => number;
104
- export const cgkaoperation_variant: (a: number) => [number, number];
50
+ export const archive_toBytes: (a: number) => [number, number, number, number];
51
+ export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
52
+ export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
105
53
  export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
106
54
  export const contactcard_id: (a: number) => number;
55
+ export const contactcard_individualId: (a: number) => number;
107
56
  export const contactcard_op: (a: number) => number;
108
57
  export const contactcard_shareKey: (a: number) => number;
109
58
  export const contactcard_signature: (a: number) => [number, number];
110
59
  export const contactcard_toJson: (a: number) => [number, number, number, number];
111
- export const documentid_new: (a: number, b: number) => [number, number, number];
112
- export const documentid_toBytes: (a: number) => [number, number];
113
- export const documentid_toJsValue: (a: number) => any;
114
- export const documentid_toString: (a: number) => [number, number];
115
- export const event_isDelegated: (a: number) => number;
116
- export const event_isRevoked: (a: number) => number;
117
- export const event_toBytes: (a: number) => [number, number, number, number];
118
- export const event_tryIntoSignedDelegation: (a: number) => number;
119
- export const event_tryIntoSignedRevocation: (a: number) => number;
120
- export const event_variant: (a: number) => [number, number];
121
- export const generatewebcryptoerror_message: (a: 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];
122
64
  export const groupid_toString: (a: number) => [number, number];
65
+ export const individualid_bytes: (a: number) => [number, number];
123
66
  export const signed_fromBytes: (a: number, b: number) => [number, number, number];
124
67
  export const signed_payload: (a: number) => [number, number];
125
68
  export const signed_signature: (a: number) => [number, number];
126
69
  export const signed_toBytes: (a: number) => [number, number, number, number];
127
70
  export const signed_verify: (a: number) => number;
128
71
  export const signed_verifyingKey: (a: number) => [number, number];
129
- export const signedcgkaoperation_delegation: (a: number) => number;
130
- export const signedcgkaoperation_signature: (a: number) => [number, number];
131
- export const signedcgkaoperation_verify: (a: number) => number;
132
- export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
133
- export const signer_clone: (a: number) => number;
134
- export const signer_generate: () => any;
135
- export const signer_generateMemory: () => number;
136
- export const signer_generateWebCrypto: () => any;
137
- export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
138
- export const signer_trySign: (a: number, b: number, c: number) => any;
139
- export const signer_variant: (a: number) => [number, number];
140
- export const signer_verifyingKey: (a: number) => [number, number];
141
- export const signer_webCryptoSigner: (a: any) => any;
142
- export const contactcard_individualId: (a: 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];
143
76
  export const __wbg_agent_free: (a: number, b: number) => void;
144
77
  export const __wbg_allagentevents_free: (a: number, b: number) => void;
145
- export const __wbg_archive_free: (a: number, b: number) => void;
146
- export const __wbg_document_free: (a: number, b: number) => void;
78
+ export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
147
79
  export const __wbg_group_free: (a: number, b: number) => void;
148
- export const __wbg_individual_free: (a: number, b: number) => void;
149
- export const __wbg_individualid_free: (a: number, b: number) => void;
80
+ export const __wbg_history_free: (a: number, b: number) => void;
81
+ export const __wbg_invocation_free: (a: number, b: number) => void;
150
82
  export const __wbg_keyhive_free: (a: number, b: number) => void;
151
83
  export const __wbg_peer_free: (a: number, b: number) => void;
152
- export const __wbg_sharekey_free: (a: number, b: number) => void;
153
84
  export const agent_id: (a: number) => number;
154
85
  export const agent_isDocument: (a: number) => number;
155
86
  export const agent_isGroup: (a: number) => number;
@@ -164,23 +95,17 @@ export const allagentevents_cgkaSources: (a: number) => any;
164
95
  export const allagentevents_events: (a: number) => any;
165
96
  export const allagentevents_membershipSources: (a: number) => any;
166
97
  export const allagentevents_prekeySources: (a: number) => any;
167
- export const archive_toBytes: (a: number) => [number, number, number, number];
168
- export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
169
- export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
170
- export const document___wasm_refgen_toJsDocument: (a: number) => number;
171
- export const document_doc_id: (a: number) => number;
172
- export const document_toAgent: (a: number) => number;
173
- export const document_toMembered: (a: number) => number;
174
- export const document_toPeer: (a: number) => number;
98
+ export const ciphertextstore_newFromWebStorage: (a: any) => number;
99
+ export const ciphertextstore_newInMemory: () => number;
175
100
  export const group___wasm_refgen_toJsGroup: (a: number) => number;
101
+ export const group_groupId: (a: number) => number;
176
102
  export const group_members: (a: number) => any;
177
103
  export const group_toAgent: (a: number) => number;
178
104
  export const group_toMembered: (a: number) => number;
179
105
  export const group_toPeer: (a: number) => number;
180
- export const individual_pickPrekey: (a: number, b: number) => any;
181
- export const individual_toAgent: (a: number) => number;
182
- export const individual_toPeer: (a: number) => number;
183
- export const individualid_bytes: (a: number) => [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];
184
109
  export const keyhive_accessForDoc: (a: number, b: number, c: number) => any;
185
110
  export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
186
111
  export const keyhive_allAgentEvents: (a: number) => any;
@@ -211,6 +136,7 @@ export const keyhive_pendingEventHashes: (a: number) => any;
211
136
  export const keyhive_reachableDocs: (a: number) => any;
212
137
  export const keyhive_receiveContactCard: (a: number, b: number) => any;
213
138
  export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
139
+ export const keyhive_revokedMembersForDoc: (a: number, b: number) => any;
214
140
  export const keyhive_rotatePrekey: (a: number, b: number) => any;
215
141
  export const keyhive_stats: (a: number) => any;
216
142
  export const keyhive_toArchive: (a: number) => any;
@@ -224,21 +150,97 @@ export const peer_isDocument: (a: number) => number;
224
150
  export const peer_isGroup: (a: number) => number;
225
151
  export const peer_isIndividual: (a: number) => number;
226
152
  export const peer_toString: (a: number) => [number, number];
227
- export const document_id: (a: number) => number;
228
- export const group_groupId: (a: number) => number;
153
+ export const setPanicHook: () => void;
229
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];
230
170
  export const individual_id: (a: number) => number;
231
171
  export const individual_individualId: (a: number) => number;
232
- export const peer_id: (a: number) => number;
233
- export const wasm_bindgen__closure__destroy__h056ce8b8b10a09c1: (a: number, b: number) => void;
234
- export const wasm_bindgen__convert__closures_____invoke__h8e854b3d10a3dc35: (a: number, b: number, c: any) => [number, number];
235
- export const wasm_bindgen__convert__closures_____invoke__h2aa9fdfff8d5a8ab: (a: number, b: number, c: any, d: any) => void;
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];
207
+ export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
208
+ export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
209
+ export const __wbg_documentid_free: (a: number, b: number) => void;
210
+ export const __wbg_event_free: (a: number, b: number) => void;
211
+ export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
212
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
213
+ export const __wbg_signer_free: (a: number, b: number) => void;
214
+ export const cgkaoperation_variant: (a: number) => [number, number];
215
+ export const documentid_new: (a: number, b: number) => [number, number, number];
216
+ export const documentid_toBytes: (a: number) => [number, number];
217
+ export const documentid_toJsValue: (a: number) => any;
218
+ export const documentid_toString: (a: number) => [number, number];
219
+ export const event_isDelegated: (a: number) => number;
220
+ export const event_isRevoked: (a: number) => number;
221
+ export const event_toBytes: (a: number) => [number, number, number, number];
222
+ export const event_tryIntoSignedDelegation: (a: number) => number;
223
+ export const event_tryIntoSignedRevocation: (a: number) => number;
224
+ export const event_variant: (a: number) => [number, number];
225
+ export const generatewebcryptoerror_message: (a: number) => [number, number];
226
+ export const signer_clone: (a: number) => number;
227
+ export const signer_generate: () => any;
228
+ export const signer_generateMemory: () => number;
229
+ export const signer_generateWebCrypto: () => any;
230
+ export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
231
+ export const signer_trySign: (a: number, b: number, c: number) => any;
232
+ export const signer_variant: (a: number) => [number, number];
233
+ export const signer_verifyingKey: (a: number) => [number, number];
234
+ 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;
236
237
  export const __wbindgen_malloc: (a: number, b: number) => number;
237
238
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
238
239
  export const __wbindgen_exn_store: (a: number) => void;
239
240
  export const __externref_table_alloc: () => number;
240
241
  export const __wbindgen_externrefs: WebAssembly.Table;
241
242
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
243
+ export const __wbindgen_destroy_closure: (a: number, b: number) => void;
242
244
  export const __externref_drop_slice: (a: number, b: number) => void;
243
245
  export const __externref_table_dealloc: (a: number) => void;
244
246
  export const __wbindgen_start: () => void;
@@ -7,7 +7,7 @@
7
7
  "Brooklyn Zelenka <hello@brooklynzelenka.com>"
8
8
  ],
9
9
  "description": "WebAssembly wrappers for keyhive_core",
10
- "version": "0.2.0-alpha.1",
10
+ "version": "0.3.0",
11
11
  "license": "Apache-2.0",
12
12
  "repository": {
13
13
  "type": "git",