@keyhive/keyhive 0.0.0-alpha.54 → 0.0.0-alpha.54c

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.54",
3
+ "version": "0.0.0-alpha.54c",
4
4
  "description": "",
5
5
  "main": "pkg/keyhive_wasm.js",
6
6
  "keywords": [],
@@ -215,6 +215,10 @@ export class Identifier {
215
215
  [Symbol.dispose](): void;
216
216
  constructor(bytes: Uint8Array);
217
217
  toBytes(): Uint8Array;
218
+ /**
219
+ * Returns the public [`Identifier`].
220
+ */
221
+ static publicId(): Identifier;
218
222
  }
219
223
 
220
224
  export class Individual {
@@ -261,6 +265,10 @@ export class Keyhive {
261
265
  getIndividual(id: IndividualId): Promise<Individual | undefined>;
262
266
  ingestArchive(archive: Archive): Promise<void>;
263
267
  reachableDocs(): Promise<Summary[]>;
268
+ /**
269
+ * Returns events for an agent as serialized bytes.
270
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
271
+ */
264
272
  eventsForAgent(agent: Agent): Promise<Map<any, any>>;
265
273
  forcePcsUpdate(doc: Document): Promise<void>;
266
274
  ingestEventsBytes(events_bytes_array: Array<any>): Promise<Array<any>>;
@@ -269,6 +277,7 @@ export class Keyhive {
269
277
  receiveContactCard(contact_card: ContactCard): Promise<Individual>;
270
278
  docMemberCapabilities(doc_id: DocumentId): Promise<Membership[]>;
271
279
  membershipOpsForAgent(agent: Agent): Promise<Map<any, any>>;
280
+ getExistingContactCard(): Promise<ContactCard>;
272
281
  static init(signer: Signer, ciphertext_store: CiphertextStore, event_handler: Function): Promise<Keyhive>;
273
282
  stats(): Promise<Stats>;
274
283
  trySign(data: Uint8Array): Promise<Signed>;
@@ -1557,6 +1557,14 @@ export class Identifier {
1557
1557
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
1558
1558
  return v1;
1559
1559
  }
1560
+ /**
1561
+ * Returns the public [`Identifier`].
1562
+ * @returns {Identifier}
1563
+ */
1564
+ static publicId() {
1565
+ const ret = wasm.identifier_publicId();
1566
+ return Identifier.__wrap(ret);
1567
+ }
1560
1568
  }
1561
1569
  if (Symbol.dispose) Identifier.prototype[Symbol.dispose] = Identifier.prototype.free;
1562
1570
 
@@ -1858,6 +1866,8 @@ export class Keyhive {
1858
1866
  return ret;
1859
1867
  }
1860
1868
  /**
1869
+ * Returns events for an agent as serialized bytes.
1870
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
1861
1871
  * @param {Agent} agent
1862
1872
  * @returns {Promise<Map<any, any>>}
1863
1873
  */
@@ -1934,6 +1944,13 @@ export class Keyhive {
1934
1944
  const ret = wasm.keyhive_membershipOpsForAgent(this.__wbg_ptr, agent.__wbg_ptr);
1935
1945
  return ret;
1936
1946
  }
1947
+ /**
1948
+ * @returns {Promise<ContactCard>}
1949
+ */
1950
+ getExistingContactCard() {
1951
+ const ret = wasm.keyhive_getExistingContactCard(this.__wbg_ptr);
1952
+ return ret;
1953
+ }
1937
1954
  /**
1938
1955
  * @returns {IndividualId}
1939
1956
  */
@@ -3365,6 +3382,12 @@ export function __wbindgen_cast_25a0a844437d0e92(arg0, arg1) {
3365
3382
  return ret;
3366
3383
  };
3367
3384
 
3385
+ export function __wbindgen_cast_2eab6f6adaa15bfa(arg0, arg1) {
3386
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 477, function: Function { arguments: [Externref], shim_idx: 478, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3387
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3388
+ return ret;
3389
+ };
3390
+
3368
3391
  export function __wbindgen_cast_6300122139088863(arg0, arg1) {
3369
3392
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
3370
3393
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -3397,12 +3420,6 @@ export function __wbindgen_cast_77bc3e92745e9a35(arg0, arg1) {
3397
3420
  return ret;
3398
3421
  };
3399
3422
 
3400
- export function __wbindgen_cast_8a0dcb440347b3b9(arg0, arg1) {
3401
- // Cast intrinsic for `Closure(Closure { dtor_idx: 473, function: Function { arguments: [Externref], shim_idx: 474, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3402
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3403
- return ret;
3404
- };
3405
-
3406
3423
  export function __wbindgen_cast_a81e76255c07f2e8(arg0, arg1) {
3407
3424
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
3408
3425
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
Binary file
@@ -1,85 +1,31 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_access_free: (a: number, b: number) => void;
5
- export const __wbg_archive_free: (a: number, b: number) => void;
6
- export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
7
- export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
8
- export const __wbg_capability_free: (a: number, b: number) => void;
9
- export const __wbg_contactcard_free: (a: number, b: number) => void;
10
- export const __wbg_delegation_free: (a: number, b: number) => void;
11
- export const __wbg_documentid_free: (a: number, b: number) => void;
12
- export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
13
- export const __wbg_group_free: (a: number, b: number) => void;
14
- export const __wbg_identifier_free: (a: number, b: number) => void;
15
- export const __wbg_individual_free: (a: number, b: number) => void;
16
- export const __wbg_membership_free: (a: number, b: number) => void;
17
- export const __wbg_sharekey_free: (a: number, b: number) => void;
18
- export const __wbg_signed_free: (a: number, b: number) => void;
19
- export const __wbg_signeddelegation_free: (a: number, b: number) => void;
20
- export const __wbg_signer_free: (a: number, b: number) => void;
21
- export const __wbg_summary_free: (a: number, b: number) => void;
22
- export const access_toString: (a: number) => [number, number];
23
- export const access_tryFromString: (a: number, b: number) => number;
24
- export const archive_toBytes: (a: number) => [number, number, number, number];
25
- export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
26
- export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
27
- export const capability_can: (a: number) => number;
28
- export const capability_proof: (a: number) => number;
29
- export const capability_who: (a: number) => number;
30
- export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
31
- export const contactcard_id: (a: number) => number;
32
- export const contactcard_op: (a: number) => number;
33
- export const contactcard_shareKey: (a: number) => number;
34
- export const contactcard_signature: (a: number) => [number, number];
35
- export const contactcard_toJson: (a: number) => [number, number, number, number];
36
- export const delegation_after: (a: number) => number;
37
- export const delegation_can: (a: number) => number;
38
- export const delegation_delegate: (a: number) => number;
39
- export const delegation_proof: (a: number) => number;
40
- export const documentid_new: (a: number, b: number) => [number, number, number];
41
- export const documentid_toBytes: (a: number) => [number, number];
42
- export const documentid_toJsValue: (a: number) => any;
43
- export const documentid_toString: (a: number) => [number, number];
44
- export const generatewebcryptoerror_message: (a: number) => [number, number];
45
- export const group___wasm_refgen_toJsGroup: (a: number) => number;
46
- export const group_groupId: (a: number) => number;
47
- export const group_members: (a: number) => any;
48
- export const group_toAgent: (a: number) => number;
49
- export const group_toMembered: (a: number) => number;
50
- export const group_toPeer: (a: number) => number;
51
- export const identifier_new: (a: number, b: number) => [number, number, number];
52
- export const identifier_toBytes: (a: number) => [number, number];
53
- export const individual_pickPrekey: (a: number, b: number) => any;
54
- export const individual_toAgent: (a: number) => number;
55
- export const individual_toPeer: (a: number) => number;
56
- export const membership_can: (a: number) => number;
57
- export const membership_who: (a: number) => number;
58
- export const signed_fromBytes: (a: number, b: number) => [number, number, number];
59
- export const signed_payload: (a: number) => [number, number];
60
- export const signed_signature: (a: number) => [number, number];
61
- export const signed_toBytes: (a: number) => [number, number, number, number];
62
- export const signed_verify: (a: number) => number;
63
- export const signed_verifyingKey: (a: number) => [number, number];
64
- export const signeddelegation_delegation: (a: number) => number;
65
- export const signeddelegation_signature: (a: number) => [number, number];
66
- export const signeddelegation_verify: (a: number) => number;
67
- export const signeddelegation_verifyingKey: (a: number) => [number, number];
68
- export const signer_clone: (a: number) => number;
69
- export const signer_generate: () => any;
70
- export const signer_generateMemory: () => number;
71
- export const signer_generateWebCrypto: () => any;
72
- export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
73
- export const signer_trySign: (a: number, b: number, c: number) => any;
74
- export const signer_variant: (a: number) => [number, number];
75
- export const signer_verifyingKey: (a: number) => [number, number];
76
- export const signer_webCryptoSigner: (a: any) => any;
77
- export const summary_access: (a: number) => number;
78
- export const summary_doc: (a: number) => number;
79
- export const contactcard_individualId: (a: number) => number;
80
- export const group_id: (a: number) => number;
81
- export const individual_id: (a: number) => number;
82
- export const individual_individualId: (a: number) => number;
4
+ export const setPanicHook: () => void;
5
+ export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
6
+ export const __wbg_event_free: (a: number, b: number) => void;
7
+ export const __wbg_groupid_free: (a: number, b: number) => void;
8
+ export const __wbg_individualid_free: (a: number, b: number) => void;
9
+ export const __wbg_invocation_free: (a: number, b: number) => void;
10
+ export const __wbg_revocation_free: (a: number, b: number) => void;
11
+ export const __wbg_signedrevocation_free: (a: number, b: number) => void;
12
+ export const cgkaoperation_variant: (a: number) => [number, number];
13
+ export const event_isDelegated: (a: number) => number;
14
+ export const event_isRevoked: (a: number) => number;
15
+ export const event_toBytes: (a: number) => [number, number, number, number];
16
+ export const event_tryIntoSignedDelegation: (a: number) => number;
17
+ export const event_tryIntoSignedRevocation: (a: number) => number;
18
+ export const event_variant: (a: number) => [number, number];
19
+ export const groupid_toString: (a: number) => [number, number];
20
+ export const individualid_bytes: (a: number) => [number, number];
21
+ export const revocation_after: (a: number) => number;
22
+ export const revocation_proof: (a: number) => number;
23
+ export const revocation_revoked: (a: number) => number;
24
+ export const revocation_subject_id: (a: number) => number;
25
+ export const signedrevocation_delegation: (a: number) => number;
26
+ export const signedrevocation_signature: (a: number) => [number, number];
27
+ export const signedrevocation_verify: (a: number) => number;
28
+ export const signedrevocation_verifyingKey: (a: number) => [number, number];
83
29
  export const __wbg_agent_free: (a: number, b: number) => void;
84
30
  export const __wbg_document_free: (a: number, b: number) => void;
85
31
  export const __wbg_encrypted_free: (a: number, b: number) => void;
@@ -118,6 +64,7 @@ export const keyhive_generateDocument: (a: number, b: number, c: number, d: numb
118
64
  export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
119
65
  export const keyhive_getAgent: (a: number, b: number) => any;
120
66
  export const keyhive_getDocument: (a: number, b: number) => any;
67
+ export const keyhive_getExistingContactCard: (a: number) => any;
121
68
  export const keyhive_getGroup: (a: number, b: number) => any;
122
69
  export const keyhive_getIndividual: (a: number, b: number) => any;
123
70
  export const keyhive_id: (a: number) => number;
@@ -173,32 +120,6 @@ export const stats_totalPendingOps: (a: number) => bigint;
173
120
  export const encrypted_toBytes: (a: number) => [number, number];
174
121
  export const document_id: (a: number) => number;
175
122
  export const peer_id: (a: number) => number;
176
- export const __wbg_invocation_free: (a: number, b: number) => void;
177
- export const __wbg_signedinvocation_free: (a: number, b: number) => void;
178
- export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
179
- export const __wbg_event_free: (a: number, b: number) => void;
180
- export const __wbg_groupid_free: (a: number, b: number) => void;
181
- export const __wbg_individualid_free: (a: number, b: number) => void;
182
- export const __wbg_revocation_free: (a: number, b: number) => void;
183
- export const __wbg_signedrevocation_free: (a: number, b: number) => void;
184
- export const cgkaoperation_variant: (a: number) => [number, number];
185
- export const event_isDelegated: (a: number) => number;
186
- export const event_isRevoked: (a: number) => number;
187
- export const event_toBytes: (a: number) => [number, number, number, number];
188
- export const event_tryIntoSignedDelegation: (a: number) => number;
189
- export const event_tryIntoSignedRevocation: (a: number) => number;
190
- export const event_variant: (a: number) => [number, number];
191
- export const groupid_toString: (a: number) => [number, number];
192
- export const individualid_bytes: (a: number) => [number, number];
193
- export const revocation_after: (a: number) => number;
194
- export const revocation_proof: (a: number) => number;
195
- export const revocation_revoked: (a: number) => number;
196
- export const revocation_subject_id: (a: number) => number;
197
- export const signedrevocation_delegation: (a: number) => number;
198
- export const signedrevocation_signature: (a: number) => [number, number];
199
- export const signedrevocation_verify: (a: number) => number;
200
- export const signedrevocation_verifyingKey: (a: number) => [number, number];
201
- export const setPanicHook: () => void;
202
123
  export const __wbg_changeid_free: (a: number, b: number) => void;
203
124
  export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
204
125
  export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
@@ -215,6 +136,87 @@ export const doccontentrefs_new: (a: number, b: number, c: number) => [number, n
215
136
  export const history_contentRefs: (a: number) => [number, number];
216
137
  export const history_delegations: (a: number) => [number, number];
217
138
  export const history_revocations: (a: number) => [number, number];
139
+ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
140
+ export const __wbg_access_free: (a: number, b: number) => void;
141
+ export const __wbg_archive_free: (a: number, b: number) => void;
142
+ export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
143
+ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
144
+ export const __wbg_capability_free: (a: number, b: number) => void;
145
+ export const __wbg_contactcard_free: (a: number, b: number) => void;
146
+ export const __wbg_delegation_free: (a: number, b: number) => void;
147
+ export const __wbg_documentid_free: (a: number, b: number) => void;
148
+ export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
149
+ export const __wbg_group_free: (a: number, b: number) => void;
150
+ export const __wbg_identifier_free: (a: number, b: number) => void;
151
+ export const __wbg_individual_free: (a: number, b: number) => void;
152
+ export const __wbg_membership_free: (a: number, b: number) => void;
153
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
154
+ export const __wbg_signed_free: (a: number, b: number) => void;
155
+ export const __wbg_signeddelegation_free: (a: number, b: number) => void;
156
+ export const __wbg_signer_free: (a: number, b: number) => void;
157
+ export const __wbg_summary_free: (a: number, b: number) => void;
158
+ export const access_toString: (a: number) => [number, number];
159
+ export const access_tryFromString: (a: number, b: number) => number;
160
+ export const archive_toBytes: (a: number) => [number, number, number, number];
161
+ export const archive_tryToKeyhive: (a: number, b: number, c: number, d: any) => any;
162
+ export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
163
+ export const capability_can: (a: number) => number;
164
+ export const capability_proof: (a: number) => number;
165
+ export const capability_who: (a: number) => number;
166
+ export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
167
+ export const contactcard_id: (a: number) => number;
168
+ export const contactcard_op: (a: number) => number;
169
+ export const contactcard_shareKey: (a: number) => number;
170
+ export const contactcard_signature: (a: number) => [number, number];
171
+ export const contactcard_toJson: (a: number) => [number, number, number, number];
172
+ export const delegation_after: (a: number) => number;
173
+ export const delegation_can: (a: number) => number;
174
+ export const delegation_delegate: (a: number) => number;
175
+ export const delegation_proof: (a: number) => number;
176
+ export const documentid_new: (a: number, b: number) => [number, number, number];
177
+ export const documentid_toBytes: (a: number) => [number, number];
178
+ export const documentid_toJsValue: (a: number) => any;
179
+ export const documentid_toString: (a: number) => [number, number];
180
+ export const generatewebcryptoerror_message: (a: number) => [number, number];
181
+ export const group___wasm_refgen_toJsGroup: (a: number) => number;
182
+ export const group_groupId: (a: number) => number;
183
+ export const group_members: (a: number) => any;
184
+ export const group_toAgent: (a: number) => number;
185
+ export const group_toMembered: (a: number) => number;
186
+ export const group_toPeer: (a: number) => number;
187
+ export const identifier_new: (a: number, b: number) => [number, number, number];
188
+ export const identifier_publicId: () => number;
189
+ export const identifier_toBytes: (a: number) => [number, number];
190
+ export const individual_pickPrekey: (a: number, b: number) => any;
191
+ export const individual_toAgent: (a: number) => number;
192
+ export const individual_toPeer: (a: number) => number;
193
+ export const membership_can: (a: number) => number;
194
+ export const membership_who: (a: number) => number;
195
+ export const signed_fromBytes: (a: number, b: number) => [number, number, number];
196
+ export const signed_payload: (a: number) => [number, number];
197
+ export const signed_signature: (a: number) => [number, number];
198
+ export const signed_toBytes: (a: number) => [number, number, number, number];
199
+ export const signed_verify: (a: number) => number;
200
+ export const signed_verifyingKey: (a: number) => [number, number];
201
+ export const signeddelegation_delegation: (a: number) => number;
202
+ export const signeddelegation_signature: (a: number) => [number, number];
203
+ export const signeddelegation_verify: (a: number) => number;
204
+ export const signeddelegation_verifyingKey: (a: number) => [number, number];
205
+ export const signer_clone: (a: number) => number;
206
+ export const signer_generate: () => any;
207
+ export const signer_generateMemory: () => number;
208
+ export const signer_generateWebCrypto: () => any;
209
+ export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
210
+ export const signer_trySign: (a: number, b: number, c: number) => any;
211
+ export const signer_variant: (a: number) => [number, number];
212
+ export const signer_verifyingKey: (a: number) => [number, number];
213
+ export const signer_webCryptoSigner: (a: any) => any;
214
+ export const summary_access: (a: number) => number;
215
+ export const summary_doc: (a: number) => number;
216
+ export const contactcard_individualId: (a: number) => number;
217
+ export const group_id: (a: number) => number;
218
+ export const individual_id: (a: number) => number;
219
+ export const individual_individualId: (a: number) => number;
218
220
  export const wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069: (a: number, b: number, c: any) => void;
219
221
  export const wasm_bindgen__closure__destroy__h56c1987c5374a416: (a: number, b: number) => void;
220
222
  export const wasm_bindgen__convert__closures_____invoke__h0e2a667a85375385: (a: number, b: number, c: any, d: any) => void;
@@ -215,6 +215,10 @@ export class Identifier {
215
215
  [Symbol.dispose](): void;
216
216
  constructor(bytes: Uint8Array);
217
217
  toBytes(): Uint8Array;
218
+ /**
219
+ * Returns the public [`Identifier`].
220
+ */
221
+ static publicId(): Identifier;
218
222
  }
219
223
 
220
224
  export class Individual {
@@ -261,6 +265,10 @@ export class Keyhive {
261
265
  getIndividual(id: IndividualId): Promise<Individual | undefined>;
262
266
  ingestArchive(archive: Archive): Promise<void>;
263
267
  reachableDocs(): Promise<Summary[]>;
268
+ /**
269
+ * Returns events for an agent as serialized bytes.
270
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
271
+ */
264
272
  eventsForAgent(agent: Agent): Promise<Map<any, any>>;
265
273
  forcePcsUpdate(doc: Document): Promise<void>;
266
274
  ingestEventsBytes(events_bytes_array: Array<any>): Promise<Array<any>>;
@@ -269,6 +277,7 @@ export class Keyhive {
269
277
  receiveContactCard(contact_card: ContactCard): Promise<Individual>;
270
278
  docMemberCapabilities(doc_id: DocumentId): Promise<Membership[]>;
271
279
  membershipOpsForAgent(agent: Agent): Promise<Map<any, any>>;
280
+ getExistingContactCard(): Promise<ContactCard>;
272
281
  static init(signer: Signer, ciphertext_store: CiphertextStore, event_handler: Function): Promise<Keyhive>;
273
282
  stats(): Promise<Stats>;
274
283
  trySign(data: Uint8Array): Promise<Signed>;
@@ -1569,6 +1569,14 @@ class Identifier {
1569
1569
  wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
1570
1570
  return v1;
1571
1571
  }
1572
+ /**
1573
+ * Returns the public [`Identifier`].
1574
+ * @returns {Identifier}
1575
+ */
1576
+ static publicId() {
1577
+ const ret = wasm.identifier_publicId();
1578
+ return Identifier.__wrap(ret);
1579
+ }
1572
1580
  }
1573
1581
  if (Symbol.dispose) Identifier.prototype[Symbol.dispose] = Identifier.prototype.free;
1574
1582
  exports.Identifier = Identifier;
@@ -1874,6 +1882,8 @@ class Keyhive {
1874
1882
  return ret;
1875
1883
  }
1876
1884
  /**
1885
+ * Returns events for an agent as serialized bytes.
1886
+ * Returns a Map<Uint8Array, Uint8Array> where keys are event hashes and values are serialized event bytes.
1877
1887
  * @param {Agent} agent
1878
1888
  * @returns {Promise<Map<any, any>>}
1879
1889
  */
@@ -1950,6 +1960,13 @@ class Keyhive {
1950
1960
  const ret = wasm.keyhive_membershipOpsForAgent(this.__wbg_ptr, agent.__wbg_ptr);
1951
1961
  return ret;
1952
1962
  }
1963
+ /**
1964
+ * @returns {Promise<ContactCard>}
1965
+ */
1966
+ getExistingContactCard() {
1967
+ const ret = wasm.keyhive_getExistingContactCard(this.__wbg_ptr);
1968
+ return ret;
1969
+ }
1953
1970
  /**
1954
1971
  * @returns {IndividualId}
1955
1972
  */
@@ -3396,6 +3413,12 @@ exports.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
3396
3413
  return ret;
3397
3414
  };
3398
3415
 
3416
+ exports.__wbindgen_cast_2eab6f6adaa15bfa = function(arg0, arg1) {
3417
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 477, function: Function { arguments: [Externref], shim_idx: 478, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3418
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3419
+ return ret;
3420
+ };
3421
+
3399
3422
  exports.__wbindgen_cast_6300122139088863 = function(arg0, arg1) {
3400
3423
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
3401
3424
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -3428,12 +3451,6 @@ exports.__wbindgen_cast_77bc3e92745e9a35 = function(arg0, arg1) {
3428
3451
  return ret;
3429
3452
  };
3430
3453
 
3431
- exports.__wbindgen_cast_8a0dcb440347b3b9 = function(arg0, arg1) {
3432
- // Cast intrinsic for `Closure(Closure { dtor_idx: 473, function: Function { arguments: [Externref], shim_idx: 474, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3433
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3434
- return ret;
3435
- };
3436
-
3437
3454
  exports.__wbindgen_cast_a81e76255c07f2e8 = function(arg0, arg1) {
3438
3455
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
3439
3456
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
Binary file