@keyhive/keyhive 0.0.0-alpha.49 → 0.0.0-alpha.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,26 +2,10 @@
2
2
  let imports = {};
3
3
  imports['__wbindgen_placeholder__'] = module.exports;
4
4
 
5
- let cachedUint8ArrayMemory0 = null;
6
-
7
- function getUint8ArrayMemory0() {
8
- if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
9
- cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
10
- }
11
- return cachedUint8ArrayMemory0;
12
- }
13
-
14
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
15
-
16
- cachedTextDecoder.decode();
17
-
18
- function decodeText(ptr, len) {
19
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
20
- }
21
-
22
- function getStringFromWasm0(ptr, len) {
23
- ptr = ptr >>> 0;
24
- return decodeText(ptr, len);
5
+ function addToExternrefTable0(obj) {
6
+ const idx = wasm.__externref_table_alloc();
7
+ wasm.__wbindgen_externrefs.set(idx, obj);
8
+ return idx;
25
9
  }
26
10
 
27
11
  function _assertClass(instance, klass) {
@@ -30,6 +14,10 @@ function _assertClass(instance, klass) {
30
14
  }
31
15
  }
32
16
 
17
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
18
+ ? { register: () => {}, unregister: () => {} }
19
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
20
+
33
21
  function debugString(val) {
34
22
  // primitive types
35
23
  const type = typeof val;
@@ -95,62 +83,23 @@ function debugString(val) {
95
83
  return className;
96
84
  }
97
85
 
98
- let WASM_VECTOR_LEN = 0;
99
-
100
- const cachedTextEncoder = new TextEncoder();
101
-
102
- if (!('encodeInto' in cachedTextEncoder)) {
103
- cachedTextEncoder.encodeInto = function (arg, view) {
104
- const buf = cachedTextEncoder.encode(arg);
105
- view.set(buf);
106
- return {
107
- read: arg.length,
108
- written: buf.length
109
- };
86
+ function getArrayJsValueFromWasm0(ptr, len) {
87
+ ptr = ptr >>> 0;
88
+ const mem = getDataViewMemory0();
89
+ const result = [];
90
+ for (let i = ptr; i < ptr + 4 * len; i += 4) {
91
+ result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
110
92
  }
93
+ wasm.__externref_drop_slice(ptr, len);
94
+ return result;
111
95
  }
112
96
 
113
- function passStringToWasm0(arg, malloc, realloc) {
114
-
115
- if (realloc === undefined) {
116
- const buf = cachedTextEncoder.encode(arg);
117
- const ptr = malloc(buf.length, 1) >>> 0;
118
- getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
119
- WASM_VECTOR_LEN = buf.length;
120
- return ptr;
121
- }
122
-
123
- let len = arg.length;
124
- let ptr = malloc(len, 1) >>> 0;
125
-
126
- const mem = getUint8ArrayMemory0();
127
-
128
- let offset = 0;
129
-
130
- for (; offset < len; offset++) {
131
- const code = arg.charCodeAt(offset);
132
- if (code > 0x7F) break;
133
- mem[ptr + offset] = code;
134
- }
135
-
136
- if (offset !== len) {
137
- if (offset !== 0) {
138
- arg = arg.slice(offset);
139
- }
140
- ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
141
- const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
142
- const ret = cachedTextEncoder.encodeInto(arg, view);
143
-
144
- offset += ret.written;
145
- ptr = realloc(ptr, len, offset, 1) >>> 0;
146
- }
147
-
148
- WASM_VECTOR_LEN = offset;
149
- return ptr;
97
+ function getArrayU8FromWasm0(ptr, len) {
98
+ ptr = ptr >>> 0;
99
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
150
100
  }
151
101
 
152
102
  let cachedDataViewMemory0 = null;
153
-
154
103
  function getDataViewMemory0() {
155
104
  if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
156
105
  cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
@@ -158,10 +107,17 @@ function getDataViewMemory0() {
158
107
  return cachedDataViewMemory0;
159
108
  }
160
109
 
161
- function addToExternrefTable0(obj) {
162
- const idx = wasm.__externref_table_alloc();
163
- wasm.__wbindgen_externrefs.set(idx, obj);
164
- return idx;
110
+ function getStringFromWasm0(ptr, len) {
111
+ ptr = ptr >>> 0;
112
+ return decodeText(ptr, len);
113
+ }
114
+
115
+ let cachedUint8ArrayMemory0 = null;
116
+ function getUint8ArrayMemory0() {
117
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
118
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
119
+ }
120
+ return cachedUint8ArrayMemory0;
165
121
  }
166
122
 
167
123
  function handleError(f, args) {
@@ -173,30 +129,10 @@ function handleError(f, args) {
173
129
  }
174
130
  }
175
131
 
176
- function getArrayU8FromWasm0(ptr, len) {
177
- ptr = ptr >>> 0;
178
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
179
- }
180
-
181
132
  function isLikeNone(x) {
182
133
  return x === undefined || x === null;
183
134
  }
184
135
 
185
- function getArrayJsValueFromWasm0(ptr, len) {
186
- ptr = ptr >>> 0;
187
- const mem = getDataViewMemory0();
188
- const result = [];
189
- for (let i = ptr; i < ptr + 4 * len; i += 4) {
190
- result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
191
- }
192
- wasm.__externref_drop_slice(ptr, len);
193
- return result;
194
- }
195
-
196
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
197
- ? { register: () => {}, unregister: () => {} }
198
- : new FinalizationRegistry(state => state.dtor(state.a, state.b));
199
-
200
136
  function makeMutClosure(arg0, arg1, dtor, f) {
201
137
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
202
138
  const real = (...args) => {
@@ -225,12 +161,6 @@ function makeMutClosure(arg0, arg1, dtor, f) {
225
161
  return real;
226
162
  }
227
163
 
228
- function takeFromExternrefTable0(idx) {
229
- const value = wasm.__wbindgen_externrefs.get(idx);
230
- wasm.__externref_table_dealloc(idx);
231
- return value;
232
- }
233
-
234
164
  function passArray8ToWasm0(arg, malloc) {
235
165
  const ptr = malloc(arg.length * 1, 1) >>> 0;
236
166
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -247,30 +177,236 @@ function passArrayJsValueToWasm0(array, malloc) {
247
177
  WASM_VECTOR_LEN = array.length;
248
178
  return ptr;
249
179
  }
250
- /**
251
- * Panic hook lets us get better error messages if our Rust code ever panics.
252
- *
253
- * This function needs to be called at least once during initialisation.
254
- * 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
255
- */
256
- exports.setPanicHook = function() {
257
- wasm.setPanicHook();
258
- };
259
180
 
260
- function wasm_bindgen__convert__closures_____invoke__h270e774e62b586ab(arg0, arg1, arg2) {
261
- wasm.wasm_bindgen__convert__closures_____invoke__h270e774e62b586ab(arg0, arg1, arg2);
181
+ function passStringToWasm0(arg, malloc, realloc) {
182
+ if (realloc === undefined) {
183
+ const buf = cachedTextEncoder.encode(arg);
184
+ const ptr = malloc(buf.length, 1) >>> 0;
185
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
186
+ WASM_VECTOR_LEN = buf.length;
187
+ return ptr;
188
+ }
189
+
190
+ let len = arg.length;
191
+ let ptr = malloc(len, 1) >>> 0;
192
+
193
+ const mem = getUint8ArrayMemory0();
194
+
195
+ let offset = 0;
196
+
197
+ for (; offset < len; offset++) {
198
+ const code = arg.charCodeAt(offset);
199
+ if (code > 0x7F) break;
200
+ mem[ptr + offset] = code;
201
+ }
202
+ if (offset !== len) {
203
+ if (offset !== 0) {
204
+ arg = arg.slice(offset);
205
+ }
206
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
207
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
208
+ const ret = cachedTextEncoder.encodeInto(arg, view);
209
+
210
+ offset += ret.written;
211
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
212
+ }
213
+
214
+ WASM_VECTOR_LEN = offset;
215
+ return ptr;
262
216
  }
263
217
 
264
- function wasm_bindgen__convert__closures_____invoke__h1069d9784c192ccc(arg0, arg1, arg2, arg3) {
265
- wasm.wasm_bindgen__convert__closures_____invoke__h1069d9784c192ccc(arg0, arg1, arg2, arg3);
218
+ function takeFromExternrefTable0(idx) {
219
+ const value = wasm.__wbindgen_externrefs.get(idx);
220
+ wasm.__externref_table_dealloc(idx);
221
+ return value;
222
+ }
223
+
224
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
225
+ cachedTextDecoder.decode();
226
+ function decodeText(ptr, len) {
227
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
228
+ }
229
+
230
+ const cachedTextEncoder = new TextEncoder();
231
+
232
+ if (!('encodeInto' in cachedTextEncoder)) {
233
+ cachedTextEncoder.encodeInto = function (arg, view) {
234
+ const buf = cachedTextEncoder.encode(arg);
235
+ view.set(buf);
236
+ return {
237
+ read: arg.length,
238
+ written: buf.length
239
+ };
240
+ }
241
+ }
242
+
243
+ let WASM_VECTOR_LEN = 0;
244
+
245
+ function wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069(arg0, arg1, arg2) {
246
+ wasm.wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069(arg0, arg1, arg2);
247
+ }
248
+
249
+ function wasm_bindgen__convert__closures_____invoke__h0e2a667a85375385(arg0, arg1, arg2, arg3) {
250
+ wasm.wasm_bindgen__convert__closures_____invoke__h0e2a667a85375385(arg0, arg1, arg2, arg3);
266
251
  }
267
252
 
268
253
  const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
269
254
  ? { register: () => {}, unregister: () => {} }
270
255
  : new FinalizationRegistry(ptr => wasm.__wbg_access_free(ptr >>> 0, 1));
271
256
 
272
- class Access {
257
+ const AgentFinalization = (typeof FinalizationRegistry === 'undefined')
258
+ ? { register: () => {}, unregister: () => {} }
259
+ : new FinalizationRegistry(ptr => wasm.__wbg_agent_free(ptr >>> 0, 1));
273
260
 
261
+ const ArchiveFinalization = (typeof FinalizationRegistry === 'undefined')
262
+ ? { register: () => {}, unregister: () => {} }
263
+ : new FinalizationRegistry(ptr => wasm.__wbg_archive_free(ptr >>> 0, 1));
264
+
265
+ const CannotParseEd25519SigningKeyFinalization = (typeof FinalizationRegistry === 'undefined')
266
+ ? { register: () => {}, unregister: () => {} }
267
+ : new FinalizationRegistry(ptr => wasm.__wbg_cannotparseed25519signingkey_free(ptr >>> 0, 1));
268
+
269
+ const CannotParseIdentifierFinalization = (typeof FinalizationRegistry === 'undefined')
270
+ ? { register: () => {}, unregister: () => {} }
271
+ : new FinalizationRegistry(ptr => wasm.__wbg_cannotparseidentifier_free(ptr >>> 0, 1));
272
+
273
+ const CapabilityFinalization = (typeof FinalizationRegistry === 'undefined')
274
+ ? { register: () => {}, unregister: () => {} }
275
+ : new FinalizationRegistry(ptr => wasm.__wbg_capability_free(ptr >>> 0, 1));
276
+
277
+ const CgkaOperationFinalization = (typeof FinalizationRegistry === 'undefined')
278
+ ? { register: () => {}, unregister: () => {} }
279
+ : new FinalizationRegistry(ptr => wasm.__wbg_cgkaoperation_free(ptr >>> 0, 1));
280
+
281
+ const ChangeIdFinalization = (typeof FinalizationRegistry === 'undefined')
282
+ ? { register: () => {}, unregister: () => {} }
283
+ : new FinalizationRegistry(ptr => wasm.__wbg_changeid_free(ptr >>> 0, 1));
284
+
285
+ const CiphertextStoreFinalization = (typeof FinalizationRegistry === 'undefined')
286
+ ? { register: () => {}, unregister: () => {} }
287
+ : new FinalizationRegistry(ptr => wasm.__wbg_ciphertextstore_free(ptr >>> 0, 1));
288
+
289
+ const ContactCardFinalization = (typeof FinalizationRegistry === 'undefined')
290
+ ? { register: () => {}, unregister: () => {} }
291
+ : new FinalizationRegistry(ptr => wasm.__wbg_contactcard_free(ptr >>> 0, 1));
292
+
293
+ const DelegationFinalization = (typeof FinalizationRegistry === 'undefined')
294
+ ? { register: () => {}, unregister: () => {} }
295
+ : new FinalizationRegistry(ptr => wasm.__wbg_delegation_free(ptr >>> 0, 1));
296
+
297
+ const DocContentRefsFinalization = (typeof FinalizationRegistry === 'undefined')
298
+ ? { register: () => {}, unregister: () => {} }
299
+ : new FinalizationRegistry(ptr => wasm.__wbg_doccontentrefs_free(ptr >>> 0, 1));
300
+
301
+ const DocumentFinalization = (typeof FinalizationRegistry === 'undefined')
302
+ ? { register: () => {}, unregister: () => {} }
303
+ : new FinalizationRegistry(ptr => wasm.__wbg_document_free(ptr >>> 0, 1));
304
+
305
+ const DocumentIdFinalization = (typeof FinalizationRegistry === 'undefined')
306
+ ? { register: () => {}, unregister: () => {} }
307
+ : new FinalizationRegistry(ptr => wasm.__wbg_documentid_free(ptr >>> 0, 1));
308
+
309
+ const EncryptedFinalization = (typeof FinalizationRegistry === 'undefined')
310
+ ? { register: () => {}, unregister: () => {} }
311
+ : new FinalizationRegistry(ptr => wasm.__wbg_encrypted_free(ptr >>> 0, 1));
312
+
313
+ const EncryptedContentWithUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
314
+ ? { register: () => {}, unregister: () => {} }
315
+ : new FinalizationRegistry(ptr => wasm.__wbg_encryptedcontentwithupdate_free(ptr >>> 0, 1));
316
+
317
+ const EventFinalization = (typeof FinalizationRegistry === 'undefined')
318
+ ? { register: () => {}, unregister: () => {} }
319
+ : new FinalizationRegistry(ptr => wasm.__wbg_event_free(ptr >>> 0, 1));
320
+
321
+ const GenerateWebCryptoErrorFinalization = (typeof FinalizationRegistry === 'undefined')
322
+ ? { register: () => {}, unregister: () => {} }
323
+ : new FinalizationRegistry(ptr => wasm.__wbg_generatewebcryptoerror_free(ptr >>> 0, 1));
324
+
325
+ const GroupFinalization = (typeof FinalizationRegistry === 'undefined')
326
+ ? { register: () => {}, unregister: () => {} }
327
+ : new FinalizationRegistry(ptr => wasm.__wbg_group_free(ptr >>> 0, 1));
328
+
329
+ const GroupIdFinalization = (typeof FinalizationRegistry === 'undefined')
330
+ ? { register: () => {}, unregister: () => {} }
331
+ : new FinalizationRegistry(ptr => wasm.__wbg_groupid_free(ptr >>> 0, 1));
332
+
333
+ const HistoryFinalization = (typeof FinalizationRegistry === 'undefined')
334
+ ? { register: () => {}, unregister: () => {} }
335
+ : new FinalizationRegistry(ptr => wasm.__wbg_history_free(ptr >>> 0, 1));
336
+
337
+ const IdentifierFinalization = (typeof FinalizationRegistry === 'undefined')
338
+ ? { register: () => {}, unregister: () => {} }
339
+ : new FinalizationRegistry(ptr => wasm.__wbg_identifier_free(ptr >>> 0, 1));
340
+
341
+ const IndividualFinalization = (typeof FinalizationRegistry === 'undefined')
342
+ ? { register: () => {}, unregister: () => {} }
343
+ : new FinalizationRegistry(ptr => wasm.__wbg_individual_free(ptr >>> 0, 1));
344
+
345
+ const IndividualIdFinalization = (typeof FinalizationRegistry === 'undefined')
346
+ ? { register: () => {}, unregister: () => {} }
347
+ : new FinalizationRegistry(ptr => wasm.__wbg_individualid_free(ptr >>> 0, 1));
348
+
349
+ const InvocationFinalization = (typeof FinalizationRegistry === 'undefined')
350
+ ? { register: () => {}, unregister: () => {} }
351
+ : new FinalizationRegistry(ptr => wasm.__wbg_invocation_free(ptr >>> 0, 1));
352
+
353
+ const KeyhiveFinalization = (typeof FinalizationRegistry === 'undefined')
354
+ ? { register: () => {}, unregister: () => {} }
355
+ : new FinalizationRegistry(ptr => wasm.__wbg_keyhive_free(ptr >>> 0, 1));
356
+
357
+ const MemberedFinalization = (typeof FinalizationRegistry === 'undefined')
358
+ ? { register: () => {}, unregister: () => {} }
359
+ : new FinalizationRegistry(ptr => wasm.__wbg_membered_free(ptr >>> 0, 1));
360
+
361
+ const MembershipFinalization = (typeof FinalizationRegistry === 'undefined')
362
+ ? { register: () => {}, unregister: () => {} }
363
+ : new FinalizationRegistry(ptr => wasm.__wbg_membership_free(ptr >>> 0, 1));
364
+
365
+ const PeerFinalization = (typeof FinalizationRegistry === 'undefined')
366
+ ? { register: () => {}, unregister: () => {} }
367
+ : new FinalizationRegistry(ptr => wasm.__wbg_peer_free(ptr >>> 0, 1));
368
+
369
+ const RevocationFinalization = (typeof FinalizationRegistry === 'undefined')
370
+ ? { register: () => {}, unregister: () => {} }
371
+ : new FinalizationRegistry(ptr => wasm.__wbg_revocation_free(ptr >>> 0, 1));
372
+
373
+ const ShareKeyFinalization = (typeof FinalizationRegistry === 'undefined')
374
+ ? { register: () => {}, unregister: () => {} }
375
+ : new FinalizationRegistry(ptr => wasm.__wbg_sharekey_free(ptr >>> 0, 1));
376
+
377
+ const SignedFinalization = (typeof FinalizationRegistry === 'undefined')
378
+ ? { register: () => {}, unregister: () => {} }
379
+ : new FinalizationRegistry(ptr => wasm.__wbg_signed_free(ptr >>> 0, 1));
380
+
381
+ const SignedCgkaOperationFinalization = (typeof FinalizationRegistry === 'undefined')
382
+ ? { register: () => {}, unregister: () => {} }
383
+ : new FinalizationRegistry(ptr => wasm.__wbg_signedcgkaoperation_free(ptr >>> 0, 1));
384
+
385
+ const SignedDelegationFinalization = (typeof FinalizationRegistry === 'undefined')
386
+ ? { register: () => {}, unregister: () => {} }
387
+ : new FinalizationRegistry(ptr => wasm.__wbg_signeddelegation_free(ptr >>> 0, 1));
388
+
389
+ const SignedInvocationFinalization = (typeof FinalizationRegistry === 'undefined')
390
+ ? { register: () => {}, unregister: () => {} }
391
+ : new FinalizationRegistry(ptr => wasm.__wbg_signedinvocation_free(ptr >>> 0, 1));
392
+
393
+ const SignedRevocationFinalization = (typeof FinalizationRegistry === 'undefined')
394
+ ? { register: () => {}, unregister: () => {} }
395
+ : new FinalizationRegistry(ptr => wasm.__wbg_signedrevocation_free(ptr >>> 0, 1));
396
+
397
+ const SignerFinalization = (typeof FinalizationRegistry === 'undefined')
398
+ ? { register: () => {}, unregister: () => {} }
399
+ : new FinalizationRegistry(ptr => wasm.__wbg_signer_free(ptr >>> 0, 1));
400
+
401
+ const StatsFinalization = (typeof FinalizationRegistry === 'undefined')
402
+ ? { register: () => {}, unregister: () => {} }
403
+ : new FinalizationRegistry(ptr => wasm.__wbg_stats_free(ptr >>> 0, 1));
404
+
405
+ const SummaryFinalization = (typeof FinalizationRegistry === 'undefined')
406
+ ? { register: () => {}, unregister: () => {} }
407
+ : new FinalizationRegistry(ptr => wasm.__wbg_summary_free(ptr >>> 0, 1));
408
+
409
+ class Access {
274
410
  static __wrap(ptr) {
275
411
  ptr = ptr >>> 0;
276
412
  const obj = Object.create(Access.prototype);
@@ -278,14 +414,12 @@ class Access {
278
414
  AccessFinalization.register(obj, obj.__wbg_ptr, obj);
279
415
  return obj;
280
416
  }
281
-
282
417
  __destroy_into_raw() {
283
418
  const ptr = this.__wbg_ptr;
284
419
  this.__wbg_ptr = 0;
285
420
  AccessFinalization.unregister(this);
286
421
  return ptr;
287
422
  }
288
-
289
423
  free() {
290
424
  const ptr = this.__destroy_into_raw();
291
425
  wasm.__wbg_access_free(ptr, 0);
@@ -317,15 +451,9 @@ class Access {
317
451
  }
318
452
  }
319
453
  if (Symbol.dispose) Access.prototype[Symbol.dispose] = Access.prototype.free;
320
-
321
454
  exports.Access = Access;
322
455
 
323
- const AgentFinalization = (typeof FinalizationRegistry === 'undefined')
324
- ? { register: () => {}, unregister: () => {} }
325
- : new FinalizationRegistry(ptr => wasm.__wbg_agent_free(ptr >>> 0, 1));
326
-
327
456
  class Agent {
328
-
329
457
  static __wrap(ptr) {
330
458
  ptr = ptr >>> 0;
331
459
  const obj = Object.create(Agent.prototype);
@@ -333,14 +461,12 @@ class Agent {
333
461
  AgentFinalization.register(obj, obj.__wbg_ptr, obj);
334
462
  return obj;
335
463
  }
336
-
337
464
  __destroy_into_raw() {
338
465
  const ptr = this.__wbg_ptr;
339
466
  this.__wbg_ptr = 0;
340
467
  AgentFinalization.unregister(this);
341
468
  return ptr;
342
469
  }
343
-
344
470
  free() {
345
471
  const ptr = this.__destroy_into_raw();
346
472
  wasm.__wbg_agent_free(ptr, 0);
@@ -390,15 +516,9 @@ class Agent {
390
516
  }
391
517
  }
392
518
  if (Symbol.dispose) Agent.prototype[Symbol.dispose] = Agent.prototype.free;
393
-
394
519
  exports.Agent = Agent;
395
520
 
396
- const ArchiveFinalization = (typeof FinalizationRegistry === 'undefined')
397
- ? { register: () => {}, unregister: () => {} }
398
- : new FinalizationRegistry(ptr => wasm.__wbg_archive_free(ptr >>> 0, 1));
399
-
400
521
  class Archive {
401
-
402
522
  static __wrap(ptr) {
403
523
  ptr = ptr >>> 0;
404
524
  const obj = Object.create(Archive.prototype);
@@ -406,14 +526,12 @@ class Archive {
406
526
  ArchiveFinalization.register(obj, obj.__wbg_ptr, obj);
407
527
  return obj;
408
528
  }
409
-
410
529
  __destroy_into_raw() {
411
530
  const ptr = this.__wbg_ptr;
412
531
  this.__wbg_ptr = 0;
413
532
  ArchiveFinalization.unregister(this);
414
533
  return ptr;
415
534
  }
416
-
417
535
  free() {
418
536
  const ptr = this.__destroy_into_raw();
419
537
  wasm.__wbg_archive_free(ptr, 0);
@@ -459,15 +577,9 @@ class Archive {
459
577
  }
460
578
  }
461
579
  if (Symbol.dispose) Archive.prototype[Symbol.dispose] = Archive.prototype.free;
462
-
463
580
  exports.Archive = Archive;
464
581
 
465
- const CannotParseEd25519SigningKeyFinalization = (typeof FinalizationRegistry === 'undefined')
466
- ? { register: () => {}, unregister: () => {} }
467
- : new FinalizationRegistry(ptr => wasm.__wbg_cannotparseed25519signingkey_free(ptr >>> 0, 1));
468
-
469
582
  class CannotParseEd25519SigningKey {
470
-
471
583
  static __wrap(ptr) {
472
584
  ptr = ptr >>> 0;
473
585
  const obj = Object.create(CannotParseEd25519SigningKey.prototype);
@@ -475,29 +587,21 @@ class CannotParseEd25519SigningKey {
475
587
  CannotParseEd25519SigningKeyFinalization.register(obj, obj.__wbg_ptr, obj);
476
588
  return obj;
477
589
  }
478
-
479
590
  __destroy_into_raw() {
480
591
  const ptr = this.__wbg_ptr;
481
592
  this.__wbg_ptr = 0;
482
593
  CannotParseEd25519SigningKeyFinalization.unregister(this);
483
594
  return ptr;
484
595
  }
485
-
486
596
  free() {
487
597
  const ptr = this.__destroy_into_raw();
488
598
  wasm.__wbg_cannotparseed25519signingkey_free(ptr, 0);
489
599
  }
490
600
  }
491
601
  if (Symbol.dispose) CannotParseEd25519SigningKey.prototype[Symbol.dispose] = CannotParseEd25519SigningKey.prototype.free;
492
-
493
602
  exports.CannotParseEd25519SigningKey = CannotParseEd25519SigningKey;
494
603
 
495
- const CannotParseIdentifierFinalization = (typeof FinalizationRegistry === 'undefined')
496
- ? { register: () => {}, unregister: () => {} }
497
- : new FinalizationRegistry(ptr => wasm.__wbg_cannotparseidentifier_free(ptr >>> 0, 1));
498
-
499
604
  class CannotParseIdentifier {
500
-
501
605
  static __wrap(ptr) {
502
606
  ptr = ptr >>> 0;
503
607
  const obj = Object.create(CannotParseIdentifier.prototype);
@@ -505,29 +609,21 @@ class CannotParseIdentifier {
505
609
  CannotParseIdentifierFinalization.register(obj, obj.__wbg_ptr, obj);
506
610
  return obj;
507
611
  }
508
-
509
612
  __destroy_into_raw() {
510
613
  const ptr = this.__wbg_ptr;
511
614
  this.__wbg_ptr = 0;
512
615
  CannotParseIdentifierFinalization.unregister(this);
513
616
  return ptr;
514
617
  }
515
-
516
618
  free() {
517
619
  const ptr = this.__destroy_into_raw();
518
620
  wasm.__wbg_cannotparseidentifier_free(ptr, 0);
519
621
  }
520
622
  }
521
623
  if (Symbol.dispose) CannotParseIdentifier.prototype[Symbol.dispose] = CannotParseIdentifier.prototype.free;
522
-
523
624
  exports.CannotParseIdentifier = CannotParseIdentifier;
524
625
 
525
- const CapabilityFinalization = (typeof FinalizationRegistry === 'undefined')
526
- ? { register: () => {}, unregister: () => {} }
527
- : new FinalizationRegistry(ptr => wasm.__wbg_capability_free(ptr >>> 0, 1));
528
-
529
626
  class Capability {
530
-
531
627
  static __wrap(ptr) {
532
628
  ptr = ptr >>> 0;
533
629
  const obj = Object.create(Capability.prototype);
@@ -535,14 +631,12 @@ class Capability {
535
631
  CapabilityFinalization.register(obj, obj.__wbg_ptr, obj);
536
632
  return obj;
537
633
  }
538
-
539
634
  __destroy_into_raw() {
540
635
  const ptr = this.__wbg_ptr;
541
636
  this.__wbg_ptr = 0;
542
637
  CapabilityFinalization.unregister(this);
543
638
  return ptr;
544
639
  }
545
-
546
640
  free() {
547
641
  const ptr = this.__destroy_into_raw();
548
642
  wasm.__wbg_capability_free(ptr, 0);
@@ -570,15 +664,9 @@ class Capability {
570
664
  }
571
665
  }
572
666
  if (Symbol.dispose) Capability.prototype[Symbol.dispose] = Capability.prototype.free;
573
-
574
667
  exports.Capability = Capability;
575
668
 
576
- const CgkaOperationFinalization = (typeof FinalizationRegistry === 'undefined')
577
- ? { register: () => {}, unregister: () => {} }
578
- : new FinalizationRegistry(ptr => wasm.__wbg_cgkaoperation_free(ptr >>> 0, 1));
579
-
580
669
  class CgkaOperation {
581
-
582
670
  static __wrap(ptr) {
583
671
  ptr = ptr >>> 0;
584
672
  const obj = Object.create(CgkaOperation.prototype);
@@ -586,14 +674,12 @@ class CgkaOperation {
586
674
  CgkaOperationFinalization.register(obj, obj.__wbg_ptr, obj);
587
675
  return obj;
588
676
  }
589
-
590
677
  __destroy_into_raw() {
591
678
  const ptr = this.__wbg_ptr;
592
679
  this.__wbg_ptr = 0;
593
680
  CgkaOperationFinalization.unregister(this);
594
681
  return ptr;
595
682
  }
596
-
597
683
  free() {
598
684
  const ptr = this.__destroy_into_raw();
599
685
  wasm.__wbg_cgkaoperation_free(ptr, 0);
@@ -615,15 +701,9 @@ class CgkaOperation {
615
701
  }
616
702
  }
617
703
  if (Symbol.dispose) CgkaOperation.prototype[Symbol.dispose] = CgkaOperation.prototype.free;
618
-
619
704
  exports.CgkaOperation = CgkaOperation;
620
705
 
621
- const ChangeIdFinalization = (typeof FinalizationRegistry === 'undefined')
622
- ? { register: () => {}, unregister: () => {} }
623
- : new FinalizationRegistry(ptr => wasm.__wbg_changeid_free(ptr >>> 0, 1));
624
-
625
706
  class ChangeId {
626
-
627
707
  static __wrap(ptr) {
628
708
  ptr = ptr >>> 0;
629
709
  const obj = Object.create(ChangeId.prototype);
@@ -631,21 +711,18 @@ class ChangeId {
631
711
  ChangeIdFinalization.register(obj, obj.__wbg_ptr, obj);
632
712
  return obj;
633
713
  }
634
-
635
714
  static __unwrap(jsValue) {
636
715
  if (!(jsValue instanceof ChangeId)) {
637
716
  return 0;
638
717
  }
639
718
  return jsValue.__destroy_into_raw();
640
719
  }
641
-
642
720
  __destroy_into_raw() {
643
721
  const ptr = this.__wbg_ptr;
644
722
  this.__wbg_ptr = 0;
645
723
  ChangeIdFinalization.unregister(this);
646
724
  return ptr;
647
725
  }
648
-
649
726
  free() {
650
727
  const ptr = this.__destroy_into_raw();
651
728
  wasm.__wbg_changeid_free(ptr, 0);
@@ -680,15 +757,9 @@ class ChangeId {
680
757
  }
681
758
  }
682
759
  if (Symbol.dispose) ChangeId.prototype[Symbol.dispose] = ChangeId.prototype.free;
683
-
684
760
  exports.ChangeId = ChangeId;
685
761
 
686
- const CiphertextStoreFinalization = (typeof FinalizationRegistry === 'undefined')
687
- ? { register: () => {}, unregister: () => {} }
688
- : new FinalizationRegistry(ptr => wasm.__wbg_ciphertextstore_free(ptr >>> 0, 1));
689
-
690
762
  class CiphertextStore {
691
-
692
763
  static __wrap(ptr) {
693
764
  ptr = ptr >>> 0;
694
765
  const obj = Object.create(CiphertextStore.prototype);
@@ -696,14 +767,12 @@ class CiphertextStore {
696
767
  CiphertextStoreFinalization.register(obj, obj.__wbg_ptr, obj);
697
768
  return obj;
698
769
  }
699
-
700
770
  __destroy_into_raw() {
701
771
  const ptr = this.__wbg_ptr;
702
772
  this.__wbg_ptr = 0;
703
773
  CiphertextStoreFinalization.unregister(this);
704
774
  return ptr;
705
775
  }
706
-
707
776
  free() {
708
777
  const ptr = this.__destroy_into_raw();
709
778
  wasm.__wbg_ciphertextstore_free(ptr, 0);
@@ -725,15 +794,9 @@ class CiphertextStore {
725
794
  }
726
795
  }
727
796
  if (Symbol.dispose) CiphertextStore.prototype[Symbol.dispose] = CiphertextStore.prototype.free;
728
-
729
797
  exports.CiphertextStore = CiphertextStore;
730
798
 
731
- const ContactCardFinalization = (typeof FinalizationRegistry === 'undefined')
732
- ? { register: () => {}, unregister: () => {} }
733
- : new FinalizationRegistry(ptr => wasm.__wbg_contactcard_free(ptr >>> 0, 1));
734
-
735
799
  class ContactCard {
736
-
737
800
  static __wrap(ptr) {
738
801
  ptr = ptr >>> 0;
739
802
  const obj = Object.create(ContactCard.prototype);
@@ -741,14 +804,12 @@ class ContactCard {
741
804
  ContactCardFinalization.register(obj, obj.__wbg_ptr, obj);
742
805
  return obj;
743
806
  }
744
-
745
807
  __destroy_into_raw() {
746
808
  const ptr = this.__wbg_ptr;
747
809
  this.__wbg_ptr = 0;
748
810
  ContactCardFinalization.unregister(this);
749
811
  return ptr;
750
812
  }
751
-
752
813
  free() {
753
814
  const ptr = this.__destroy_into_raw();
754
815
  wasm.__wbg_contactcard_free(ptr, 0);
@@ -826,15 +887,9 @@ class ContactCard {
826
887
  }
827
888
  }
828
889
  if (Symbol.dispose) ContactCard.prototype[Symbol.dispose] = ContactCard.prototype.free;
829
-
830
890
  exports.ContactCard = ContactCard;
831
891
 
832
- const DelegationFinalization = (typeof FinalizationRegistry === 'undefined')
833
- ? { register: () => {}, unregister: () => {} }
834
- : new FinalizationRegistry(ptr => wasm.__wbg_delegation_free(ptr >>> 0, 1));
835
-
836
892
  class Delegation {
837
-
838
893
  static __wrap(ptr) {
839
894
  ptr = ptr >>> 0;
840
895
  const obj = Object.create(Delegation.prototype);
@@ -842,14 +897,12 @@ class Delegation {
842
897
  DelegationFinalization.register(obj, obj.__wbg_ptr, obj);
843
898
  return obj;
844
899
  }
845
-
846
900
  __destroy_into_raw() {
847
901
  const ptr = this.__wbg_ptr;
848
902
  this.__wbg_ptr = 0;
849
903
  DelegationFinalization.unregister(this);
850
904
  return ptr;
851
905
  }
852
-
853
906
  free() {
854
907
  const ptr = this.__destroy_into_raw();
855
908
  wasm.__wbg_delegation_free(ptr, 0);
@@ -884,15 +937,9 @@ class Delegation {
884
937
  }
885
938
  }
886
939
  if (Symbol.dispose) Delegation.prototype[Symbol.dispose] = Delegation.prototype.free;
887
-
888
940
  exports.Delegation = Delegation;
889
941
 
890
- const DocContentRefsFinalization = (typeof FinalizationRegistry === 'undefined')
891
- ? { register: () => {}, unregister: () => {} }
892
- : new FinalizationRegistry(ptr => wasm.__wbg_doccontentrefs_free(ptr >>> 0, 1));
893
-
894
942
  class DocContentRefs {
895
-
896
943
  static __wrap(ptr) {
897
944
  ptr = ptr >>> 0;
898
945
  const obj = Object.create(DocContentRefs.prototype);
@@ -900,14 +947,12 @@ class DocContentRefs {
900
947
  DocContentRefsFinalization.register(obj, obj.__wbg_ptr, obj);
901
948
  return obj;
902
949
  }
903
-
904
950
  __destroy_into_raw() {
905
951
  const ptr = this.__wbg_ptr;
906
952
  this.__wbg_ptr = 0;
907
953
  DocContentRefsFinalization.unregister(this);
908
954
  return ptr;
909
955
  }
910
-
911
956
  free() {
912
957
  const ptr = this.__destroy_into_raw();
913
958
  wasm.__wbg_doccontentrefs_free(ptr, 0);
@@ -955,15 +1000,9 @@ class DocContentRefs {
955
1000
  }
956
1001
  }
957
1002
  if (Symbol.dispose) DocContentRefs.prototype[Symbol.dispose] = DocContentRefs.prototype.free;
958
-
959
1003
  exports.DocContentRefs = DocContentRefs;
960
1004
 
961
- const DocumentFinalization = (typeof FinalizationRegistry === 'undefined')
962
- ? { register: () => {}, unregister: () => {} }
963
- : new FinalizationRegistry(ptr => wasm.__wbg_document_free(ptr >>> 0, 1));
964
-
965
1005
  class Document {
966
-
967
1006
  static __wrap(ptr) {
968
1007
  ptr = ptr >>> 0;
969
1008
  const obj = Object.create(Document.prototype);
@@ -971,14 +1010,12 @@ class Document {
971
1010
  DocumentFinalization.register(obj, obj.__wbg_ptr, obj);
972
1011
  return obj;
973
1012
  }
974
-
975
1013
  __destroy_into_raw() {
976
1014
  const ptr = this.__wbg_ptr;
977
1015
  this.__wbg_ptr = 0;
978
1016
  DocumentFinalization.unregister(this);
979
1017
  return ptr;
980
1018
  }
981
-
982
1019
  free() {
983
1020
  const ptr = this.__destroy_into_raw();
984
1021
  wasm.__wbg_document_free(ptr, 0);
@@ -1028,15 +1065,9 @@ class Document {
1028
1065
  }
1029
1066
  }
1030
1067
  if (Symbol.dispose) Document.prototype[Symbol.dispose] = Document.prototype.free;
1031
-
1032
1068
  exports.Document = Document;
1033
1069
 
1034
- const DocumentIdFinalization = (typeof FinalizationRegistry === 'undefined')
1035
- ? { register: () => {}, unregister: () => {} }
1036
- : new FinalizationRegistry(ptr => wasm.__wbg_documentid_free(ptr >>> 0, 1));
1037
-
1038
1070
  class DocumentId {
1039
-
1040
1071
  static __wrap(ptr) {
1041
1072
  ptr = ptr >>> 0;
1042
1073
  const obj = Object.create(DocumentId.prototype);
@@ -1044,14 +1075,12 @@ class DocumentId {
1044
1075
  DocumentIdFinalization.register(obj, obj.__wbg_ptr, obj);
1045
1076
  return obj;
1046
1077
  }
1047
-
1048
1078
  __destroy_into_raw() {
1049
1079
  const ptr = this.__wbg_ptr;
1050
1080
  this.__wbg_ptr = 0;
1051
1081
  DocumentIdFinalization.unregister(this);
1052
1082
  return ptr;
1053
1083
  }
1054
-
1055
1084
  free() {
1056
1085
  const ptr = this.__destroy_into_raw();
1057
1086
  wasm.__wbg_documentid_free(ptr, 0);
@@ -1103,15 +1132,9 @@ class DocumentId {
1103
1132
  }
1104
1133
  }
1105
1134
  if (Symbol.dispose) DocumentId.prototype[Symbol.dispose] = DocumentId.prototype.free;
1106
-
1107
1135
  exports.DocumentId = DocumentId;
1108
1136
 
1109
- const EncryptedFinalization = (typeof FinalizationRegistry === 'undefined')
1110
- ? { register: () => {}, unregister: () => {} }
1111
- : new FinalizationRegistry(ptr => wasm.__wbg_encrypted_free(ptr >>> 0, 1));
1112
-
1113
1137
  class Encrypted {
1114
-
1115
1138
  static __wrap(ptr) {
1116
1139
  ptr = ptr >>> 0;
1117
1140
  const obj = Object.create(Encrypted.prototype);
@@ -1119,14 +1142,12 @@ class Encrypted {
1119
1142
  EncryptedFinalization.register(obj, obj.__wbg_ptr, obj);
1120
1143
  return obj;
1121
1144
  }
1122
-
1123
1145
  __destroy_into_raw() {
1124
1146
  const ptr = this.__wbg_ptr;
1125
1147
  this.__wbg_ptr = 0;
1126
1148
  EncryptedFinalization.unregister(this);
1127
1149
  return ptr;
1128
1150
  }
1129
-
1130
1151
  free() {
1131
1152
  const ptr = this.__destroy_into_raw();
1132
1153
  wasm.__wbg_encrypted_free(ptr, 0);
@@ -1187,15 +1208,9 @@ class Encrypted {
1187
1208
  }
1188
1209
  }
1189
1210
  if (Symbol.dispose) Encrypted.prototype[Symbol.dispose] = Encrypted.prototype.free;
1190
-
1191
1211
  exports.Encrypted = Encrypted;
1192
1212
 
1193
- const EncryptedContentWithUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
1194
- ? { register: () => {}, unregister: () => {} }
1195
- : new FinalizationRegistry(ptr => wasm.__wbg_encryptedcontentwithupdate_free(ptr >>> 0, 1));
1196
-
1197
1213
  class EncryptedContentWithUpdate {
1198
-
1199
1214
  static __wrap(ptr) {
1200
1215
  ptr = ptr >>> 0;
1201
1216
  const obj = Object.create(EncryptedContentWithUpdate.prototype);
@@ -1203,14 +1218,12 @@ class EncryptedContentWithUpdate {
1203
1218
  EncryptedContentWithUpdateFinalization.register(obj, obj.__wbg_ptr, obj);
1204
1219
  return obj;
1205
1220
  }
1206
-
1207
1221
  __destroy_into_raw() {
1208
1222
  const ptr = this.__wbg_ptr;
1209
1223
  this.__wbg_ptr = 0;
1210
1224
  EncryptedContentWithUpdateFinalization.unregister(this);
1211
1225
  return ptr;
1212
1226
  }
1213
-
1214
1227
  free() {
1215
1228
  const ptr = this.__destroy_into_raw();
1216
1229
  wasm.__wbg_encryptedcontentwithupdate_free(ptr, 0);
@@ -1231,15 +1244,9 @@ class EncryptedContentWithUpdate {
1231
1244
  }
1232
1245
  }
1233
1246
  if (Symbol.dispose) EncryptedContentWithUpdate.prototype[Symbol.dispose] = EncryptedContentWithUpdate.prototype.free;
1234
-
1235
1247
  exports.EncryptedContentWithUpdate = EncryptedContentWithUpdate;
1236
1248
 
1237
- const EventFinalization = (typeof FinalizationRegistry === 'undefined')
1238
- ? { register: () => {}, unregister: () => {} }
1239
- : new FinalizationRegistry(ptr => wasm.__wbg_event_free(ptr >>> 0, 1));
1240
-
1241
1249
  class Event {
1242
-
1243
1250
  static __wrap(ptr) {
1244
1251
  ptr = ptr >>> 0;
1245
1252
  const obj = Object.create(Event.prototype);
@@ -1247,14 +1254,12 @@ class Event {
1247
1254
  EventFinalization.register(obj, obj.__wbg_ptr, obj);
1248
1255
  return obj;
1249
1256
  }
1250
-
1251
1257
  __destroy_into_raw() {
1252
1258
  const ptr = this.__wbg_ptr;
1253
1259
  this.__wbg_ptr = 0;
1254
1260
  EventFinalization.unregister(this);
1255
1261
  return ptr;
1256
1262
  }
1257
-
1258
1263
  free() {
1259
1264
  const ptr = this.__destroy_into_raw();
1260
1265
  wasm.__wbg_event_free(ptr, 0);
@@ -1318,15 +1323,9 @@ class Event {
1318
1323
  }
1319
1324
  }
1320
1325
  if (Symbol.dispose) Event.prototype[Symbol.dispose] = Event.prototype.free;
1321
-
1322
1326
  exports.Event = Event;
1323
1327
 
1324
- const GenerateWebCryptoErrorFinalization = (typeof FinalizationRegistry === 'undefined')
1325
- ? { register: () => {}, unregister: () => {} }
1326
- : new FinalizationRegistry(ptr => wasm.__wbg_generatewebcryptoerror_free(ptr >>> 0, 1));
1327
-
1328
1328
  class GenerateWebCryptoError {
1329
-
1330
1329
  static __wrap(ptr) {
1331
1330
  ptr = ptr >>> 0;
1332
1331
  const obj = Object.create(GenerateWebCryptoError.prototype);
@@ -1334,14 +1333,12 @@ class GenerateWebCryptoError {
1334
1333
  GenerateWebCryptoErrorFinalization.register(obj, obj.__wbg_ptr, obj);
1335
1334
  return obj;
1336
1335
  }
1337
-
1338
1336
  __destroy_into_raw() {
1339
1337
  const ptr = this.__wbg_ptr;
1340
1338
  this.__wbg_ptr = 0;
1341
1339
  GenerateWebCryptoErrorFinalization.unregister(this);
1342
1340
  return ptr;
1343
1341
  }
1344
-
1345
1342
  free() {
1346
1343
  const ptr = this.__destroy_into_raw();
1347
1344
  wasm.__wbg_generatewebcryptoerror_free(ptr, 0);
@@ -1363,15 +1360,9 @@ class GenerateWebCryptoError {
1363
1360
  }
1364
1361
  }
1365
1362
  if (Symbol.dispose) GenerateWebCryptoError.prototype[Symbol.dispose] = GenerateWebCryptoError.prototype.free;
1366
-
1367
1363
  exports.GenerateWebCryptoError = GenerateWebCryptoError;
1368
1364
 
1369
- const GroupFinalization = (typeof FinalizationRegistry === 'undefined')
1370
- ? { register: () => {}, unregister: () => {} }
1371
- : new FinalizationRegistry(ptr => wasm.__wbg_group_free(ptr >>> 0, 1));
1372
-
1373
1365
  class Group {
1374
-
1375
1366
  static __wrap(ptr) {
1376
1367
  ptr = ptr >>> 0;
1377
1368
  const obj = Object.create(Group.prototype);
@@ -1379,14 +1370,12 @@ class Group {
1379
1370
  GroupFinalization.register(obj, obj.__wbg_ptr, obj);
1380
1371
  return obj;
1381
1372
  }
1382
-
1383
1373
  __destroy_into_raw() {
1384
1374
  const ptr = this.__wbg_ptr;
1385
1375
  this.__wbg_ptr = 0;
1386
1376
  GroupFinalization.unregister(this);
1387
1377
  return ptr;
1388
1378
  }
1389
-
1390
1379
  free() {
1391
1380
  const ptr = this.__destroy_into_raw();
1392
1381
  wasm.__wbg_group_free(ptr, 0);
@@ -1410,7 +1399,7 @@ class Group {
1410
1399
  * @returns {Identifier}
1411
1400
  */
1412
1401
  get id() {
1413
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1402
+ const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
1414
1403
  return Identifier.__wrap(ret);
1415
1404
  }
1416
1405
  /**
@@ -1431,7 +1420,7 @@ class Group {
1431
1420
  * @returns {GroupId}
1432
1421
  */
1433
1422
  get groupId() {
1434
- const ret = wasm.document_doc_id(this.__wbg_ptr);
1423
+ const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
1435
1424
  return GroupId.__wrap(ret);
1436
1425
  }
1437
1426
  /**
@@ -1443,15 +1432,9 @@ class Group {
1443
1432
  }
1444
1433
  }
1445
1434
  if (Symbol.dispose) Group.prototype[Symbol.dispose] = Group.prototype.free;
1446
-
1447
1435
  exports.Group = Group;
1448
1436
 
1449
- const GroupIdFinalization = (typeof FinalizationRegistry === 'undefined')
1450
- ? { register: () => {}, unregister: () => {} }
1451
- : new FinalizationRegistry(ptr => wasm.__wbg_groupid_free(ptr >>> 0, 1));
1452
-
1453
1437
  class GroupId {
1454
-
1455
1438
  static __wrap(ptr) {
1456
1439
  ptr = ptr >>> 0;
1457
1440
  const obj = Object.create(GroupId.prototype);
@@ -1459,14 +1442,12 @@ class GroupId {
1459
1442
  GroupIdFinalization.register(obj, obj.__wbg_ptr, obj);
1460
1443
  return obj;
1461
1444
  }
1462
-
1463
1445
  __destroy_into_raw() {
1464
1446
  const ptr = this.__wbg_ptr;
1465
1447
  this.__wbg_ptr = 0;
1466
1448
  GroupIdFinalization.unregister(this);
1467
1449
  return ptr;
1468
1450
  }
1469
-
1470
1451
  free() {
1471
1452
  const ptr = this.__destroy_into_raw();
1472
1453
  wasm.__wbg_groupid_free(ptr, 0);
@@ -1488,15 +1469,9 @@ class GroupId {
1488
1469
  }
1489
1470
  }
1490
1471
  if (Symbol.dispose) GroupId.prototype[Symbol.dispose] = GroupId.prototype.free;
1491
-
1492
1472
  exports.GroupId = GroupId;
1493
1473
 
1494
- const HistoryFinalization = (typeof FinalizationRegistry === 'undefined')
1495
- ? { register: () => {}, unregister: () => {} }
1496
- : new FinalizationRegistry(ptr => wasm.__wbg_history_free(ptr >>> 0, 1));
1497
-
1498
1474
  class History {
1499
-
1500
1475
  static __wrap(ptr) {
1501
1476
  ptr = ptr >>> 0;
1502
1477
  const obj = Object.create(History.prototype);
@@ -1504,14 +1479,12 @@ class History {
1504
1479
  HistoryFinalization.register(obj, obj.__wbg_ptr, obj);
1505
1480
  return obj;
1506
1481
  }
1507
-
1508
1482
  __destroy_into_raw() {
1509
1483
  const ptr = this.__wbg_ptr;
1510
1484
  this.__wbg_ptr = 0;
1511
1485
  HistoryFinalization.unregister(this);
1512
1486
  return ptr;
1513
1487
  }
1514
-
1515
1488
  free() {
1516
1489
  const ptr = this.__destroy_into_raw();
1517
1490
  wasm.__wbg_history_free(ptr, 0);
@@ -1545,15 +1518,9 @@ class History {
1545
1518
  }
1546
1519
  }
1547
1520
  if (Symbol.dispose) History.prototype[Symbol.dispose] = History.prototype.free;
1548
-
1549
1521
  exports.History = History;
1550
1522
 
1551
- const IdentifierFinalization = (typeof FinalizationRegistry === 'undefined')
1552
- ? { register: () => {}, unregister: () => {} }
1553
- : new FinalizationRegistry(ptr => wasm.__wbg_identifier_free(ptr >>> 0, 1));
1554
-
1555
1523
  class Identifier {
1556
-
1557
1524
  static __wrap(ptr) {
1558
1525
  ptr = ptr >>> 0;
1559
1526
  const obj = Object.create(Identifier.prototype);
@@ -1561,14 +1528,12 @@ class Identifier {
1561
1528
  IdentifierFinalization.register(obj, obj.__wbg_ptr, obj);
1562
1529
  return obj;
1563
1530
  }
1564
-
1565
1531
  __destroy_into_raw() {
1566
1532
  const ptr = this.__wbg_ptr;
1567
1533
  this.__wbg_ptr = 0;
1568
1534
  IdentifierFinalization.unregister(this);
1569
1535
  return ptr;
1570
1536
  }
1571
-
1572
1537
  free() {
1573
1538
  const ptr = this.__destroy_into_raw();
1574
1539
  wasm.__wbg_identifier_free(ptr, 0);
@@ -1598,15 +1563,9 @@ class Identifier {
1598
1563
  }
1599
1564
  }
1600
1565
  if (Symbol.dispose) Identifier.prototype[Symbol.dispose] = Identifier.prototype.free;
1601
-
1602
1566
  exports.Identifier = Identifier;
1603
1567
 
1604
- const IndividualFinalization = (typeof FinalizationRegistry === 'undefined')
1605
- ? { register: () => {}, unregister: () => {} }
1606
- : new FinalizationRegistry(ptr => wasm.__wbg_individual_free(ptr >>> 0, 1));
1607
-
1608
1568
  class Individual {
1609
-
1610
1569
  static __wrap(ptr) {
1611
1570
  ptr = ptr >>> 0;
1612
1571
  const obj = Object.create(Individual.prototype);
@@ -1614,14 +1573,12 @@ class Individual {
1614
1573
  IndividualFinalization.register(obj, obj.__wbg_ptr, obj);
1615
1574
  return obj;
1616
1575
  }
1617
-
1618
1576
  __destroy_into_raw() {
1619
1577
  const ptr = this.__wbg_ptr;
1620
1578
  this.__wbg_ptr = 0;
1621
1579
  IndividualFinalization.unregister(this);
1622
1580
  return ptr;
1623
1581
  }
1624
-
1625
1582
  free() {
1626
1583
  const ptr = this.__destroy_into_raw();
1627
1584
  wasm.__wbg_individual_free(ptr, 0);
@@ -1666,15 +1623,9 @@ class Individual {
1666
1623
  }
1667
1624
  }
1668
1625
  if (Symbol.dispose) Individual.prototype[Symbol.dispose] = Individual.prototype.free;
1669
-
1670
1626
  exports.Individual = Individual;
1671
1627
 
1672
- const IndividualIdFinalization = (typeof FinalizationRegistry === 'undefined')
1673
- ? { register: () => {}, unregister: () => {} }
1674
- : new FinalizationRegistry(ptr => wasm.__wbg_individualid_free(ptr >>> 0, 1));
1675
-
1676
1628
  class IndividualId {
1677
-
1678
1629
  static __wrap(ptr) {
1679
1630
  ptr = ptr >>> 0;
1680
1631
  const obj = Object.create(IndividualId.prototype);
@@ -1682,14 +1633,12 @@ class IndividualId {
1682
1633
  IndividualIdFinalization.register(obj, obj.__wbg_ptr, obj);
1683
1634
  return obj;
1684
1635
  }
1685
-
1686
1636
  __destroy_into_raw() {
1687
1637
  const ptr = this.__wbg_ptr;
1688
1638
  this.__wbg_ptr = 0;
1689
1639
  IndividualIdFinalization.unregister(this);
1690
1640
  return ptr;
1691
1641
  }
1692
-
1693
1642
  free() {
1694
1643
  const ptr = this.__destroy_into_raw();
1695
1644
  wasm.__wbg_individualid_free(ptr, 0);
@@ -1705,37 +1654,24 @@ class IndividualId {
1705
1654
  }
1706
1655
  }
1707
1656
  if (Symbol.dispose) IndividualId.prototype[Symbol.dispose] = IndividualId.prototype.free;
1708
-
1709
1657
  exports.IndividualId = IndividualId;
1710
1658
 
1711
- const InvocationFinalization = (typeof FinalizationRegistry === 'undefined')
1712
- ? { register: () => {}, unregister: () => {} }
1713
- : new FinalizationRegistry(ptr => wasm.__wbg_invocation_free(ptr >>> 0, 1));
1714
-
1715
1659
  class Invocation {
1716
-
1717
1660
  __destroy_into_raw() {
1718
1661
  const ptr = this.__wbg_ptr;
1719
1662
  this.__wbg_ptr = 0;
1720
1663
  InvocationFinalization.unregister(this);
1721
1664
  return ptr;
1722
1665
  }
1723
-
1724
1666
  free() {
1725
1667
  const ptr = this.__destroy_into_raw();
1726
1668
  wasm.__wbg_invocation_free(ptr, 0);
1727
1669
  }
1728
1670
  }
1729
1671
  if (Symbol.dispose) Invocation.prototype[Symbol.dispose] = Invocation.prototype.free;
1730
-
1731
1672
  exports.Invocation = Invocation;
1732
1673
 
1733
- const KeyhiveFinalization = (typeof FinalizationRegistry === 'undefined')
1734
- ? { register: () => {}, unregister: () => {} }
1735
- : new FinalizationRegistry(ptr => wasm.__wbg_keyhive_free(ptr >>> 0, 1));
1736
-
1737
1674
  class Keyhive {
1738
-
1739
1675
  static __wrap(ptr) {
1740
1676
  ptr = ptr >>> 0;
1741
1677
  const obj = Object.create(Keyhive.prototype);
@@ -1743,14 +1679,12 @@ class Keyhive {
1743
1679
  KeyhiveFinalization.register(obj, obj.__wbg_ptr, obj);
1744
1680
  return obj;
1745
1681
  }
1746
-
1747
1682
  __destroy_into_raw() {
1748
1683
  const ptr = this.__wbg_ptr;
1749
1684
  this.__wbg_ptr = 0;
1750
1685
  KeyhiveFinalization.unregister(this);
1751
1686
  return ptr;
1752
1687
  }
1753
-
1754
1688
  free() {
1755
1689
  const ptr = this.__destroy_into_raw();
1756
1690
  wasm.__wbg_keyhive_free(ptr, 0);
@@ -1965,6 +1899,13 @@ class Keyhive {
1965
1899
  const ret = wasm.keyhive_tryEncryptArchive(this.__wbg_ptr, doc.__wbg_ptr, content_ref.__wbg_ptr, ptr0, len0, ptr1, len1);
1966
1900
  return ret;
1967
1901
  }
1902
+ /**
1903
+ * @returns {Promise<Set<any>>}
1904
+ */
1905
+ pendingEventHashes() {
1906
+ const ret = wasm.keyhive_pendingEventHashes(this.__wbg_ptr);
1907
+ return ret;
1908
+ }
1968
1909
  /**
1969
1910
  * @param {ContactCard} contact_card
1970
1911
  * @returns {Promise<Individual>}
@@ -2070,15 +2011,9 @@ class Keyhive {
2070
2011
  }
2071
2012
  }
2072
2013
  if (Symbol.dispose) Keyhive.prototype[Symbol.dispose] = Keyhive.prototype.free;
2073
-
2074
2014
  exports.Keyhive = Keyhive;
2075
2015
 
2076
- const MemberedFinalization = (typeof FinalizationRegistry === 'undefined')
2077
- ? { register: () => {}, unregister: () => {} }
2078
- : new FinalizationRegistry(ptr => wasm.__wbg_membered_free(ptr >>> 0, 1));
2079
-
2080
2016
  class Membered {
2081
-
2082
2017
  static __wrap(ptr) {
2083
2018
  ptr = ptr >>> 0;
2084
2019
  const obj = Object.create(Membered.prototype);
@@ -2086,29 +2021,21 @@ class Membered {
2086
2021
  MemberedFinalization.register(obj, obj.__wbg_ptr, obj);
2087
2022
  return obj;
2088
2023
  }
2089
-
2090
2024
  __destroy_into_raw() {
2091
2025
  const ptr = this.__wbg_ptr;
2092
2026
  this.__wbg_ptr = 0;
2093
2027
  MemberedFinalization.unregister(this);
2094
2028
  return ptr;
2095
2029
  }
2096
-
2097
2030
  free() {
2098
2031
  const ptr = this.__destroy_into_raw();
2099
2032
  wasm.__wbg_membered_free(ptr, 0);
2100
2033
  }
2101
2034
  }
2102
2035
  if (Symbol.dispose) Membered.prototype[Symbol.dispose] = Membered.prototype.free;
2103
-
2104
2036
  exports.Membered = Membered;
2105
2037
 
2106
- const MembershipFinalization = (typeof FinalizationRegistry === 'undefined')
2107
- ? { register: () => {}, unregister: () => {} }
2108
- : new FinalizationRegistry(ptr => wasm.__wbg_membership_free(ptr >>> 0, 1));
2109
-
2110
2038
  class Membership {
2111
-
2112
2039
  static __wrap(ptr) {
2113
2040
  ptr = ptr >>> 0;
2114
2041
  const obj = Object.create(Membership.prototype);
@@ -2116,14 +2043,12 @@ class Membership {
2116
2043
  MembershipFinalization.register(obj, obj.__wbg_ptr, obj);
2117
2044
  return obj;
2118
2045
  }
2119
-
2120
2046
  __destroy_into_raw() {
2121
2047
  const ptr = this.__wbg_ptr;
2122
2048
  this.__wbg_ptr = 0;
2123
2049
  MembershipFinalization.unregister(this);
2124
2050
  return ptr;
2125
2051
  }
2126
-
2127
2052
  free() {
2128
2053
  const ptr = this.__destroy_into_raw();
2129
2054
  wasm.__wbg_membership_free(ptr, 0);
@@ -2144,15 +2069,9 @@ class Membership {
2144
2069
  }
2145
2070
  }
2146
2071
  if (Symbol.dispose) Membership.prototype[Symbol.dispose] = Membership.prototype.free;
2147
-
2148
2072
  exports.Membership = Membership;
2149
2073
 
2150
- const PeerFinalization = (typeof FinalizationRegistry === 'undefined')
2151
- ? { register: () => {}, unregister: () => {} }
2152
- : new FinalizationRegistry(ptr => wasm.__wbg_peer_free(ptr >>> 0, 1));
2153
-
2154
2074
  class Peer {
2155
-
2156
2075
  static __wrap(ptr) {
2157
2076
  ptr = ptr >>> 0;
2158
2077
  const obj = Object.create(Peer.prototype);
@@ -2160,14 +2079,12 @@ class Peer {
2160
2079
  PeerFinalization.register(obj, obj.__wbg_ptr, obj);
2161
2080
  return obj;
2162
2081
  }
2163
-
2164
2082
  __destroy_into_raw() {
2165
2083
  const ptr = this.__wbg_ptr;
2166
2084
  this.__wbg_ptr = 0;
2167
2085
  PeerFinalization.unregister(this);
2168
2086
  return ptr;
2169
2087
  }
2170
-
2171
2088
  free() {
2172
2089
  const ptr = this.__destroy_into_raw();
2173
2090
  wasm.__wbg_peer_free(ptr, 0);
@@ -2225,15 +2142,9 @@ class Peer {
2225
2142
  }
2226
2143
  }
2227
2144
  if (Symbol.dispose) Peer.prototype[Symbol.dispose] = Peer.prototype.free;
2228
-
2229
2145
  exports.Peer = Peer;
2230
2146
 
2231
- const RevocationFinalization = (typeof FinalizationRegistry === 'undefined')
2232
- ? { register: () => {}, unregister: () => {} }
2233
- : new FinalizationRegistry(ptr => wasm.__wbg_revocation_free(ptr >>> 0, 1));
2234
-
2235
2147
  class Revocation {
2236
-
2237
2148
  static __wrap(ptr) {
2238
2149
  ptr = ptr >>> 0;
2239
2150
  const obj = Object.create(Revocation.prototype);
@@ -2241,14 +2152,12 @@ class Revocation {
2241
2152
  RevocationFinalization.register(obj, obj.__wbg_ptr, obj);
2242
2153
  return obj;
2243
2154
  }
2244
-
2245
2155
  __destroy_into_raw() {
2246
2156
  const ptr = this.__wbg_ptr;
2247
2157
  this.__wbg_ptr = 0;
2248
2158
  RevocationFinalization.unregister(this);
2249
2159
  return ptr;
2250
2160
  }
2251
-
2252
2161
  free() {
2253
2162
  const ptr = this.__destroy_into_raw();
2254
2163
  wasm.__wbg_revocation_free(ptr, 0);
@@ -2283,15 +2192,9 @@ class Revocation {
2283
2192
  }
2284
2193
  }
2285
2194
  if (Symbol.dispose) Revocation.prototype[Symbol.dispose] = Revocation.prototype.free;
2286
-
2287
2195
  exports.Revocation = Revocation;
2288
2196
 
2289
- const ShareKeyFinalization = (typeof FinalizationRegistry === 'undefined')
2290
- ? { register: () => {}, unregister: () => {} }
2291
- : new FinalizationRegistry(ptr => wasm.__wbg_sharekey_free(ptr >>> 0, 1));
2292
-
2293
2197
  class ShareKey {
2294
-
2295
2198
  static __wrap(ptr) {
2296
2199
  ptr = ptr >>> 0;
2297
2200
  const obj = Object.create(ShareKey.prototype);
@@ -2299,29 +2202,21 @@ class ShareKey {
2299
2202
  ShareKeyFinalization.register(obj, obj.__wbg_ptr, obj);
2300
2203
  return obj;
2301
2204
  }
2302
-
2303
2205
  __destroy_into_raw() {
2304
2206
  const ptr = this.__wbg_ptr;
2305
2207
  this.__wbg_ptr = 0;
2306
2208
  ShareKeyFinalization.unregister(this);
2307
2209
  return ptr;
2308
2210
  }
2309
-
2310
2211
  free() {
2311
2212
  const ptr = this.__destroy_into_raw();
2312
2213
  wasm.__wbg_sharekey_free(ptr, 0);
2313
2214
  }
2314
2215
  }
2315
2216
  if (Symbol.dispose) ShareKey.prototype[Symbol.dispose] = ShareKey.prototype.free;
2316
-
2317
2217
  exports.ShareKey = ShareKey;
2318
2218
 
2319
- const SignedFinalization = (typeof FinalizationRegistry === 'undefined')
2320
- ? { register: () => {}, unregister: () => {} }
2321
- : new FinalizationRegistry(ptr => wasm.__wbg_signed_free(ptr >>> 0, 1));
2322
-
2323
2219
  class Signed {
2324
-
2325
2220
  static __wrap(ptr) {
2326
2221
  ptr = ptr >>> 0;
2327
2222
  const obj = Object.create(Signed.prototype);
@@ -2329,14 +2224,12 @@ class Signed {
2329
2224
  SignedFinalization.register(obj, obj.__wbg_ptr, obj);
2330
2225
  return obj;
2331
2226
  }
2332
-
2333
2227
  __destroy_into_raw() {
2334
2228
  const ptr = this.__wbg_ptr;
2335
2229
  this.__wbg_ptr = 0;
2336
2230
  SignedFinalization.unregister(this);
2337
2231
  return ptr;
2338
2232
  }
2339
-
2340
2233
  free() {
2341
2234
  const ptr = this.__destroy_into_raw();
2342
2235
  wasm.__wbg_signed_free(ptr, 0);
@@ -2402,15 +2295,9 @@ class Signed {
2402
2295
  }
2403
2296
  }
2404
2297
  if (Symbol.dispose) Signed.prototype[Symbol.dispose] = Signed.prototype.free;
2405
-
2406
2298
  exports.Signed = Signed;
2407
2299
 
2408
- const SignedCgkaOperationFinalization = (typeof FinalizationRegistry === 'undefined')
2409
- ? { register: () => {}, unregister: () => {} }
2410
- : new FinalizationRegistry(ptr => wasm.__wbg_signedcgkaoperation_free(ptr >>> 0, 1));
2411
-
2412
2300
  class SignedCgkaOperation {
2413
-
2414
2301
  static __wrap(ptr) {
2415
2302
  ptr = ptr >>> 0;
2416
2303
  const obj = Object.create(SignedCgkaOperation.prototype);
@@ -2418,14 +2305,12 @@ class SignedCgkaOperation {
2418
2305
  SignedCgkaOperationFinalization.register(obj, obj.__wbg_ptr, obj);
2419
2306
  return obj;
2420
2307
  }
2421
-
2422
2308
  __destroy_into_raw() {
2423
2309
  const ptr = this.__wbg_ptr;
2424
2310
  this.__wbg_ptr = 0;
2425
2311
  SignedCgkaOperationFinalization.unregister(this);
2426
2312
  return ptr;
2427
2313
  }
2428
-
2429
2314
  free() {
2430
2315
  const ptr = this.__destroy_into_raw();
2431
2316
  wasm.__wbg_signedcgkaoperation_free(ptr, 0);
@@ -2464,15 +2349,9 @@ class SignedCgkaOperation {
2464
2349
  }
2465
2350
  }
2466
2351
  if (Symbol.dispose) SignedCgkaOperation.prototype[Symbol.dispose] = SignedCgkaOperation.prototype.free;
2467
-
2468
2352
  exports.SignedCgkaOperation = SignedCgkaOperation;
2469
2353
 
2470
- const SignedDelegationFinalization = (typeof FinalizationRegistry === 'undefined')
2471
- ? { register: () => {}, unregister: () => {} }
2472
- : new FinalizationRegistry(ptr => wasm.__wbg_signeddelegation_free(ptr >>> 0, 1));
2473
-
2474
2354
  class SignedDelegation {
2475
-
2476
2355
  static __wrap(ptr) {
2477
2356
  ptr = ptr >>> 0;
2478
2357
  const obj = Object.create(SignedDelegation.prototype);
@@ -2480,14 +2359,12 @@ class SignedDelegation {
2480
2359
  SignedDelegationFinalization.register(obj, obj.__wbg_ptr, obj);
2481
2360
  return obj;
2482
2361
  }
2483
-
2484
2362
  __destroy_into_raw() {
2485
2363
  const ptr = this.__wbg_ptr;
2486
2364
  this.__wbg_ptr = 0;
2487
2365
  SignedDelegationFinalization.unregister(this);
2488
2366
  return ptr;
2489
2367
  }
2490
-
2491
2368
  free() {
2492
2369
  const ptr = this.__destroy_into_raw();
2493
2370
  wasm.__wbg_signeddelegation_free(ptr, 0);
@@ -2526,37 +2403,24 @@ class SignedDelegation {
2526
2403
  }
2527
2404
  }
2528
2405
  if (Symbol.dispose) SignedDelegation.prototype[Symbol.dispose] = SignedDelegation.prototype.free;
2529
-
2530
2406
  exports.SignedDelegation = SignedDelegation;
2531
2407
 
2532
- const SignedInvocationFinalization = (typeof FinalizationRegistry === 'undefined')
2533
- ? { register: () => {}, unregister: () => {} }
2534
- : new FinalizationRegistry(ptr => wasm.__wbg_signedinvocation_free(ptr >>> 0, 1));
2535
-
2536
2408
  class SignedInvocation {
2537
-
2538
2409
  __destroy_into_raw() {
2539
2410
  const ptr = this.__wbg_ptr;
2540
2411
  this.__wbg_ptr = 0;
2541
2412
  SignedInvocationFinalization.unregister(this);
2542
2413
  return ptr;
2543
2414
  }
2544
-
2545
2415
  free() {
2546
2416
  const ptr = this.__destroy_into_raw();
2547
2417
  wasm.__wbg_signedinvocation_free(ptr, 0);
2548
2418
  }
2549
2419
  }
2550
2420
  if (Symbol.dispose) SignedInvocation.prototype[Symbol.dispose] = SignedInvocation.prototype.free;
2551
-
2552
2421
  exports.SignedInvocation = SignedInvocation;
2553
2422
 
2554
- const SignedRevocationFinalization = (typeof FinalizationRegistry === 'undefined')
2555
- ? { register: () => {}, unregister: () => {} }
2556
- : new FinalizationRegistry(ptr => wasm.__wbg_signedrevocation_free(ptr >>> 0, 1));
2557
-
2558
2423
  class SignedRevocation {
2559
-
2560
2424
  static __wrap(ptr) {
2561
2425
  ptr = ptr >>> 0;
2562
2426
  const obj = Object.create(SignedRevocation.prototype);
@@ -2564,14 +2428,12 @@ class SignedRevocation {
2564
2428
  SignedRevocationFinalization.register(obj, obj.__wbg_ptr, obj);
2565
2429
  return obj;
2566
2430
  }
2567
-
2568
2431
  __destroy_into_raw() {
2569
2432
  const ptr = this.__wbg_ptr;
2570
2433
  this.__wbg_ptr = 0;
2571
2434
  SignedRevocationFinalization.unregister(this);
2572
2435
  return ptr;
2573
2436
  }
2574
-
2575
2437
  free() {
2576
2438
  const ptr = this.__destroy_into_raw();
2577
2439
  wasm.__wbg_signedrevocation_free(ptr, 0);
@@ -2610,15 +2472,9 @@ class SignedRevocation {
2610
2472
  }
2611
2473
  }
2612
2474
  if (Symbol.dispose) SignedRevocation.prototype[Symbol.dispose] = SignedRevocation.prototype.free;
2613
-
2614
2475
  exports.SignedRevocation = SignedRevocation;
2615
2476
 
2616
- const SignerFinalization = (typeof FinalizationRegistry === 'undefined')
2617
- ? { register: () => {}, unregister: () => {} }
2618
- : new FinalizationRegistry(ptr => wasm.__wbg_signer_free(ptr >>> 0, 1));
2619
-
2620
2477
  class Signer {
2621
-
2622
2478
  static __wrap(ptr) {
2623
2479
  ptr = ptr >>> 0;
2624
2480
  const obj = Object.create(Signer.prototype);
@@ -2626,14 +2482,12 @@ class Signer {
2626
2482
  SignerFinalization.register(obj, obj.__wbg_ptr, obj);
2627
2483
  return obj;
2628
2484
  }
2629
-
2630
2485
  __destroy_into_raw() {
2631
2486
  const ptr = this.__wbg_ptr;
2632
2487
  this.__wbg_ptr = 0;
2633
2488
  SignerFinalization.unregister(this);
2634
2489
  return ptr;
2635
2490
  }
2636
-
2637
2491
  free() {
2638
2492
  const ptr = this.__destroy_into_raw();
2639
2493
  wasm.__wbg_signer_free(ptr, 0);
@@ -2723,15 +2577,9 @@ class Signer {
2723
2577
  }
2724
2578
  }
2725
2579
  if (Symbol.dispose) Signer.prototype[Symbol.dispose] = Signer.prototype.free;
2726
-
2727
2580
  exports.Signer = Signer;
2728
2581
 
2729
- const StatsFinalization = (typeof FinalizationRegistry === 'undefined')
2730
- ? { register: () => {}, unregister: () => {} }
2731
- : new FinalizationRegistry(ptr => wasm.__wbg_stats_free(ptr >>> 0, 1));
2732
-
2733
2582
  class Stats {
2734
-
2735
2583
  static __wrap(ptr) {
2736
2584
  ptr = ptr >>> 0;
2737
2585
  const obj = Object.create(Stats.prototype);
@@ -2739,14 +2587,12 @@ class Stats {
2739
2587
  StatsFinalization.register(obj, obj.__wbg_ptr, obj);
2740
2588
  return obj;
2741
2589
  }
2742
-
2743
2590
  __destroy_into_raw() {
2744
2591
  const ptr = this.__wbg_ptr;
2745
2592
  this.__wbg_ptr = 0;
2746
2593
  StatsFinalization.unregister(this);
2747
2594
  return ptr;
2748
2595
  }
2749
-
2750
2596
  free() {
2751
2597
  const ptr = this.__destroy_into_raw();
2752
2598
  wasm.__wbg_stats_free(ptr, 0);
@@ -2865,15 +2711,9 @@ class Stats {
2865
2711
  }
2866
2712
  }
2867
2713
  if (Symbol.dispose) Stats.prototype[Symbol.dispose] = Stats.prototype.free;
2868
-
2869
2714
  exports.Stats = Stats;
2870
2715
 
2871
- const SummaryFinalization = (typeof FinalizationRegistry === 'undefined')
2872
- ? { register: () => {}, unregister: () => {} }
2873
- : new FinalizationRegistry(ptr => wasm.__wbg_summary_free(ptr >>> 0, 1));
2874
-
2875
2716
  class Summary {
2876
-
2877
2717
  static __wrap(ptr) {
2878
2718
  ptr = ptr >>> 0;
2879
2719
  const obj = Object.create(Summary.prototype);
@@ -2881,14 +2721,12 @@ class Summary {
2881
2721
  SummaryFinalization.register(obj, obj.__wbg_ptr, obj);
2882
2722
  return obj;
2883
2723
  }
2884
-
2885
2724
  __destroy_into_raw() {
2886
2725
  const ptr = this.__wbg_ptr;
2887
2726
  this.__wbg_ptr = 0;
2888
2727
  SummaryFinalization.unregister(this);
2889
2728
  return ptr;
2890
2729
  }
2891
-
2892
2730
  free() {
2893
2731
  const ptr = this.__destroy_into_raw();
2894
2732
  wasm.__wbg_summary_free(ptr, 0);
@@ -2909,10 +2747,20 @@ class Summary {
2909
2747
  }
2910
2748
  }
2911
2749
  if (Symbol.dispose) Summary.prototype[Symbol.dispose] = Summary.prototype.free;
2912
-
2913
2750
  exports.Summary = Summary;
2914
2751
 
2915
- exports.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
2752
+ /**
2753
+ * Panic hook lets us get better error messages if our Rust code ever panics.
2754
+ *
2755
+ * This function needs to be called at least once during initialisation.
2756
+ * 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
2757
+ */
2758
+ function setPanicHook() {
2759
+ wasm.setPanicHook();
2760
+ }
2761
+ exports.setPanicHook = setPanicHook;
2762
+
2763
+ exports.__wbg_Error_52673b7de5a0ca89 = function(arg0, arg1) {
2916
2764
  const ret = Error(getStringFromWasm0(arg0, arg1));
2917
2765
  return ret;
2918
2766
  };
@@ -2938,7 +2786,7 @@ exports.__wbg___wasm_refgen_toPeer_f5e24110e2d41e74 = function(arg0) {
2938
2786
  return ptr1;
2939
2787
  };
2940
2788
 
2941
- exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
2789
+ exports.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) {
2942
2790
  const ret = debugString(arg1);
2943
2791
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2944
2792
  const len1 = WASM_VECTOR_LEN;
@@ -2946,32 +2794,32 @@ exports.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
2946
2794
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2947
2795
  };
2948
2796
 
2949
- exports.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
2797
+ exports.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) {
2950
2798
  const ret = typeof(arg0) === 'function';
2951
2799
  return ret;
2952
2800
  };
2953
2801
 
2954
- exports.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
2802
+ exports.__wbg___wbindgen_is_object_ce774f3490692386 = function(arg0) {
2955
2803
  const val = arg0;
2956
2804
  const ret = typeof(val) === 'object' && val !== null;
2957
2805
  return ret;
2958
2806
  };
2959
2807
 
2960
- exports.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
2808
+ exports.__wbg___wbindgen_is_string_704ef9c8fc131030 = function(arg0) {
2961
2809
  const ret = typeof(arg0) === 'string';
2962
2810
  return ret;
2963
2811
  };
2964
2812
 
2965
- exports.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
2813
+ exports.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) {
2966
2814
  const ret = arg0 === undefined;
2967
2815
  return ret;
2968
2816
  };
2969
2817
 
2970
- exports.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
2818
+ exports.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
2971
2819
  throw new Error(getStringFromWasm0(arg0, arg1));
2972
2820
  };
2973
2821
 
2974
- exports.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
2822
+ exports.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) {
2975
2823
  arg0._wbg_cb_unref();
2976
2824
  };
2977
2825
 
@@ -2980,6 +2828,11 @@ exports.__wbg_access_new = function(arg0) {
2980
2828
  return ret;
2981
2829
  };
2982
2830
 
2831
+ exports.__wbg_add_f0bf6d9527665471 = function(arg0, arg1) {
2832
+ const ret = arg0.add(arg1);
2833
+ return ret;
2834
+ };
2835
+
2983
2836
  exports.__wbg_agent_new = function(arg0) {
2984
2837
  const ret = Agent.__wrap(arg0);
2985
2838
  return ret;
@@ -2990,12 +2843,12 @@ exports.__wbg_archive_new = function(arg0) {
2990
2843
  return ret;
2991
2844
  };
2992
2845
 
2993
- exports.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
2846
+ exports.__wbg_call_3020136f7a2d6e44 = function() { return handleError(function (arg0, arg1, arg2) {
2994
2847
  const ret = arg0.call(arg1, arg2);
2995
2848
  return ret;
2996
2849
  }, arguments) };
2997
2850
 
2998
- exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
2851
+ exports.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) {
2999
2852
  const ret = arg0.call(arg1);
3000
2853
  return ret;
3001
2854
  }, arguments) };
@@ -3115,12 +2968,12 @@ exports.__wbg_event_new = function(arg0) {
3115
2968
  return ret;
3116
2969
  };
3117
2970
 
3118
- exports.__wbg_exportKey_14f4c9c1691e79dc = function() { return handleError(function (arg0, arg1, arg2, arg3) {
2971
+ exports.__wbg_exportKey_fd2f753afcdf2526 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
3119
2972
  const ret = arg0.exportKey(getStringFromWasm0(arg1, arg2), arg3);
3120
2973
  return ret;
3121
2974
  }, arguments) };
3122
2975
 
3123
- exports.__wbg_generateKey_3530d4e1a89ee5b4 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2976
+ exports.__wbg_generateKey_deeedd395df4b668 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3124
2977
  const ret = arg0.generateKey(getStringFromWasm0(arg1, arg2), arg3 !== 0, arg4);
3125
2978
  return ret;
3126
2979
  }, arguments) };
@@ -3134,22 +2987,22 @@ exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError
3134
2987
  arg0.getRandomValues(arg1);
3135
2988
  }, arguments) };
3136
2989
 
3137
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
2990
+ exports.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) {
3138
2991
  const ret = arg0[arg1 >>> 0];
3139
2992
  return ret;
3140
2993
  };
3141
2994
 
3142
- exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
2995
+ exports.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) {
3143
2996
  const ret = Reflect.get(arg0, arg1);
3144
2997
  return ret;
3145
2998
  }, arguments) };
3146
2999
 
3147
- exports.__wbg_get_private_key_0a3a263ca613b0c0 = function(arg0) {
3000
+ exports.__wbg_get_private_key_e298c060449e1131 = function(arg0) {
3148
3001
  const ret = arg0.privateKey;
3149
3002
  return ret;
3150
3003
  };
3151
3004
 
3152
- exports.__wbg_get_public_key_1e2c11d159e34827 = function(arg0) {
3005
+ exports.__wbg_get_public_key_f899b81b4ccc126b = function(arg0) {
3153
3006
  const ret = arg0.publicKey;
3154
3007
  return ret;
3155
3008
  };
@@ -3164,7 +3017,7 @@ exports.__wbg_individual_new = function(arg0) {
3164
3017
  return ret;
3165
3018
  };
3166
3019
 
3167
- exports.__wbg_instanceof_Crypto_2574e69763b89701 = function(arg0) {
3020
+ exports.__wbg_instanceof_Crypto_ddb7f04c058ba561 = function(arg0) {
3168
3021
  let result;
3169
3022
  try {
3170
3023
  result = arg0 instanceof Crypto;
@@ -3180,12 +3033,12 @@ exports.__wbg_keyhive_new = function(arg0) {
3180
3033
  return ret;
3181
3034
  };
3182
3035
 
3183
- exports.__wbg_length_69bca3cb64fc8748 = function(arg0) {
3036
+ exports.__wbg_length_22ac23eaec9d8053 = function(arg0) {
3184
3037
  const ret = arg0.length;
3185
3038
  return ret;
3186
3039
  };
3187
3040
 
3188
- exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
3041
+ exports.__wbg_length_d45040a40c570362 = function(arg0) {
3189
3042
  const ret = arg0.length;
3190
3043
  return ret;
3191
3044
  };
@@ -3245,32 +3098,18 @@ exports.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
3245
3098
  return ret;
3246
3099
  };
3247
3100
 
3248
- exports.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
3249
- try {
3250
- var state0 = {a: arg0, b: arg1};
3251
- var cb0 = (arg0, arg1) => {
3252
- const a = state0.a;
3253
- state0.a = 0;
3254
- try {
3255
- return wasm_bindgen__convert__closures_____invoke__h1069d9784c192ccc(a, state0.b, arg0, arg1);
3256
- } finally {
3257
- state0.a = a;
3258
- }
3259
- };
3260
- const ret = new Promise(cb0);
3261
- return ret;
3262
- } finally {
3263
- state0.a = state0.b = 0;
3264
- }
3101
+ exports.__wbg_new_25f239778d6112b9 = function() {
3102
+ const ret = new Array();
3103
+ return ret;
3265
3104
  };
3266
3105
 
3267
- exports.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
3106
+ exports.__wbg_new_6421f6084cc5bc5a = function(arg0) {
3268
3107
  const ret = new Uint8Array(arg0);
3269
3108
  return ret;
3270
3109
  };
3271
3110
 
3272
- exports.__wbg_new_68651c719dcda04e = function() {
3273
- const ret = new Map();
3111
+ exports.__wbg_new_746bb58304020083 = function(arg0) {
3112
+ const ret = new Set(arg0);
3274
3113
  return ret;
3275
3114
  };
3276
3115
 
@@ -3279,27 +3118,46 @@ exports.__wbg_new_8a6f238a6ece86ea = function() {
3279
3118
  return ret;
3280
3119
  };
3281
3120
 
3282
- exports.__wbg_new_a7442b4b19c1a356 = function(arg0, arg1) {
3283
- const ret = new Error(getStringFromWasm0(arg0, arg1));
3121
+ exports.__wbg_new_b546ae120718850e = function() {
3122
+ const ret = new Map();
3284
3123
  return ret;
3285
3124
  };
3286
3125
 
3287
- exports.__wbg_new_e17d9f43105b08be = function() {
3288
- const ret = new Array();
3126
+ exports.__wbg_new_df1173567d5ff028 = function(arg0, arg1) {
3127
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
3289
3128
  return ret;
3290
3129
  };
3291
3130
 
3292
- exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
3131
+ exports.__wbg_new_ff12d2b041fb48f1 = function(arg0, arg1) {
3132
+ try {
3133
+ var state0 = {a: arg0, b: arg1};
3134
+ var cb0 = (arg0, arg1) => {
3135
+ const a = state0.a;
3136
+ state0.a = 0;
3137
+ try {
3138
+ return wasm_bindgen__convert__closures_____invoke__h0e2a667a85375385(a, state0.b, arg0, arg1);
3139
+ } finally {
3140
+ state0.a = a;
3141
+ }
3142
+ };
3143
+ const ret = new Promise(cb0);
3144
+ return ret;
3145
+ } finally {
3146
+ state0.a = state0.b = 0;
3147
+ }
3148
+ };
3149
+
3150
+ exports.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) {
3293
3151
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
3294
3152
  return ret;
3295
3153
  };
3296
3154
 
3297
- exports.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
3155
+ exports.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) {
3298
3156
  const ret = new Function(getStringFromWasm0(arg0, arg1));
3299
3157
  return ret;
3300
3158
  };
3301
3159
 
3302
- exports.__wbg_new_with_length_01aa0dc35aa13543 = function(arg0) {
3160
+ exports.__wbg_new_with_length_aa5eaf41d35235e5 = function(arg0) {
3303
3161
  const ret = new Uint8Array(arg0 >>> 0);
3304
3162
  return ret;
3305
3163
  };
@@ -3314,21 +3172,21 @@ exports.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
3314
3172
  return ret;
3315
3173
  };
3316
3174
 
3317
- exports.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
3175
+ exports.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
3318
3176
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
3319
3177
  };
3320
3178
 
3321
- exports.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
3179
+ exports.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) {
3322
3180
  const ret = arg0.push(arg1);
3323
3181
  return ret;
3324
3182
  };
3325
3183
 
3326
- exports.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
3184
+ exports.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) {
3327
3185
  const ret = arg0.queueMicrotask;
3328
3186
  return ret;
3329
3187
  };
3330
3188
 
3331
- exports.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
3189
+ exports.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) {
3332
3190
  queueMicrotask(arg0);
3333
3191
  };
3334
3192
 
@@ -3341,17 +3199,17 @@ exports.__wbg_require_60cc747a6bc5215a = function() { return handleError(functio
3341
3199
  return ret;
3342
3200
  }, arguments) };
3343
3201
 
3344
- exports.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
3202
+ exports.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) {
3345
3203
  const ret = Promise.resolve(arg0);
3346
3204
  return ret;
3347
3205
  };
3348
3206
 
3349
- exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
3207
+ exports.__wbg_set_efaaf145b9377369 = function(arg0, arg1, arg2) {
3350
3208
  const ret = arg0.set(arg1, arg2);
3351
3209
  return ret;
3352
3210
  };
3353
3211
 
3354
- exports.__wbg_set_name_d94846a29e626702 = function(arg0, arg1, arg2) {
3212
+ exports.__wbg_set_name_df69b75cb0b4de8a = function(arg0, arg1, arg2) {
3355
3213
  arg0.name = getStringFromWasm0(arg1, arg2);
3356
3214
  };
3357
3215
 
@@ -3360,7 +3218,7 @@ exports.__wbg_sharekey_new = function(arg0) {
3360
3218
  return ret;
3361
3219
  };
3362
3220
 
3363
- exports.__wbg_sign_0077f2aabd37825a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3221
+ exports.__wbg_sign_c1f01ea899c052d8 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3364
3222
  const ret = arg0.sign(arg1, arg2, getArrayU8FromWasm0(arg3, arg4));
3365
3223
  return ret;
3366
3224
  }, arguments) };
@@ -3393,22 +3251,22 @@ exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
3393
3251
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3394
3252
  };
3395
3253
 
3396
- exports.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
3254
+ exports.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() {
3397
3255
  const ret = typeof global === 'undefined' ? null : global;
3398
3256
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3399
3257
  };
3400
3258
 
3401
- exports.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
3259
+ exports.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() {
3402
3260
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
3403
3261
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3404
3262
  };
3405
3263
 
3406
- exports.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
3264
+ exports.__wbg_static_accessor_SELF_08f5a74c69739274 = function() {
3407
3265
  const ret = typeof self === 'undefined' ? null : self;
3408
3266
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3409
3267
  };
3410
3268
 
3411
- exports.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
3269
+ exports.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() {
3412
3270
  const ret = typeof window === 'undefined' ? null : window;
3413
3271
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3414
3272
  };
@@ -3418,12 +3276,12 @@ exports.__wbg_stats_new = function(arg0) {
3418
3276
  return ret;
3419
3277
  };
3420
3278
 
3421
- exports.__wbg_subarray_480600f3d6a9f26c = function(arg0, arg1, arg2) {
3279
+ exports.__wbg_subarray_845f2f5bce7d061a = function(arg0, arg1, arg2) {
3422
3280
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
3423
3281
  return ret;
3424
3282
  };
3425
3283
 
3426
- exports.__wbg_subtle_a158c8cba320b8ed = function(arg0) {
3284
+ exports.__wbg_subtle_0109c00de0ea1788 = function(arg0) {
3427
3285
  const ret = arg0.subtle;
3428
3286
  return ret;
3429
3287
  };
@@ -3433,13 +3291,13 @@ exports.__wbg_summary_new = function(arg0) {
3433
3291
  return ret;
3434
3292
  };
3435
3293
 
3436
- exports.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
3437
- const ret = arg0.then(arg1);
3294
+ exports.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) {
3295
+ const ret = arg0.then(arg1, arg2);
3438
3296
  return ret;
3439
3297
  };
3440
3298
 
3441
- exports.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
3442
- const ret = arg0.then(arg1, arg2);
3299
+ exports.__wbg_then_4f95312d68691235 = function(arg0, arg1) {
3300
+ const ret = arg0.then(arg1);
3443
3301
  return ret;
3444
3302
  };
3445
3303
 
@@ -3534,9 +3392,9 @@ exports.__wbindgen_cast_ae91babfc5c19b28 = function(arg0, arg1) {
3534
3392
  return ret;
3535
3393
  };
3536
3394
 
3537
- exports.__wbindgen_cast_bef74971622929eb = function(arg0, arg1) {
3538
- // Cast intrinsic for `Closure(Closure { dtor_idx: 462, function: Function { arguments: [Externref], shim_idx: 463, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3539
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1ba2ea4e4548722a, wasm_bindgen__convert__closures_____invoke__h270e774e62b586ab);
3395
+ exports.__wbindgen_cast_b2e692da0ea8478a = function(arg0, arg1) {
3396
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 464, function: Function { arguments: [Externref], shim_idx: 465, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3397
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h56c1987c5374a416, wasm_bindgen__convert__closures_____invoke__hb8b6941fceac7069);
3540
3398
  return ret;
3541
3399
  };
3542
3400
 
@@ -3554,7 +3412,6 @@ exports.__wbindgen_init_externref_table = function() {
3554
3412
  table.set(offset + 1, null);
3555
3413
  table.set(offset + 2, true);
3556
3414
  table.set(offset + 3, false);
3557
- ;
3558
3415
  };
3559
3416
 
3560
3417
  const wasmPath = `${__dirname}/keyhive_wasm_bg.wasm`;
@@ -3563,4 +3420,3 @@ const wasmModule = new WebAssembly.Module(wasmBytes);
3563
3420
  const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
3564
3421
 
3565
3422
  wasm.__wbindgen_start();
3566
-