@keyhive/keyhive 0.0.0-alpha.51 → 0.0.0-alpha.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keyhive/keyhive",
3
- "version": "0.0.0-alpha.51",
3
+ "version": "0.0.0-alpha.52",
4
4
  "description": "",
5
5
  "main": "pkg/keyhive_wasm.js",
6
6
  "keywords": [],
@@ -16,6 +16,10 @@ export class Agent {
16
16
  isDocument(): boolean;
17
17
  toString(): string;
18
18
  isIndividual(): boolean;
19
+ /**
20
+ * Returns prekey operations for this agent as a Map of hash -> Event
21
+ */
22
+ keyOps(): Promise<Map<any, any>>;
19
23
  isGroup(): boolean;
20
24
  readonly id: Identifier;
21
25
  }
@@ -515,6 +515,14 @@ export class Agent {
515
515
  const ret = wasm.agent_id(this.__wbg_ptr);
516
516
  return Identifier.__wrap(ret);
517
517
  }
518
+ /**
519
+ * Returns prekey operations for this agent as a Map of hash -> Event
520
+ * @returns {Promise<Map<any, any>>}
521
+ */
522
+ keyOps() {
523
+ const ret = wasm.agent_keyOps(this.__wbg_ptr);
524
+ return ret;
525
+ }
518
526
  /**
519
527
  * @returns {boolean}
520
528
  */
@@ -1397,7 +1405,7 @@ export class Group {
1397
1405
  * @returns {Identifier}
1398
1406
  */
1399
1407
  get id() {
1400
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1408
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1401
1409
  return Identifier.__wrap(ret);
1402
1410
  }
1403
1411
  /**
@@ -1418,7 +1426,7 @@ export class Group {
1418
1426
  * @returns {GroupId}
1419
1427
  */
1420
1428
  get groupId() {
1421
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1429
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1422
1430
  return GroupId.__wrap(ret);
1423
1431
  }
1424
1432
  /**
@@ -1591,14 +1599,14 @@ export class Individual {
1591
1599
  * @returns {IndividualId}
1592
1600
  */
1593
1601
  get individualId() {
1594
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1602
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1595
1603
  return IndividualId.__wrap(ret);
1596
1604
  }
1597
1605
  /**
1598
1606
  * @returns {Identifier}
1599
1607
  */
1600
1608
  get id() {
1601
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1609
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1602
1610
  return Identifier.__wrap(ret);
1603
1611
  }
1604
1612
  /**
@@ -3369,12 +3377,6 @@ export function __wbindgen_cast_25a0a844437d0e92(arg0, arg1) {
3369
3377
  return ret;
3370
3378
  };
3371
3379
 
3372
- export function __wbindgen_cast_4d3bc2b370a03c03(arg0, arg1) {
3373
- // Cast intrinsic for `Closure(Closure { dtor_idx: 469, function: Function { arguments: [Externref], shim_idx: 470, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3374
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3375
- return ret;
3376
- };
3377
-
3378
3380
  export function __wbindgen_cast_6300122139088863(arg0, arg1) {
3379
3381
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
3380
3382
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -3429,6 +3431,12 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
3429
3431
  return ret;
3430
3432
  };
3431
3433
 
3434
+ export function __wbindgen_cast_f6a59d405c61762b(arg0, arg1) {
3435
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 474, function: Function { arguments: [Externref], shim_idx: 475, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3436
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3437
+ return ret;
3438
+ };
3439
+
3432
3440
  export function __wbindgen_init_externref_table() {
3433
3441
  const table = wasm.__wbindgen_externrefs;
3434
3442
  const offset = table.grow(4);
Binary file
@@ -9,6 +9,7 @@ export const agent_id: (a: number) => number;
9
9
  export const agent_isDocument: (a: number) => number;
10
10
  export const agent_isGroup: (a: number) => number;
11
11
  export const agent_isIndividual: (a: number) => number;
12
+ export const agent_keyOps: (a: number) => any;
12
13
  export const agent_toString: (a: number) => [number, number];
13
14
  export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
14
15
  export const contactcard_id: (a: number) => number;
@@ -70,21 +71,13 @@ export const keyhive_trySign: (a: number, b: number, c: number) => any;
70
71
  export const setPanicHook: () => void;
71
72
  export const encrypted_toBytes: (a: number) => [number, number];
72
73
  export const keyhive_whoami: (a: number) => number;
73
- export const __wbg_changeid_free: (a: number, b: number) => void;
74
- export const __wbg_invocation_free: (a: number, b: number) => void;
75
- export const __wbg_membered_free: (a: number, b: number) => void;
76
- export const __wbg_summary_free: (a: number, b: number) => void;
77
- export const changeid___wasm_refgen_toChangeId: (a: number) => number;
78
- export const changeid_bytes: (a: number) => [number, number];
79
- export const changeid_new: (a: number, b: number) => number;
80
- export const summary_access: (a: number) => number;
81
- export const summary_doc: (a: number) => number;
82
74
  export const __wbg_capability_free: (a: number, b: number) => void;
83
75
  export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
84
76
  export const __wbg_delegation_free: (a: number, b: number) => void;
85
- export const __wbg_document_free: (a: number, b: number) => void;
86
77
  export const __wbg_group_free: (a: number, b: number) => void;
87
78
  export const __wbg_individual_free: (a: number, b: number) => void;
79
+ export const __wbg_individualid_free: (a: number, b: number) => void;
80
+ export const __wbg_membered_free: (a: number, b: number) => void;
88
81
  export const __wbg_membership_free: (a: number, b: number) => void;
89
82
  export const capability_can: (a: number) => number;
90
83
  export const capability_proof: (a: number) => number;
@@ -95,12 +88,8 @@ export const delegation_after: (a: number) => number;
95
88
  export const delegation_can: (a: number) => number;
96
89
  export const delegation_delegate: (a: number) => number;
97
90
  export const delegation_proof: (a: number) => number;
98
- export const document___wasm_refgen_toDocument: (a: number) => number;
99
- export const document_doc_id: (a: number) => number;
100
- export const document_toAgent: (a: number) => number;
101
- export const document_toMembered: (a: number) => number;
102
- export const document_toPeer: (a: number) => number;
103
91
  export const group___wasm_refgen_toGroup: (a: number) => number;
92
+ export const group_groupId: (a: number) => number;
104
93
  export const group_members: (a: number) => any;
105
94
  export const group_toAgent: (a: number) => number;
106
95
  export const group_toMembered: (a: number) => number;
@@ -108,23 +97,40 @@ export const group_toPeer: (a: number) => number;
108
97
  export const individual_pickPrekey: (a: number, b: number) => any;
109
98
  export const individual_toAgent: (a: number) => number;
110
99
  export const individual_toPeer: (a: number) => number;
100
+ export const individualid_bytes: (a: number) => [number, number];
111
101
  export const membership_can: (a: number) => number;
112
102
  export const membership_who: (a: number) => number;
113
- export const document_id: (a: number) => number;
114
- export const group_groupId: (a: number) => number;
115
103
  export const group_id: (a: number) => number;
116
104
  export const individual_id: (a: number) => number;
117
105
  export const individual_individualId: (a: number) => number;
118
- export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
119
- export const __wbg_signedrevocation_free: (a: number, b: number) => void;
120
- export const signedcgkaoperation_delegation: (a: number) => number;
121
- export const signedcgkaoperation_signature: (a: number) => [number, number];
122
- export const signedcgkaoperation_verify: (a: number) => number;
123
- export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
124
- export const signedrevocation_delegation: (a: number) => number;
125
- export const signedrevocation_signature: (a: number) => [number, number];
126
- export const signedrevocation_verify: (a: number) => number;
127
- export const signedrevocation_verifyingKey: (a: number) => [number, number];
106
+ export const __wbg_access_free: (a: number, b: number) => void;
107
+ export const __wbg_archive_free: (a: number, b: number) => void;
108
+ export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
109
+ export const __wbg_event_free: (a: number, b: number) => void;
110
+ export const __wbg_history_free: (a: number, b: number) => void;
111
+ export const __wbg_revocation_free: (a: number, b: number) => void;
112
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
113
+ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
114
+ export const access_toString: (a: number) => [number, number];
115
+ export const access_tryFromString: (a: number, b: number) => number;
116
+ export const archive_toBytes: (a: number) => [number, number, number, number];
117
+ export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
118
+ export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
119
+ export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
120
+ export const encryptedcontentwithupdate_update_op: (a: number) => number;
121
+ export const event_isDelegated: (a: number) => number;
122
+ export const event_isRevoked: (a: number) => number;
123
+ export const event_toBytes: (a: number) => [number, number, number, number];
124
+ export const event_tryIntoSignedDelegation: (a: number) => number;
125
+ export const event_tryIntoSignedRevocation: (a: number) => number;
126
+ export const event_variant: (a: number) => [number, number];
127
+ export const history_contentRefs: (a: number) => [number, number];
128
+ export const history_delegations: (a: number) => [number, number];
129
+ export const history_revocations: (a: number) => [number, number];
130
+ export const revocation_after: (a: number) => number;
131
+ export const revocation_proof: (a: number) => number;
132
+ export const revocation_revoked: (a: number) => number;
133
+ export const revocation_subject_id: (a: number) => number;
128
134
  export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
129
135
  export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
130
136
  export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
@@ -133,10 +139,10 @@ export const __wbg_documentid_free: (a: number, b: number) => void;
133
139
  export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
134
140
  export const __wbg_groupid_free: (a: number, b: number) => void;
135
141
  export const __wbg_identifier_free: (a: number, b: number) => void;
136
- export const __wbg_individualid_free: (a: number, b: number) => void;
137
142
  export const __wbg_peer_free: (a: number, b: number) => void;
138
143
  export const __wbg_signer_free: (a: number, b: number) => void;
139
144
  export const __wbg_stats_free: (a: number, b: number) => void;
145
+ export const __wbg_summary_free: (a: number, b: number) => void;
140
146
  export const cgkaoperation_variant: (a: number) => [number, number];
141
147
  export const doccontentrefs_addChangeId: (a: number, b: number) => any;
142
148
  export const doccontentrefs_change_hashes: (a: number) => any;
@@ -150,7 +156,6 @@ export const generatewebcryptoerror_message: (a: number) => [number, number];
150
156
  export const groupid_toString: (a: number) => [number, number];
151
157
  export const identifier_new: (a: number, b: number) => [number, number, number];
152
158
  export const identifier_toBytes: (a: number) => [number, number];
153
- export const individualid_bytes: (a: number) => [number, number];
154
159
  export const peer___wasm_refgen_toPeer: (a: number) => number;
155
160
  export const peer_id: (a: number) => number;
156
161
  export const peer_isDocument: (a: number) => number;
@@ -187,34 +192,30 @@ export const stats_prekeysExpanded: (a: number) => bigint;
187
192
  export const stats_revocations: (a: number) => bigint;
188
193
  export const stats_totalOps: (a: number) => bigint;
189
194
  export const stats_totalPendingOps: (a: number) => bigint;
190
- export const __wbg_access_free: (a: number, b: number) => void;
191
- export const __wbg_archive_free: (a: number, b: number) => void;
192
- export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
193
- export const __wbg_event_free: (a: number, b: number) => void;
194
- export const __wbg_history_free: (a: number, b: number) => void;
195
- export const __wbg_revocation_free: (a: number, b: number) => void;
196
- export const __wbg_sharekey_free: (a: number, b: number) => void;
197
- export const __wbg_signedinvocation_free: (a: number, b: number) => void;
198
- export const access_toString: (a: number) => [number, number];
199
- export const access_tryFromString: (a: number, b: number) => number;
200
- export const archive_toBytes: (a: number) => [number, number, number, number];
201
- export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
202
- export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
203
- export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
204
- export const encryptedcontentwithupdate_update_op: (a: number) => number;
205
- export const event_isDelegated: (a: number) => number;
206
- export const event_isRevoked: (a: number) => number;
207
- export const event_toBytes: (a: number) => [number, number, number, number];
208
- export const event_tryIntoSignedDelegation: (a: number) => number;
209
- export const event_tryIntoSignedRevocation: (a: number) => number;
210
- export const event_variant: (a: number) => [number, number];
211
- export const history_contentRefs: (a: number) => [number, number];
212
- export const history_delegations: (a: number) => [number, number];
213
- export const history_revocations: (a: number) => [number, number];
214
- export const revocation_after: (a: number) => number;
215
- export const revocation_proof: (a: number) => number;
216
- export const revocation_revoked: (a: number) => number;
217
- export const revocation_subject_id: (a: number) => number;
195
+ export const summary_access: (a: number) => number;
196
+ export const summary_doc: (a: number) => number;
197
+ export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
198
+ export const __wbg_signedrevocation_free: (a: number, b: number) => void;
199
+ export const signedcgkaoperation_delegation: (a: number) => number;
200
+ export const signedcgkaoperation_signature: (a: number) => [number, number];
201
+ export const signedcgkaoperation_verify: (a: number) => number;
202
+ export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
203
+ export const signedrevocation_delegation: (a: number) => number;
204
+ export const signedrevocation_signature: (a: number) => [number, number];
205
+ export const signedrevocation_verify: (a: number) => number;
206
+ export const signedrevocation_verifyingKey: (a: number) => [number, number];
207
+ export const __wbg_changeid_free: (a: number, b: number) => void;
208
+ export const __wbg_document_free: (a: number, b: number) => void;
209
+ export const __wbg_invocation_free: (a: number, b: number) => void;
210
+ export const changeid___wasm_refgen_toChangeId: (a: number) => number;
211
+ export const changeid_bytes: (a: number) => [number, number];
212
+ export const changeid_new: (a: number, b: number) => number;
213
+ export const document___wasm_refgen_toDocument: (a: number) => number;
214
+ export const document_doc_id: (a: number) => number;
215
+ export const document_toAgent: (a: number) => number;
216
+ export const document_toMembered: (a: number) => number;
217
+ export const document_toPeer: (a: number) => number;
218
+ export const document_id: (a: number) => number;
218
219
  export const wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069: (a: number, b: number, c: any) => void;
219
220
  export const wasm_bindgen__closure__destroy__h56c1987c5374a416: (a: number, b: number) => void;
220
221
  export const wasm_bindgen__convert__closures_____invoke__h0e2a667a85375385: (a: number, b: number, c: any, d: any) => void;
@@ -16,6 +16,10 @@ export class Agent {
16
16
  isDocument(): boolean;
17
17
  toString(): string;
18
18
  isIndividual(): boolean;
19
+ /**
20
+ * Returns prekey operations for this agent as a Map of hash -> Event
21
+ */
22
+ keyOps(): Promise<Map<any, any>>;
19
23
  isGroup(): boolean;
20
24
  readonly id: Identifier;
21
25
  }
@@ -507,6 +507,14 @@ class Agent {
507
507
  const ret = wasm.agent_id(this.__wbg_ptr);
508
508
  return Identifier.__wrap(ret);
509
509
  }
510
+ /**
511
+ * Returns prekey operations for this agent as a Map of hash -> Event
512
+ * @returns {Promise<Map<any, any>>}
513
+ */
514
+ keyOps() {
515
+ const ret = wasm.agent_keyOps(this.__wbg_ptr);
516
+ return ret;
517
+ }
510
518
  /**
511
519
  * @returns {boolean}
512
520
  */
@@ -1406,7 +1414,7 @@ class Group {
1406
1414
  * @returns {Identifier}
1407
1415
  */
1408
1416
  get id() {
1409
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1417
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1410
1418
  return Identifier.__wrap(ret);
1411
1419
  }
1412
1420
  /**
@@ -1427,7 +1435,7 @@ class Group {
1427
1435
  * @returns {GroupId}
1428
1436
  */
1429
1437
  get groupId() {
1430
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1438
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1431
1439
  return GroupId.__wrap(ret);
1432
1440
  }
1433
1441
  /**
@@ -1604,14 +1612,14 @@ class Individual {
1604
1612
  * @returns {IndividualId}
1605
1613
  */
1606
1614
  get individualId() {
1607
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1615
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1608
1616
  return IndividualId.__wrap(ret);
1609
1617
  }
1610
1618
  /**
1611
1619
  * @returns {Identifier}
1612
1620
  */
1613
1621
  get id() {
1614
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1622
+ const ret = wasm.group_groupId(this.__wbg_ptr);
1615
1623
  return Identifier.__wrap(ret);
1616
1624
  }
1617
1625
  /**
@@ -3400,12 +3408,6 @@ exports.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
3400
3408
  return ret;
3401
3409
  };
3402
3410
 
3403
- exports.__wbindgen_cast_4d3bc2b370a03c03 = function(arg0, arg1) {
3404
- // Cast intrinsic for `Closure(Closure { dtor_idx: 469, function: Function { arguments: [Externref], shim_idx: 470, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3405
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3406
- return ret;
3407
- };
3408
-
3409
3411
  exports.__wbindgen_cast_6300122139088863 = function(arg0, arg1) {
3410
3412
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
3411
3413
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -3460,6 +3462,12 @@ exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
3460
3462
  return ret;
3461
3463
  };
3462
3464
 
3465
+ exports.__wbindgen_cast_f6a59d405c61762b = function(arg0, arg1) {
3466
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 474, function: Function { arguments: [Externref], shim_idx: 475, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3467
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3468
+ return ret;
3469
+ };
3470
+
3463
3471
  exports.__wbindgen_init_externref_table = function() {
3464
3472
  const table = wasm.__wbindgen_externrefs;
3465
3473
  const offset = table.grow(4);
Binary file
@@ -9,6 +9,7 @@ export const agent_id: (a: number) => number;
9
9
  export const agent_isDocument: (a: number) => number;
10
10
  export const agent_isGroup: (a: number) => number;
11
11
  export const agent_isIndividual: (a: number) => number;
12
+ export const agent_keyOps: (a: number) => any;
12
13
  export const agent_toString: (a: number) => [number, number];
13
14
  export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
14
15
  export const contactcard_id: (a: number) => number;
@@ -70,21 +71,13 @@ export const keyhive_trySign: (a: number, b: number, c: number) => any;
70
71
  export const setPanicHook: () => void;
71
72
  export const encrypted_toBytes: (a: number) => [number, number];
72
73
  export const keyhive_whoami: (a: number) => number;
73
- export const __wbg_changeid_free: (a: number, b: number) => void;
74
- export const __wbg_invocation_free: (a: number, b: number) => void;
75
- export const __wbg_membered_free: (a: number, b: number) => void;
76
- export const __wbg_summary_free: (a: number, b: number) => void;
77
- export const changeid___wasm_refgen_toChangeId: (a: number) => number;
78
- export const changeid_bytes: (a: number) => [number, number];
79
- export const changeid_new: (a: number, b: number) => number;
80
- export const summary_access: (a: number) => number;
81
- export const summary_doc: (a: number) => number;
82
74
  export const __wbg_capability_free: (a: number, b: number) => void;
83
75
  export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
84
76
  export const __wbg_delegation_free: (a: number, b: number) => void;
85
- export const __wbg_document_free: (a: number, b: number) => void;
86
77
  export const __wbg_group_free: (a: number, b: number) => void;
87
78
  export const __wbg_individual_free: (a: number, b: number) => void;
79
+ export const __wbg_individualid_free: (a: number, b: number) => void;
80
+ export const __wbg_membered_free: (a: number, b: number) => void;
88
81
  export const __wbg_membership_free: (a: number, b: number) => void;
89
82
  export const capability_can: (a: number) => number;
90
83
  export const capability_proof: (a: number) => number;
@@ -95,12 +88,8 @@ export const delegation_after: (a: number) => number;
95
88
  export const delegation_can: (a: number) => number;
96
89
  export const delegation_delegate: (a: number) => number;
97
90
  export const delegation_proof: (a: number) => number;
98
- export const document___wasm_refgen_toDocument: (a: number) => number;
99
- export const document_doc_id: (a: number) => number;
100
- export const document_toAgent: (a: number) => number;
101
- export const document_toMembered: (a: number) => number;
102
- export const document_toPeer: (a: number) => number;
103
91
  export const group___wasm_refgen_toGroup: (a: number) => number;
92
+ export const group_groupId: (a: number) => number;
104
93
  export const group_members: (a: number) => any;
105
94
  export const group_toAgent: (a: number) => number;
106
95
  export const group_toMembered: (a: number) => number;
@@ -108,23 +97,40 @@ export const group_toPeer: (a: number) => number;
108
97
  export const individual_pickPrekey: (a: number, b: number) => any;
109
98
  export const individual_toAgent: (a: number) => number;
110
99
  export const individual_toPeer: (a: number) => number;
100
+ export const individualid_bytes: (a: number) => [number, number];
111
101
  export const membership_can: (a: number) => number;
112
102
  export const membership_who: (a: number) => number;
113
- export const document_id: (a: number) => number;
114
- export const group_groupId: (a: number) => number;
115
103
  export const group_id: (a: number) => number;
116
104
  export const individual_id: (a: number) => number;
117
105
  export const individual_individualId: (a: number) => number;
118
- export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
119
- export const __wbg_signedrevocation_free: (a: number, b: number) => void;
120
- export const signedcgkaoperation_delegation: (a: number) => number;
121
- export const signedcgkaoperation_signature: (a: number) => [number, number];
122
- export const signedcgkaoperation_verify: (a: number) => number;
123
- export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
124
- export const signedrevocation_delegation: (a: number) => number;
125
- export const signedrevocation_signature: (a: number) => [number, number];
126
- export const signedrevocation_verify: (a: number) => number;
127
- export const signedrevocation_verifyingKey: (a: number) => [number, number];
106
+ export const __wbg_access_free: (a: number, b: number) => void;
107
+ export const __wbg_archive_free: (a: number, b: number) => void;
108
+ export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
109
+ export const __wbg_event_free: (a: number, b: number) => void;
110
+ export const __wbg_history_free: (a: number, b: number) => void;
111
+ export const __wbg_revocation_free: (a: number, b: number) => void;
112
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
113
+ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
114
+ export const access_toString: (a: number) => [number, number];
115
+ export const access_tryFromString: (a: number, b: number) => number;
116
+ export const archive_toBytes: (a: number) => [number, number, number, number];
117
+ export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
118
+ export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
119
+ export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
120
+ export const encryptedcontentwithupdate_update_op: (a: number) => number;
121
+ export const event_isDelegated: (a: number) => number;
122
+ export const event_isRevoked: (a: number) => number;
123
+ export const event_toBytes: (a: number) => [number, number, number, number];
124
+ export const event_tryIntoSignedDelegation: (a: number) => number;
125
+ export const event_tryIntoSignedRevocation: (a: number) => number;
126
+ export const event_variant: (a: number) => [number, number];
127
+ export const history_contentRefs: (a: number) => [number, number];
128
+ export const history_delegations: (a: number) => [number, number];
129
+ export const history_revocations: (a: number) => [number, number];
130
+ export const revocation_after: (a: number) => number;
131
+ export const revocation_proof: (a: number) => number;
132
+ export const revocation_revoked: (a: number) => number;
133
+ export const revocation_subject_id: (a: number) => number;
128
134
  export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
129
135
  export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
130
136
  export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
@@ -133,10 +139,10 @@ export const __wbg_documentid_free: (a: number, b: number) => void;
133
139
  export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
134
140
  export const __wbg_groupid_free: (a: number, b: number) => void;
135
141
  export const __wbg_identifier_free: (a: number, b: number) => void;
136
- export const __wbg_individualid_free: (a: number, b: number) => void;
137
142
  export const __wbg_peer_free: (a: number, b: number) => void;
138
143
  export const __wbg_signer_free: (a: number, b: number) => void;
139
144
  export const __wbg_stats_free: (a: number, b: number) => void;
145
+ export const __wbg_summary_free: (a: number, b: number) => void;
140
146
  export const cgkaoperation_variant: (a: number) => [number, number];
141
147
  export const doccontentrefs_addChangeId: (a: number, b: number) => any;
142
148
  export const doccontentrefs_change_hashes: (a: number) => any;
@@ -150,7 +156,6 @@ export const generatewebcryptoerror_message: (a: number) => [number, number];
150
156
  export const groupid_toString: (a: number) => [number, number];
151
157
  export const identifier_new: (a: number, b: number) => [number, number, number];
152
158
  export const identifier_toBytes: (a: number) => [number, number];
153
- export const individualid_bytes: (a: number) => [number, number];
154
159
  export const peer___wasm_refgen_toPeer: (a: number) => number;
155
160
  export const peer_id: (a: number) => number;
156
161
  export const peer_isDocument: (a: number) => number;
@@ -187,34 +192,30 @@ export const stats_prekeysExpanded: (a: number) => bigint;
187
192
  export const stats_revocations: (a: number) => bigint;
188
193
  export const stats_totalOps: (a: number) => bigint;
189
194
  export const stats_totalPendingOps: (a: number) => bigint;
190
- export const __wbg_access_free: (a: number, b: number) => void;
191
- export const __wbg_archive_free: (a: number, b: number) => void;
192
- export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
193
- export const __wbg_event_free: (a: number, b: number) => void;
194
- export const __wbg_history_free: (a: number, b: number) => void;
195
- export const __wbg_revocation_free: (a: number, b: number) => void;
196
- export const __wbg_sharekey_free: (a: number, b: number) => void;
197
- export const __wbg_signedinvocation_free: (a: number, b: number) => void;
198
- export const access_toString: (a: number) => [number, number];
199
- export const access_tryFromString: (a: number, b: number) => number;
200
- export const archive_toBytes: (a: number) => [number, number, number, number];
201
- export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
202
- export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
203
- export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
204
- export const encryptedcontentwithupdate_update_op: (a: number) => number;
205
- export const event_isDelegated: (a: number) => number;
206
- export const event_isRevoked: (a: number) => number;
207
- export const event_toBytes: (a: number) => [number, number, number, number];
208
- export const event_tryIntoSignedDelegation: (a: number) => number;
209
- export const event_tryIntoSignedRevocation: (a: number) => number;
210
- export const event_variant: (a: number) => [number, number];
211
- export const history_contentRefs: (a: number) => [number, number];
212
- export const history_delegations: (a: number) => [number, number];
213
- export const history_revocations: (a: number) => [number, number];
214
- export const revocation_after: (a: number) => number;
215
- export const revocation_proof: (a: number) => number;
216
- export const revocation_revoked: (a: number) => number;
217
- export const revocation_subject_id: (a: number) => number;
195
+ export const summary_access: (a: number) => number;
196
+ export const summary_doc: (a: number) => number;
197
+ export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
198
+ export const __wbg_signedrevocation_free: (a: number, b: number) => void;
199
+ export const signedcgkaoperation_delegation: (a: number) => number;
200
+ export const signedcgkaoperation_signature: (a: number) => [number, number];
201
+ export const signedcgkaoperation_verify: (a: number) => number;
202
+ export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
203
+ export const signedrevocation_delegation: (a: number) => number;
204
+ export const signedrevocation_signature: (a: number) => [number, number];
205
+ export const signedrevocation_verify: (a: number) => number;
206
+ export const signedrevocation_verifyingKey: (a: number) => [number, number];
207
+ export const __wbg_changeid_free: (a: number, b: number) => void;
208
+ export const __wbg_document_free: (a: number, b: number) => void;
209
+ export const __wbg_invocation_free: (a: number, b: number) => void;
210
+ export const changeid___wasm_refgen_toChangeId: (a: number) => number;
211
+ export const changeid_bytes: (a: number) => [number, number];
212
+ export const changeid_new: (a: number, b: number) => number;
213
+ export const document___wasm_refgen_toDocument: (a: number) => number;
214
+ export const document_doc_id: (a: number) => number;
215
+ export const document_toAgent: (a: number) => number;
216
+ export const document_toMembered: (a: number) => number;
217
+ export const document_toPeer: (a: number) => number;
218
+ export const document_id: (a: number) => number;
218
219
  export const wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069: (a: number, b: number, c: any) => void;
219
220
  export const wasm_bindgen__closure__destroy__h56c1987c5374a416: (a: number, b: number) => void;
220
221
  export const wasm_bindgen__convert__closures_____invoke__h0e2a667a85375385: (a: number, b: number, c: any, d: any) => void;