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

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.
@@ -2,44 +2,108 @@
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
4
  export const __wbg_membered_free: (a: number, b: number) => void;
5
- export const __wbg_access_free: (a: number, b: number) => void;
6
- export const __wbg_capability_free: (a: number, b: number) => void;
7
5
  export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
8
- export const access_toString: (a: number) => [number, number];
9
- export const access_tryFromString: (a: number, b: number) => number;
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
+ 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;
16
+ export const __wbg_summary_free: (a: number, b: number) => void;
10
17
  export const capability_can: (a: number) => number;
11
18
  export const capability_proof: (a: number) => number;
12
19
  export const capability_who: (a: number) => number;
13
- export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
14
- export const encryptedcontentwithupdate_update_op: (a: number) => number;
20
+ export const changeid___wasm_refgen_toJsChangeId: (a: number) => number;
21
+ export const changeid_bytes: (a: number) => [number, number];
22
+ export const changeid_new: (a: number, b: number) => number;
23
+ export const delegation_after: (a: number) => number;
24
+ export const delegation_can: (a: number) => number;
25
+ export const delegation_delegate: (a: number) => number;
26
+ 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];
30
+ export const membership_can: (a: number) => number;
31
+ export const membership_who: (a: number) => number;
32
+ export const revocation_after: (a: number) => number;
33
+ export const revocation_proof: (a: number) => number;
34
+ export const revocation_revoked: (a: number) => number;
35
+ 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;
15
43
  export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
16
44
  export const __wbg_invocation_free: (a: number, b: number) => void;
17
45
  export const ciphertextstore_newFromWebStorage: (a: any) => number;
18
46
  export const ciphertextstore_newInMemory: () => number;
19
- export const __wbg_archive_free: (a: number, b: number) => void;
20
- export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
21
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
+ export const __wbg_access_free: (a: number, b: number) => void;
92
+ export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
22
93
  export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
23
- export const __wbg_changeid_free: (a: number, b: number) => void;
24
94
  export const __wbg_contactcard_free: (a: number, b: number) => void;
25
95
  export const __wbg_documentid_free: (a: number, b: number) => void;
26
96
  export const __wbg_event_free: (a: number, b: number) => void;
27
97
  export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
28
98
  export const __wbg_groupid_free: (a: number, b: number) => void;
29
- export const __wbg_identifier_free: (a: number, b: number) => void;
30
99
  export const __wbg_signed_free: (a: number, b: number) => void;
31
100
  export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
32
101
  export const __wbg_signer_free: (a: number, b: number) => void;
33
- export const archive_toBytes: (a: number) => [number, number, number, number];
34
- export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
35
- export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
102
+ export const access_toString: (a: number) => [number, number];
103
+ export const access_tryFromString: (a: number, b: number) => number;
36
104
  export const cgkaoperation_variant: (a: number) => [number, number];
37
- export const changeid___wasm_refgen_toJsChangeId: (a: number) => number;
38
- export const changeid_bytes: (a: number) => [number, number];
39
- export const changeid_new: (a: number, b: number) => number;
40
105
  export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
41
106
  export const contactcard_id: (a: number) => number;
42
- export const contactcard_individualId: (a: number) => number;
43
107
  export const contactcard_op: (a: number) => number;
44
108
  export const contactcard_shareKey: (a: number) => number;
45
109
  export const contactcard_signature: (a: number) => [number, number];
@@ -56,9 +120,6 @@ export const event_tryIntoSignedRevocation: (a: number) => number;
56
120
  export const event_variant: (a: number) => [number, number];
57
121
  export const generatewebcryptoerror_message: (a: number) => [number, number];
58
122
  export const groupid_toString: (a: number) => [number, number];
59
- export const identifier_new: (a: number, b: number) => [number, number, number];
60
- export const identifier_publicId: () => number;
61
- export const identifier_toBytes: (a: number) => [number, number];
62
123
  export const signed_fromBytes: (a: number, b: number) => [number, number, number];
63
124
  export const signed_payload: (a: number) => [number, number];
64
125
  export const signed_signature: (a: number) => [number, number];
@@ -78,68 +139,17 @@ export const signer_trySign: (a: number, b: number, c: number) => any;
78
139
  export const signer_variant: (a: number) => [number, number];
79
140
  export const signer_verifyingKey: (a: number) => [number, number];
80
141
  export const signer_webCryptoSigner: (a: any) => any;
81
- export const __wbg_delegation_free: (a: number, b: number) => void;
82
- export const __wbg_history_free: (a: number, b: number) => void;
83
- export const __wbg_individual_free: (a: number, b: number) => void;
84
- export const __wbg_membership_free: (a: number, b: number) => void;
85
- export const __wbg_revocation_free: (a: number, b: number) => void;
86
- export const __wbg_signeddelegation_free: (a: number, b: number) => void;
87
- export const __wbg_stats_free: (a: number, b: number) => void;
88
- export const __wbg_summary_free: (a: number, b: number) => void;
89
- export const delegation_after: (a: number) => number;
90
- export const delegation_can: (a: number) => number;
91
- export const delegation_delegate: (a: number) => number;
92
- export const delegation_proof: (a: number) => number;
93
- export const history_contentRefs: (a: number) => [number, number];
94
- export const history_delegations: (a: number) => [number, number];
95
- export const history_revocations: (a: number) => [number, number];
96
- export const individual_id: (a: number) => number;
97
- export const individual_pickPrekey: (a: number, b: number) => any;
98
- export const individual_toAgent: (a: number) => number;
99
- export const individual_toPeer: (a: number) => number;
100
- export const membership_can: (a: number) => number;
101
- export const membership_who: (a: number) => number;
102
- export const revocation_after: (a: number) => number;
103
- export const revocation_proof: (a: number) => number;
104
- export const revocation_revoked: (a: number) => number;
105
- export const revocation_subject_id: (a: number) => number;
106
- export const setPanicHook: () => void;
107
- export const signeddelegation_delegation: (a: number) => number;
108
- export const signeddelegation_signature: (a: number) => [number, number];
109
- export const signeddelegation_verify: (a: number) => number;
110
- export const signeddelegation_verifyingKey: (a: number) => [number, number];
111
- export const stats_activePrekeyCount: (a: number) => bigint;
112
- export const stats_cgkaOperations: (a: number) => bigint;
113
- export const stats_delegations: (a: number) => bigint;
114
- export const stats_docs: (a: number) => bigint;
115
- export const stats_groups: (a: number) => bigint;
116
- export const stats_individuals: (a: number) => bigint;
117
- export const stats_pendingCgkaOperation: (a: number) => bigint;
118
- export const stats_pendingCgkaOperationByActive: (a: number) => bigint;
119
- export const stats_pendingDelegated: (a: number) => bigint;
120
- export const stats_pendingDelegatedByActive: (a: number) => bigint;
121
- export const stats_pendingPrekeyRotated: (a: number) => bigint;
122
- export const stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
123
- export const stats_pendingPrekeysExpanded: (a: number) => bigint;
124
- export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
125
- export const stats_pendingRevoked: (a: number) => bigint;
126
- export const stats_pendingRevokedByActive: (a: number) => bigint;
127
- export const stats_prekeyRotations: (a: number) => bigint;
128
- export const stats_prekeysExpanded: (a: number) => bigint;
129
- export const stats_revocations: (a: number) => bigint;
130
- export const stats_totalOps: (a: number) => bigint;
131
- export const stats_totalPendingOps: (a: number) => bigint;
132
- export const summary_access: (a: number) => number;
133
- export const summary_doc: (a: number) => number;
134
- export const individual_individualId: (a: number) => number;
142
+ export const contactcard_individualId: (a: number) => number;
135
143
  export const __wbg_agent_free: (a: number, b: number) => void;
136
144
  export const __wbg_allagentevents_free: (a: number, b: number) => void;
145
+ export const __wbg_archive_free: (a: number, b: number) => void;
137
146
  export const __wbg_document_free: (a: number, b: number) => void;
138
147
  export const __wbg_group_free: (a: number, b: number) => void;
148
+ export const __wbg_individual_free: (a: number, b: number) => void;
139
149
  export const __wbg_individualid_free: (a: number, b: number) => void;
140
150
  export const __wbg_keyhive_free: (a: number, b: number) => void;
141
151
  export const __wbg_peer_free: (a: number, b: number) => void;
142
- export const __wbg_signedinvocation_free: (a: number, b: number) => void;
152
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
143
153
  export const agent_id: (a: number) => number;
144
154
  export const agent_isDocument: (a: number) => number;
145
155
  export const agent_isGroup: (a: number) => number;
@@ -147,11 +157,16 @@ export const agent_isIndividual: (a: number) => number;
147
157
  export const agent_keyOpHashes: (a: number) => any;
148
158
  export const agent_keyOps: (a: number) => any;
149
159
  export const agent_toString: (a: number) => [number, number];
160
+ export const allagentevents_agentCgkaSources: (a: number) => any;
150
161
  export const allagentevents_agentMembershipSources: (a: number) => any;
151
162
  export const allagentevents_agentPrekeySources: (a: number) => any;
163
+ export const allagentevents_cgkaSources: (a: number) => any;
152
164
  export const allagentevents_events: (a: number) => any;
153
165
  export const allagentevents_membershipSources: (a: number) => any;
154
166
  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];
155
170
  export const document___wasm_refgen_toJsDocument: (a: number) => number;
156
171
  export const document_doc_id: (a: number) => number;
157
172
  export const document_toAgent: (a: number) => number;
@@ -162,6 +177,9 @@ export const group_members: (a: number) => any;
162
177
  export const group_toAgent: (a: number) => number;
163
178
  export const group_toMembered: (a: number) => number;
164
179
  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;
165
183
  export const individualid_bytes: (a: number) => [number, number];
166
184
  export const keyhive_accessForDoc: (a: number, b: number, c: number) => any;
167
185
  export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
@@ -209,25 +227,9 @@ export const peer_toString: (a: number) => [number, number];
209
227
  export const document_id: (a: number) => number;
210
228
  export const group_groupId: (a: number) => number;
211
229
  export const group_id: (a: number) => number;
230
+ export const individual_id: (a: number) => number;
231
+ export const individual_individualId: (a: number) => number;
212
232
  export const peer_id: (a: number) => number;
213
- export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
214
- export const __wbg_encrypted_free: (a: number, b: number) => void;
215
- export const __wbg_signedrevocation_free: (a: number, b: number) => void;
216
- export const doccontentrefs_addChangeId: (a: number, b: number) => any;
217
- export const doccontentrefs_change_hashes: (a: number) => any;
218
- export const doccontentrefs_docId: (a: number) => number;
219
- export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
220
- export const encrypted_ciphertext: (a: number) => [number, number];
221
- export const encrypted_content_ref: (a: number) => [number, number];
222
- export const encrypted_nonce: (a: number) => [number, number];
223
- export const encrypted_pcs_key_hash: (a: number) => [number, number];
224
- export const encrypted_pred_refs: (a: number) => [number, number];
225
- export const signedrevocation_delegation: (a: number) => number;
226
- export const signedrevocation_signature: (a: number) => [number, number];
227
- export const signedrevocation_verify: (a: number) => number;
228
- export const signedrevocation_verifyingKey: (a: number) => [number, number];
229
- export const encrypted_toBytes: (a: number) => [number, number];
230
- export const __wbg_sharekey_free: (a: number, b: number) => void;
231
233
  export const wasm_bindgen__closure__destroy__h056ce8b8b10a09c1: (a: number, b: number) => void;
232
234
  export const wasm_bindgen__convert__closures_____invoke__h8e854b3d10a3dc35: (a: number, b: number, c: any) => [number, number];
233
235
  export const wasm_bindgen__convert__closures_____invoke__h2aa9fdfff8d5a8ab: (a: number, b: number, c: any, d: any) => void;