@keyhive/keyhive 0.0.0-alpha.56c → 0.0.0-alpha.58
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/LICENSE +201 -0
- package/package.json +1 -1
- package/pkg/.gitignore +0 -1
- package/pkg/README.md +0 -29
- package/pkg/keyhive_wasm.d.ts +0 -474
- package/pkg/keyhive_wasm.js +0 -9
- package/pkg/keyhive_wasm_bg.js +0 -3460
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +0 -247
- package/pkg/package.json +0 -28
- package/pkg-node/.gitignore +0 -1
- package/pkg-node/README.md +0 -29
- package/pkg-node/keyhive_wasm.d.ts +0 -474
- package/pkg-node/keyhive_wasm.js +0 -3506
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +0 -247
- package/pkg-node/package.json +0 -22
- package/pkg-slim/.gitignore +0 -1
- package/pkg-slim/README.md +0 -29
- package/pkg-slim/index.d.ts +0 -2
- package/pkg-slim/index.js +0 -12
- package/pkg-slim/index.ts +0 -15
- package/pkg-slim/keyhive_wasm.d.ts +0 -746
- package/pkg-slim/keyhive_wasm.js +0 -3560
- package/pkg-slim/keyhive_wasm_bg.wasm +0 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.d.ts +0 -4
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.js +0 -2
- package/pkg-slim/keyhive_wasm_bg.wasm.d.ts +0 -247
- package/pkg-slim/package.json +0 -26
|
@@ -1,746 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
|
|
4
|
-
export class Access {
|
|
5
|
-
private constructor();
|
|
6
|
-
free(): void;
|
|
7
|
-
[Symbol.dispose](): void;
|
|
8
|
-
toString(): string;
|
|
9
|
-
static tryFromString(s: string): Access | undefined;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export class Agent {
|
|
13
|
-
private constructor();
|
|
14
|
-
free(): void;
|
|
15
|
-
[Symbol.dispose](): void;
|
|
16
|
-
isDocument(): boolean;
|
|
17
|
-
isGroup(): boolean;
|
|
18
|
-
isIndividual(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Returns prekey operation hashes for this [`Agent`] as an array of hash bytes.
|
|
21
|
-
*/
|
|
22
|
-
keyOpHashes(): Promise<Uint8Array[]>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns prekey operations for this agent as a Map of hash -> serialized bytes for [`StaticEvent`]
|
|
25
|
-
*/
|
|
26
|
-
keyOps(): Promise<Map<any, any>>;
|
|
27
|
-
toString(): string;
|
|
28
|
-
readonly id: Identifier;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Result of [`JsKeyhive::all_agent_events`], containing all events for all agents
|
|
33
|
-
* with deduplicated storage and two-tier indirection for membership, prekey, and CGKA ops.
|
|
34
|
-
*
|
|
35
|
-
* The consumer follows: agent -> source IDs -> hashes -> event bytes.
|
|
36
|
-
*/
|
|
37
|
-
export class AllAgentEvents {
|
|
38
|
-
private constructor();
|
|
39
|
-
free(): void;
|
|
40
|
-
[Symbol.dispose](): void;
|
|
41
|
-
readonly agentCgkaSources: Map<any, any>;
|
|
42
|
-
readonly agentMembershipSources: Map<any, any>;
|
|
43
|
-
readonly agentPrekeySources: Map<any, any>;
|
|
44
|
-
readonly cgkaSources: Map<any, any>;
|
|
45
|
-
readonly events: Map<any, any>;
|
|
46
|
-
readonly membershipSources: Map<any, any>;
|
|
47
|
-
readonly prekeySources: Map<any, any>;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export class Archive {
|
|
51
|
-
free(): void;
|
|
52
|
-
[Symbol.dispose](): void;
|
|
53
|
-
toBytes(): Uint8Array;
|
|
54
|
-
tryToKeyhive(ciphertext_store: CiphertextStore, signer: Signer, event_handler: Function): Promise<Keyhive>;
|
|
55
|
-
constructor(bytes: Uint8Array);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export class CannotParseEd25519SigningKey {
|
|
59
|
-
private constructor();
|
|
60
|
-
free(): void;
|
|
61
|
-
[Symbol.dispose](): void;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export class CannotParseIdentifier {
|
|
65
|
-
private constructor();
|
|
66
|
-
free(): void;
|
|
67
|
-
[Symbol.dispose](): void;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export class Capability {
|
|
71
|
-
private constructor();
|
|
72
|
-
free(): void;
|
|
73
|
-
[Symbol.dispose](): void;
|
|
74
|
-
readonly can: Access;
|
|
75
|
-
readonly proof: SignedDelegation;
|
|
76
|
-
readonly who: Agent;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export class CgkaOperation {
|
|
80
|
-
private constructor();
|
|
81
|
-
free(): void;
|
|
82
|
-
[Symbol.dispose](): void;
|
|
83
|
-
readonly variant: string;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export class ChangeId {
|
|
87
|
-
free(): void;
|
|
88
|
-
[Symbol.dispose](): void;
|
|
89
|
-
/**
|
|
90
|
-
* Upcasts; to the JS-import type for [`JsChangeId`].
|
|
91
|
-
*/
|
|
92
|
-
__wasm_refgen_toJsChangeId(): ChangeId;
|
|
93
|
-
constructor(bytes: Uint8Array);
|
|
94
|
-
readonly bytes: Uint8Array;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export class CiphertextStore {
|
|
98
|
-
private constructor();
|
|
99
|
-
free(): void;
|
|
100
|
-
[Symbol.dispose](): void;
|
|
101
|
-
static newFromWebStorage(storage: Storage): CiphertextStore;
|
|
102
|
-
static newInMemory(): CiphertextStore;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export class ContactCard {
|
|
106
|
-
private constructor();
|
|
107
|
-
free(): void;
|
|
108
|
-
[Symbol.dispose](): void;
|
|
109
|
-
static fromJson(json: string): ContactCard;
|
|
110
|
-
signature(): Uint8Array;
|
|
111
|
-
toJson(): string;
|
|
112
|
-
readonly id: Identifier;
|
|
113
|
-
readonly individualId: IndividualId;
|
|
114
|
-
readonly op: Event;
|
|
115
|
-
readonly shareKey: ShareKey;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export class Delegation {
|
|
119
|
-
private constructor();
|
|
120
|
-
free(): void;
|
|
121
|
-
[Symbol.dispose](): void;
|
|
122
|
-
readonly after: History;
|
|
123
|
-
readonly can: Access;
|
|
124
|
-
readonly delegate: Agent;
|
|
125
|
-
readonly proof: SignedDelegation | undefined;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export class DocContentRefs {
|
|
129
|
-
free(): void;
|
|
130
|
-
[Symbol.dispose](): void;
|
|
131
|
-
addChangeId(hash: ChangeId): Promise<void>;
|
|
132
|
-
constructor(doc_id: DocumentId, change_hashes: ChangeId[]);
|
|
133
|
-
readonly change_hashes: Promise<ChangeId[]>;
|
|
134
|
-
readonly docId: DocumentId;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export class Document {
|
|
138
|
-
private constructor();
|
|
139
|
-
free(): void;
|
|
140
|
-
[Symbol.dispose](): void;
|
|
141
|
-
/**
|
|
142
|
-
* Upcasts; to the JS-import type for [`JsDocument`].
|
|
143
|
-
*/
|
|
144
|
-
__wasm_refgen_toJsDocument(): Document;
|
|
145
|
-
members(): Promise<Capability[]>;
|
|
146
|
-
toAgent(): Agent;
|
|
147
|
-
toMembered(): Membered;
|
|
148
|
-
toPeer(): Peer;
|
|
149
|
-
readonly doc_id: DocumentId;
|
|
150
|
-
readonly id: Identifier;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export class DocumentId {
|
|
154
|
-
free(): void;
|
|
155
|
-
[Symbol.dispose](): void;
|
|
156
|
-
constructor(bytes: Uint8Array);
|
|
157
|
-
toBytes(): Uint8Array;
|
|
158
|
-
toJsValue(): any;
|
|
159
|
-
toString(): string;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export class Encrypted {
|
|
163
|
-
private constructor();
|
|
164
|
-
free(): void;
|
|
165
|
-
[Symbol.dispose](): void;
|
|
166
|
-
toBytes(): Uint8Array;
|
|
167
|
-
readonly ciphertext: Uint8Array;
|
|
168
|
-
readonly content_ref: Uint8Array;
|
|
169
|
-
readonly nonce: Uint8Array;
|
|
170
|
-
readonly pcs_key_hash: Uint8Array;
|
|
171
|
-
readonly pred_refs: Uint8Array;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export class EncryptedContentWithUpdate {
|
|
175
|
-
private constructor();
|
|
176
|
-
free(): void;
|
|
177
|
-
[Symbol.dispose](): void;
|
|
178
|
-
encrypted_content(): Encrypted;
|
|
179
|
-
update_op(): SignedCgkaOperation | undefined;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export class Event {
|
|
183
|
-
private constructor();
|
|
184
|
-
free(): void;
|
|
185
|
-
[Symbol.dispose](): void;
|
|
186
|
-
/**
|
|
187
|
-
* Converts the underlying [`Event`] to a [`StaticEvent`] and then
|
|
188
|
-
* serializes it.
|
|
189
|
-
*/
|
|
190
|
-
toBytes(): Uint8Array;
|
|
191
|
-
tryIntoSignedDelegation(): SignedDelegation | undefined;
|
|
192
|
-
tryIntoSignedRevocation(): SignedRevocation | undefined;
|
|
193
|
-
readonly isDelegated: boolean;
|
|
194
|
-
readonly isRevoked: boolean;
|
|
195
|
-
readonly variant: string;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export class GenerateWebCryptoError {
|
|
199
|
-
private constructor();
|
|
200
|
-
free(): void;
|
|
201
|
-
[Symbol.dispose](): void;
|
|
202
|
-
message(): string;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export class Group {
|
|
206
|
-
private constructor();
|
|
207
|
-
free(): void;
|
|
208
|
-
[Symbol.dispose](): void;
|
|
209
|
-
/**
|
|
210
|
-
* Upcasts; to the JS-import type for [`JsGroup`].
|
|
211
|
-
*/
|
|
212
|
-
__wasm_refgen_toJsGroup(): Group;
|
|
213
|
-
members(): Promise<Capability[]>;
|
|
214
|
-
toAgent(): Agent;
|
|
215
|
-
toMembered(): Membered;
|
|
216
|
-
toPeer(): Peer;
|
|
217
|
-
readonly groupId: GroupId;
|
|
218
|
-
readonly id: Identifier;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export class GroupId {
|
|
222
|
-
private constructor();
|
|
223
|
-
free(): void;
|
|
224
|
-
[Symbol.dispose](): void;
|
|
225
|
-
toString(): string;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
export class History {
|
|
229
|
-
private constructor();
|
|
230
|
-
free(): void;
|
|
231
|
-
[Symbol.dispose](): void;
|
|
232
|
-
contentRefs(): DocContentRefs[];
|
|
233
|
-
delegations(): SignedDelegation[];
|
|
234
|
-
revocations(): SignedRevocation[];
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
export class Identifier {
|
|
238
|
-
free(): void;
|
|
239
|
-
[Symbol.dispose](): void;
|
|
240
|
-
constructor(bytes: Uint8Array);
|
|
241
|
-
static publicId(): Identifier;
|
|
242
|
-
toBytes(): Uint8Array;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
export class Individual {
|
|
246
|
-
private constructor();
|
|
247
|
-
free(): void;
|
|
248
|
-
[Symbol.dispose](): void;
|
|
249
|
-
pickPrekey(doc_id: DocumentId): Promise<ShareKey>;
|
|
250
|
-
toAgent(): Agent;
|
|
251
|
-
toPeer(): Peer;
|
|
252
|
-
readonly id: Identifier;
|
|
253
|
-
readonly individualId: IndividualId;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
export class IndividualId {
|
|
257
|
-
private constructor();
|
|
258
|
-
free(): void;
|
|
259
|
-
[Symbol.dispose](): void;
|
|
260
|
-
readonly bytes: Uint8Array;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export class Invocation {
|
|
264
|
-
private constructor();
|
|
265
|
-
free(): void;
|
|
266
|
-
[Symbol.dispose](): void;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
export class Keyhive {
|
|
270
|
-
private constructor();
|
|
271
|
-
free(): void;
|
|
272
|
-
[Symbol.dispose](): void;
|
|
273
|
-
accessForDoc(id: Identifier, doc_id: DocumentId): Promise<Access | undefined>;
|
|
274
|
-
addMember(to_add: Agent, membered: Membered, access: Access, other_relevant_docs: Document[]): Promise<SignedDelegation>;
|
|
275
|
-
/**
|
|
276
|
-
* Returns all agent events with deduplicated storage and two-tier indirection
|
|
277
|
-
* for membership, prekey, and CGKA ops.
|
|
278
|
-
*/
|
|
279
|
-
allAgentEvents(): Promise<AllAgentEvents>;
|
|
280
|
-
contactCard(): Promise<ContactCard>;
|
|
281
|
-
docMemberCapabilities(doc_id: DocumentId): Promise<Membership[]>;
|
|
282
|
-
/**
|
|
283
|
-
* Returns event hashes for provided [`JsAgent`] as an array of hash bytes.
|
|
284
|
-
*/
|
|
285
|
-
eventHashesForAgent(agent: Agent): Promise<Array<any>>;
|
|
286
|
-
/**
|
|
287
|
-
* Returns events for provided [`Agent`] as a map from hash to serialized [`StaticEvent`] bytes.
|
|
288
|
-
*/
|
|
289
|
-
eventsForAgent(agent: Agent): Promise<Map<any, any>>;
|
|
290
|
-
expandPrekeys(): Promise<ShareKey>;
|
|
291
|
-
exportPrekeySecrets(): Promise<Uint8Array>;
|
|
292
|
-
forcePcsUpdate(doc: Document): Promise<void>;
|
|
293
|
-
generateDocument(coparents: Peer[], initial_content_ref_head: ChangeId, more_initial_content_refs: ChangeId[]): Promise<Document>;
|
|
294
|
-
generateGroup(js_coparents: Peer[]): Promise<Group>;
|
|
295
|
-
getAgent(id: Identifier): Promise<Agent | undefined>;
|
|
296
|
-
getDocument(doc_id: DocumentId): Promise<Document | undefined>;
|
|
297
|
-
getExistingContactCard(): Promise<ContactCard>;
|
|
298
|
-
getGroup(group_id: GroupId): Promise<Group | undefined>;
|
|
299
|
-
getIndividual(id: IndividualId): Promise<Individual | undefined>;
|
|
300
|
-
importPrekeySecrets(bytes: Uint8Array): Promise<void>;
|
|
301
|
-
ingestArchive(archive: Archive): Promise<void>;
|
|
302
|
-
ingestEventsBytes(events_bytes_array: Array<any>): Promise<Array<any>>;
|
|
303
|
-
static init(signer: Signer, ciphertext_store: CiphertextStore, event_handler: Function): Promise<Keyhive>;
|
|
304
|
-
intoArchive(): Promise<Archive>;
|
|
305
|
-
membershipOpsForAgent(agent: Agent): Promise<Map<any, any>>;
|
|
306
|
-
pendingEventHashes(): Promise<Set<any>>;
|
|
307
|
-
reachableDocs(): Promise<Summary[]>;
|
|
308
|
-
receiveContactCard(contact_card: ContactCard): Promise<Individual>;
|
|
309
|
-
revokeMember(to_revoke: Agent, retain_all_other_members: boolean, membered: Membered): Promise<SignedRevocation[]>;
|
|
310
|
-
revokedMembersForDoc(doc_id: DocumentId): Promise<Membership[]>;
|
|
311
|
-
rotatePrekey(prekey: ShareKey): Promise<ShareKey>;
|
|
312
|
-
stats(): Promise<Stats>;
|
|
313
|
-
toArchive(): Promise<Archive>;
|
|
314
|
-
tryDecrypt(doc: Document, encrypted: Encrypted): Promise<Uint8Array>;
|
|
315
|
-
tryEncrypt(doc: Document, content_ref: ChangeId, js_pred_refs: ChangeId[], content: Uint8Array): Promise<EncryptedContentWithUpdate>;
|
|
316
|
-
tryEncryptArchive(doc: Document, content_ref: ChangeId, pred_refs: ChangeId[], content: Uint8Array): Promise<EncryptedContentWithUpdate>;
|
|
317
|
-
trySign(data: Uint8Array): Promise<Signed>;
|
|
318
|
-
readonly id: IndividualId;
|
|
319
|
-
readonly idString: string;
|
|
320
|
-
readonly individual: Promise<Individual>;
|
|
321
|
-
readonly whoami: IndividualId;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
export class Membered {
|
|
325
|
-
private constructor();
|
|
326
|
-
free(): void;
|
|
327
|
-
[Symbol.dispose](): void;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export class Membership {
|
|
331
|
-
private constructor();
|
|
332
|
-
free(): void;
|
|
333
|
-
[Symbol.dispose](): void;
|
|
334
|
-
readonly can: Access;
|
|
335
|
-
readonly who: Agent;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export class Peer {
|
|
339
|
-
private constructor();
|
|
340
|
-
free(): void;
|
|
341
|
-
[Symbol.dispose](): void;
|
|
342
|
-
/**
|
|
343
|
-
* Upcasts; to the JS-import type for [`JsPeer`].
|
|
344
|
-
*/
|
|
345
|
-
__wasm_refgen_toJsPeer(): Peer;
|
|
346
|
-
isDocument(): boolean;
|
|
347
|
-
isGroup(): boolean;
|
|
348
|
-
isIndividual(): boolean;
|
|
349
|
-
toString(): string;
|
|
350
|
-
readonly id: Identifier;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
export class Revocation {
|
|
354
|
-
private constructor();
|
|
355
|
-
free(): void;
|
|
356
|
-
[Symbol.dispose](): void;
|
|
357
|
-
readonly after: History;
|
|
358
|
-
readonly proof: SignedDelegation | undefined;
|
|
359
|
-
readonly revoked: SignedDelegation;
|
|
360
|
-
readonly subject_id: Identifier;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
export class ShareKey {
|
|
364
|
-
private constructor();
|
|
365
|
-
free(): void;
|
|
366
|
-
[Symbol.dispose](): void;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export class Signed {
|
|
370
|
-
private constructor();
|
|
371
|
-
free(): void;
|
|
372
|
-
[Symbol.dispose](): void;
|
|
373
|
-
static fromBytes(bytes: Uint8Array): Signed;
|
|
374
|
-
toBytes(): Uint8Array;
|
|
375
|
-
verify(): boolean;
|
|
376
|
-
readonly payload: Uint8Array;
|
|
377
|
-
readonly signature: Uint8Array;
|
|
378
|
-
readonly verifyingKey: Uint8Array;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
export class SignedCgkaOperation {
|
|
382
|
-
private constructor();
|
|
383
|
-
free(): void;
|
|
384
|
-
[Symbol.dispose](): void;
|
|
385
|
-
verify(): boolean;
|
|
386
|
-
readonly delegation: CgkaOperation;
|
|
387
|
-
readonly signature: Uint8Array;
|
|
388
|
-
readonly verifyingKey: Uint8Array;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
export class SignedDelegation {
|
|
392
|
-
private constructor();
|
|
393
|
-
free(): void;
|
|
394
|
-
[Symbol.dispose](): void;
|
|
395
|
-
verify(): boolean;
|
|
396
|
-
readonly delegation: Delegation;
|
|
397
|
-
readonly signature: Uint8Array;
|
|
398
|
-
readonly subjectId: Identifier;
|
|
399
|
-
readonly verifyingKey: Uint8Array;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export class SignedInvocation {
|
|
403
|
-
private constructor();
|
|
404
|
-
free(): void;
|
|
405
|
-
[Symbol.dispose](): void;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
export class SignedRevocation {
|
|
409
|
-
private constructor();
|
|
410
|
-
free(): void;
|
|
411
|
-
[Symbol.dispose](): void;
|
|
412
|
-
verify(): boolean;
|
|
413
|
-
readonly delegation: Revocation;
|
|
414
|
-
readonly signature: Uint8Array;
|
|
415
|
-
readonly verifyingKey: Uint8Array;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
export class Signer {
|
|
419
|
-
private constructor();
|
|
420
|
-
free(): void;
|
|
421
|
-
[Symbol.dispose](): void;
|
|
422
|
-
clone(): Signer;
|
|
423
|
-
static generate(): Promise<Signer>;
|
|
424
|
-
static generateMemory(): Signer;
|
|
425
|
-
static generateWebCrypto(): Promise<Signer>;
|
|
426
|
-
static memorySignerFromBytes(bytes: Uint8Array): Signer;
|
|
427
|
-
trySign(bytes: Uint8Array): Promise<Signed>;
|
|
428
|
-
static webCryptoSigner(keypair: any): Promise<Signer>;
|
|
429
|
-
readonly variant: string;
|
|
430
|
-
readonly verifyingKey: Uint8Array;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
export class Stats {
|
|
434
|
-
private constructor();
|
|
435
|
-
free(): void;
|
|
436
|
-
[Symbol.dispose](): void;
|
|
437
|
-
readonly activePrekeyCount: bigint;
|
|
438
|
-
readonly cgkaOperations: bigint;
|
|
439
|
-
readonly delegations: bigint;
|
|
440
|
-
readonly docs: bigint;
|
|
441
|
-
readonly groups: bigint;
|
|
442
|
-
readonly individuals: bigint;
|
|
443
|
-
readonly pendingCgkaOperation: bigint;
|
|
444
|
-
readonly pendingCgkaOperationByActive: bigint;
|
|
445
|
-
readonly pendingDelegated: bigint;
|
|
446
|
-
readonly pendingDelegatedByActive: bigint;
|
|
447
|
-
readonly pendingPrekeyRotated: bigint;
|
|
448
|
-
readonly pendingPrekeyRotatedByActive: bigint;
|
|
449
|
-
readonly pendingPrekeysExpanded: bigint;
|
|
450
|
-
readonly pendingPrekeysExpandedByActive: bigint;
|
|
451
|
-
readonly pendingRevoked: bigint;
|
|
452
|
-
readonly pendingRevokedByActive: bigint;
|
|
453
|
-
readonly prekeyRotations: bigint;
|
|
454
|
-
readonly prekeysExpanded: bigint;
|
|
455
|
-
readonly revocations: bigint;
|
|
456
|
-
readonly totalOps: bigint;
|
|
457
|
-
readonly totalPendingOps: bigint;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
export class Summary {
|
|
461
|
-
private constructor();
|
|
462
|
-
free(): void;
|
|
463
|
-
[Symbol.dispose](): void;
|
|
464
|
-
readonly access: Access;
|
|
465
|
-
readonly doc: Document;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* Panic hook lets us get better error messages if our Rust code ever panics.
|
|
470
|
-
*
|
|
471
|
-
* This function needs to be called at least once during initialisation.
|
|
472
|
-
* https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/template-deep-dive/src-utils-rs.html#2-what-is-console_error_panic_hook
|
|
473
|
-
*/
|
|
474
|
-
export function setPanicHook(): void;
|
|
475
|
-
|
|
476
|
-
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
477
|
-
|
|
478
|
-
export interface InitOutput {
|
|
479
|
-
readonly memory: WebAssembly.Memory;
|
|
480
|
-
readonly __wbg_document_free: (a: number, b: number) => void;
|
|
481
|
-
readonly document___wasm_refgen_toJsDocument: (a: number) => number;
|
|
482
|
-
readonly document_doc_id: (a: number) => number;
|
|
483
|
-
readonly document_members: (a: number) => any;
|
|
484
|
-
readonly document_toAgent: (a: number) => number;
|
|
485
|
-
readonly document_toMembered: (a: number) => number;
|
|
486
|
-
readonly document_toPeer: (a: number) => number;
|
|
487
|
-
readonly setPanicHook: () => void;
|
|
488
|
-
readonly document_id: (a: number) => number;
|
|
489
|
-
readonly __wbg_access_free: (a: number, b: number) => void;
|
|
490
|
-
readonly __wbg_archive_free: (a: number, b: number) => void;
|
|
491
|
-
readonly __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
492
|
-
readonly __wbg_contactcard_free: (a: number, b: number) => void;
|
|
493
|
-
readonly __wbg_groupid_free: (a: number, b: number) => void;
|
|
494
|
-
readonly __wbg_identifier_free: (a: number, b: number) => void;
|
|
495
|
-
readonly __wbg_membership_free: (a: number, b: number) => void;
|
|
496
|
-
readonly __wbg_signed_free: (a: number, b: number) => void;
|
|
497
|
-
readonly __wbg_stats_free: (a: number, b: number) => void;
|
|
498
|
-
readonly access_toString: (a: number) => [number, number];
|
|
499
|
-
readonly access_tryFromString: (a: number, b: number) => number;
|
|
500
|
-
readonly archive_toBytes: (a: number) => [number, number, number, number];
|
|
501
|
-
readonly archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
|
|
502
|
-
readonly archive_try_from_bytes: (a: number, b: number) => [number, number, number];
|
|
503
|
-
readonly contactcard_fromJson: (a: number, b: number) => [number, number, number];
|
|
504
|
-
readonly contactcard_id: (a: number) => number;
|
|
505
|
-
readonly contactcard_individualId: (a: number) => number;
|
|
506
|
-
readonly contactcard_op: (a: number) => number;
|
|
507
|
-
readonly contactcard_shareKey: (a: number) => number;
|
|
508
|
-
readonly contactcard_signature: (a: number) => [number, number];
|
|
509
|
-
readonly contactcard_toJson: (a: number) => [number, number, number, number];
|
|
510
|
-
readonly groupid_toString: (a: number) => [number, number];
|
|
511
|
-
readonly identifier_new: (a: number, b: number) => [number, number, number];
|
|
512
|
-
readonly identifier_publicId: () => number;
|
|
513
|
-
readonly identifier_toBytes: (a: number) => [number, number];
|
|
514
|
-
readonly membership_can: (a: number) => number;
|
|
515
|
-
readonly membership_who: (a: number) => number;
|
|
516
|
-
readonly signed_fromBytes: (a: number, b: number) => [number, number, number];
|
|
517
|
-
readonly signed_payload: (a: number) => [number, number];
|
|
518
|
-
readonly signed_signature: (a: number) => [number, number];
|
|
519
|
-
readonly signed_toBytes: (a: number) => [number, number, number, number];
|
|
520
|
-
readonly signed_verify: (a: number) => number;
|
|
521
|
-
readonly signed_verifyingKey: (a: number) => [number, number];
|
|
522
|
-
readonly stats_activePrekeyCount: (a: number) => bigint;
|
|
523
|
-
readonly stats_cgkaOperations: (a: number) => bigint;
|
|
524
|
-
readonly stats_delegations: (a: number) => bigint;
|
|
525
|
-
readonly stats_docs: (a: number) => bigint;
|
|
526
|
-
readonly stats_groups: (a: number) => bigint;
|
|
527
|
-
readonly stats_individuals: (a: number) => bigint;
|
|
528
|
-
readonly stats_pendingCgkaOperation: (a: number) => bigint;
|
|
529
|
-
readonly stats_pendingCgkaOperationByActive: (a: number) => bigint;
|
|
530
|
-
readonly stats_pendingDelegated: (a: number) => bigint;
|
|
531
|
-
readonly stats_pendingDelegatedByActive: (a: number) => bigint;
|
|
532
|
-
readonly stats_pendingPrekeyRotated: (a: number) => bigint;
|
|
533
|
-
readonly stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
|
|
534
|
-
readonly stats_pendingPrekeysExpanded: (a: number) => bigint;
|
|
535
|
-
readonly stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
|
|
536
|
-
readonly stats_pendingRevoked: (a: number) => bigint;
|
|
537
|
-
readonly stats_pendingRevokedByActive: (a: number) => bigint;
|
|
538
|
-
readonly stats_prekeyRotations: (a: number) => bigint;
|
|
539
|
-
readonly stats_prekeysExpanded: (a: number) => bigint;
|
|
540
|
-
readonly stats_revocations: (a: number) => bigint;
|
|
541
|
-
readonly stats_totalOps: (a: number) => bigint;
|
|
542
|
-
readonly stats_totalPendingOps: (a: number) => bigint;
|
|
543
|
-
readonly __wbg_capability_free: (a: number, b: number) => void;
|
|
544
|
-
readonly __wbg_group_free: (a: number, b: number) => void;
|
|
545
|
-
readonly __wbg_membered_free: (a: number, b: number) => void;
|
|
546
|
-
readonly __wbg_revocation_free: (a: number, b: number) => void;
|
|
547
|
-
readonly capability_can: (a: number) => number;
|
|
548
|
-
readonly capability_proof: (a: number) => number;
|
|
549
|
-
readonly capability_who: (a: number) => number;
|
|
550
|
-
readonly group___wasm_refgen_toJsGroup: (a: number) => number;
|
|
551
|
-
readonly group_groupId: (a: number) => number;
|
|
552
|
-
readonly group_members: (a: number) => any;
|
|
553
|
-
readonly group_toAgent: (a: number) => number;
|
|
554
|
-
readonly group_toMembered: (a: number) => number;
|
|
555
|
-
readonly group_toPeer: (a: number) => number;
|
|
556
|
-
readonly revocation_after: (a: number) => number;
|
|
557
|
-
readonly revocation_proof: (a: number) => number;
|
|
558
|
-
readonly revocation_revoked: (a: number) => number;
|
|
559
|
-
readonly revocation_subject_id: (a: number) => number;
|
|
560
|
-
readonly group_id: (a: number) => number;
|
|
561
|
-
readonly __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
|
|
562
|
-
readonly __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
563
|
-
readonly __wbg_documentid_free: (a: number, b: number) => void;
|
|
564
|
-
readonly __wbg_event_free: (a: number, b: number) => void;
|
|
565
|
-
readonly __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
|
|
566
|
-
readonly __wbg_signer_free: (a: number, b: number) => void;
|
|
567
|
-
readonly cgkaoperation_variant: (a: number) => [number, number];
|
|
568
|
-
readonly documentid_new: (a: number, b: number) => [number, number, number];
|
|
569
|
-
readonly documentid_toBytes: (a: number) => [number, number];
|
|
570
|
-
readonly documentid_toJsValue: (a: number) => any;
|
|
571
|
-
readonly documentid_toString: (a: number) => [number, number];
|
|
572
|
-
readonly event_isDelegated: (a: number) => number;
|
|
573
|
-
readonly event_isRevoked: (a: number) => number;
|
|
574
|
-
readonly event_toBytes: (a: number) => [number, number, number, number];
|
|
575
|
-
readonly event_tryIntoSignedDelegation: (a: number) => number;
|
|
576
|
-
readonly event_tryIntoSignedRevocation: (a: number) => number;
|
|
577
|
-
readonly event_variant: (a: number) => [number, number];
|
|
578
|
-
readonly generatewebcryptoerror_message: (a: number) => [number, number];
|
|
579
|
-
readonly signer_clone: (a: number) => number;
|
|
580
|
-
readonly signer_generate: () => any;
|
|
581
|
-
readonly signer_generateMemory: () => number;
|
|
582
|
-
readonly signer_generateWebCrypto: () => any;
|
|
583
|
-
readonly signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
|
|
584
|
-
readonly signer_trySign: (a: number, b: number, c: number) => any;
|
|
585
|
-
readonly signer_variant: (a: number) => [number, number];
|
|
586
|
-
readonly signer_verifyingKey: (a: number) => [number, number];
|
|
587
|
-
readonly signer_webCryptoSigner: (a: any) => any;
|
|
588
|
-
readonly __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
589
|
-
readonly signedcgkaoperation_delegation: (a: number) => number;
|
|
590
|
-
readonly signedcgkaoperation_signature: (a: number) => [number, number];
|
|
591
|
-
readonly signedcgkaoperation_verify: (a: number) => number;
|
|
592
|
-
readonly signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
593
|
-
readonly __wbg_agent_free: (a: number, b: number) => void;
|
|
594
|
-
readonly __wbg_allagentevents_free: (a: number, b: number) => void;
|
|
595
|
-
readonly __wbg_ciphertextstore_free: (a: number, b: number) => void;
|
|
596
|
-
readonly __wbg_history_free: (a: number, b: number) => void;
|
|
597
|
-
readonly __wbg_individual_free: (a: number, b: number) => void;
|
|
598
|
-
readonly __wbg_invocation_free: (a: number, b: number) => void;
|
|
599
|
-
readonly __wbg_keyhive_free: (a: number, b: number) => void;
|
|
600
|
-
readonly __wbg_peer_free: (a: number, b: number) => void;
|
|
601
|
-
readonly __wbg_sharekey_free: (a: number, b: number) => void;
|
|
602
|
-
readonly agent_id: (a: number) => number;
|
|
603
|
-
readonly agent_isDocument: (a: number) => number;
|
|
604
|
-
readonly agent_isGroup: (a: number) => number;
|
|
605
|
-
readonly agent_isIndividual: (a: number) => number;
|
|
606
|
-
readonly agent_keyOpHashes: (a: number) => any;
|
|
607
|
-
readonly agent_keyOps: (a: number) => any;
|
|
608
|
-
readonly agent_toString: (a: number) => [number, number];
|
|
609
|
-
readonly allagentevents_agentCgkaSources: (a: number) => any;
|
|
610
|
-
readonly allagentevents_agentMembershipSources: (a: number) => any;
|
|
611
|
-
readonly allagentevents_agentPrekeySources: (a: number) => any;
|
|
612
|
-
readonly allagentevents_cgkaSources: (a: number) => any;
|
|
613
|
-
readonly allagentevents_events: (a: number) => any;
|
|
614
|
-
readonly allagentevents_membershipSources: (a: number) => any;
|
|
615
|
-
readonly allagentevents_prekeySources: (a: number) => any;
|
|
616
|
-
readonly ciphertextstore_newFromWebStorage: (a: any) => number;
|
|
617
|
-
readonly ciphertextstore_newInMemory: () => number;
|
|
618
|
-
readonly history_contentRefs: (a: number) => [number, number];
|
|
619
|
-
readonly history_delegations: (a: number) => [number, number];
|
|
620
|
-
readonly history_revocations: (a: number) => [number, number];
|
|
621
|
-
readonly individual_id: (a: number) => number;
|
|
622
|
-
readonly individual_pickPrekey: (a: number, b: number) => any;
|
|
623
|
-
readonly individual_toAgent: (a: number) => number;
|
|
624
|
-
readonly individual_toPeer: (a: number) => number;
|
|
625
|
-
readonly keyhive_accessForDoc: (a: number, b: number, c: number) => any;
|
|
626
|
-
readonly keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
627
|
-
readonly keyhive_allAgentEvents: (a: number) => any;
|
|
628
|
-
readonly keyhive_contactCard: (a: number) => any;
|
|
629
|
-
readonly keyhive_docMemberCapabilities: (a: number, b: number) => any;
|
|
630
|
-
readonly keyhive_eventHashesForAgent: (a: number, b: number) => any;
|
|
631
|
-
readonly keyhive_eventsForAgent: (a: number, b: number) => any;
|
|
632
|
-
readonly keyhive_expandPrekeys: (a: number) => any;
|
|
633
|
-
readonly keyhive_exportPrekeySecrets: (a: number) => any;
|
|
634
|
-
readonly keyhive_forcePcsUpdate: (a: number, b: number) => any;
|
|
635
|
-
readonly keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
636
|
-
readonly keyhive_generateGroup: (a: number, b: number, c: number) => any;
|
|
637
|
-
readonly keyhive_getAgent: (a: number, b: number) => any;
|
|
638
|
-
readonly keyhive_getDocument: (a: number, b: number) => any;
|
|
639
|
-
readonly keyhive_getExistingContactCard: (a: number) => any;
|
|
640
|
-
readonly keyhive_getGroup: (a: number, b: number) => any;
|
|
641
|
-
readonly keyhive_getIndividual: (a: number, b: number) => any;
|
|
642
|
-
readonly keyhive_id: (a: number) => number;
|
|
643
|
-
readonly keyhive_idString: (a: number) => [number, number];
|
|
644
|
-
readonly keyhive_importPrekeySecrets: (a: number, b: number, c: number) => any;
|
|
645
|
-
readonly keyhive_individual: (a: number) => any;
|
|
646
|
-
readonly keyhive_ingestArchive: (a: number, b: number) => any;
|
|
647
|
-
readonly keyhive_ingestEventsBytes: (a: number, b: any) => any;
|
|
648
|
-
readonly keyhive_init: (a: number, b: number, c: any) => any;
|
|
649
|
-
readonly keyhive_intoArchive: (a: number) => any;
|
|
650
|
-
readonly keyhive_membershipOpsForAgent: (a: number, b: number) => any;
|
|
651
|
-
readonly keyhive_pendingEventHashes: (a: number) => any;
|
|
652
|
-
readonly keyhive_reachableDocs: (a: number) => any;
|
|
653
|
-
readonly keyhive_receiveContactCard: (a: number, b: number) => any;
|
|
654
|
-
readonly keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
|
|
655
|
-
readonly keyhive_revokedMembersForDoc: (a: number, b: number) => any;
|
|
656
|
-
readonly keyhive_rotatePrekey: (a: number, b: number) => any;
|
|
657
|
-
readonly keyhive_stats: (a: number) => any;
|
|
658
|
-
readonly keyhive_toArchive: (a: number) => any;
|
|
659
|
-
readonly keyhive_tryDecrypt: (a: number, b: number, c: number) => any;
|
|
660
|
-
readonly keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
661
|
-
readonly keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
662
|
-
readonly keyhive_trySign: (a: number, b: number, c: number) => any;
|
|
663
|
-
readonly keyhive_whoami: (a: number) => number;
|
|
664
|
-
readonly peer___wasm_refgen_toJsPeer: (a: number) => number;
|
|
665
|
-
readonly peer_isDocument: (a: number) => number;
|
|
666
|
-
readonly peer_isGroup: (a: number) => number;
|
|
667
|
-
readonly peer_isIndividual: (a: number) => number;
|
|
668
|
-
readonly peer_toString: (a: number) => [number, number];
|
|
669
|
-
readonly individual_individualId: (a: number) => number;
|
|
670
|
-
readonly peer_id: (a: number) => number;
|
|
671
|
-
readonly __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
672
|
-
readonly __wbg_encrypted_free: (a: number, b: number) => void;
|
|
673
|
-
readonly __wbg_individualid_free: (a: number, b: number) => void;
|
|
674
|
-
readonly __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
675
|
-
readonly __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
676
|
-
readonly doccontentrefs_addChangeId: (a: number, b: number) => any;
|
|
677
|
-
readonly doccontentrefs_change_hashes: (a: number) => any;
|
|
678
|
-
readonly doccontentrefs_docId: (a: number) => number;
|
|
679
|
-
readonly doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
|
|
680
|
-
readonly encrypted_ciphertext: (a: number) => [number, number];
|
|
681
|
-
readonly encrypted_content_ref: (a: number) => [number, number];
|
|
682
|
-
readonly encrypted_nonce: (a: number) => [number, number];
|
|
683
|
-
readonly encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
684
|
-
readonly encrypted_pred_refs: (a: number) => [number, number];
|
|
685
|
-
readonly individualid_bytes: (a: number) => [number, number];
|
|
686
|
-
readonly signeddelegation_delegation: (a: number) => number;
|
|
687
|
-
readonly signeddelegation_signature: (a: number) => [number, number];
|
|
688
|
-
readonly signeddelegation_subjectId: (a: number) => number;
|
|
689
|
-
readonly signeddelegation_verify: (a: number) => number;
|
|
690
|
-
readonly signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
691
|
-
readonly signedrevocation_delegation: (a: number) => number;
|
|
692
|
-
readonly signedrevocation_signature: (a: number) => [number, number];
|
|
693
|
-
readonly signedrevocation_verify: (a: number) => number;
|
|
694
|
-
readonly signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
695
|
-
readonly encrypted_toBytes: (a: number) => [number, number];
|
|
696
|
-
readonly __wbg_changeid_free: (a: number, b: number) => void;
|
|
697
|
-
readonly __wbg_delegation_free: (a: number, b: number) => void;
|
|
698
|
-
readonly __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
699
|
-
readonly __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
700
|
-
readonly __wbg_summary_free: (a: number, b: number) => void;
|
|
701
|
-
readonly changeid___wasm_refgen_toJsChangeId: (a: number) => number;
|
|
702
|
-
readonly changeid_bytes: (a: number) => [number, number];
|
|
703
|
-
readonly changeid_new: (a: number, b: number) => number;
|
|
704
|
-
readonly delegation_after: (a: number) => number;
|
|
705
|
-
readonly delegation_can: (a: number) => number;
|
|
706
|
-
readonly delegation_delegate: (a: number) => number;
|
|
707
|
-
readonly delegation_proof: (a: number) => number;
|
|
708
|
-
readonly encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
709
|
-
readonly encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
710
|
-
readonly summary_access: (a: number) => number;
|
|
711
|
-
readonly summary_doc: (a: number) => number;
|
|
712
|
-
readonly wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7: (a: number, b: number, c: any) => [number, number];
|
|
713
|
-
readonly wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43: (a: number, b: number, c: any, d: any) => void;
|
|
714
|
-
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
715
|
-
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
716
|
-
readonly __wbindgen_exn_store: (a: number) => void;
|
|
717
|
-
readonly __externref_table_alloc: () => number;
|
|
718
|
-
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
719
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
720
|
-
readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
|
|
721
|
-
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
722
|
-
readonly __externref_table_dealloc: (a: number) => void;
|
|
723
|
-
readonly __wbindgen_start: () => void;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* Instantiates the given `module`, which can either be bytes or
|
|
730
|
-
* a precompiled `WebAssembly.Module`.
|
|
731
|
-
*
|
|
732
|
-
* @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
|
|
733
|
-
*
|
|
734
|
-
* @returns {InitOutput}
|
|
735
|
-
*/
|
|
736
|
-
export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
|
740
|
-
* for everything else, calls `WebAssembly.instantiate` directly.
|
|
741
|
-
*
|
|
742
|
-
* @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
|
|
743
|
-
*
|
|
744
|
-
* @returns {Promise<InitOutput>}
|
|
745
|
-
*/
|
|
746
|
-
export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
|