@keyhive/keyhive 0.0.0-alpha.54i → 0.0.0-alpha.54y

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.54i",
3
+ "version": "0.0.0-alpha.54y",
4
4
  "description": "",
5
5
  "main": "pkg/keyhive_wasm.js",
6
6
  "keywords": [],
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "scripts": {
53
53
  "build": "pnpm run build-node && pnpm run build-bundler && pnpm run build-slim",
54
- "build-node": "wasm-pack build --out-dir pkg-node --target nodejs --release",
55
- "build-bundler": "wasm-pack build --out-dir pkg --target bundler --release",
56
- "build-web": "wasm-pack build --out-dir pkg-web --target web --release",
54
+ "build-node": "wasm-pack build --out-dir pkg-node --target nodejs --profiling",
55
+ "build-bundler": "wasm-pack build --out-dir pkg --target bundler --profiling",
56
+ "build-web": "wasm-pack build --out-dir pkg-web --target web --profiling",
57
57
  "build-slim": "node build_slim.js",
58
58
  "copy-e2e": "cp -r pkg-slim/* e2e/server/pkg/"
59
59
  }
@@ -437,7 +437,7 @@ export class ContactCard {
437
437
  * @returns {IndividualId}
438
438
  */
439
439
  get individualId() {
440
- const ret = wasm.contactcard_id(this.__wbg_ptr);
440
+ const ret = wasm.contactcard_individualId(this.__wbg_ptr);
441
441
  return IndividualId.__wrap(ret);
442
442
  }
443
443
  /**
@@ -628,14 +628,14 @@ export class Document {
628
628
  * @returns {DocumentId}
629
629
  */
630
630
  get doc_id() {
631
- const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
631
+ const ret = wasm.document_doc_id(this.__wbg_ptr);
632
632
  return DocumentId.__wrap(ret);
633
633
  }
634
634
  /**
635
635
  * @returns {Identifier}
636
636
  */
637
637
  get id() {
638
- const ret = wasm.doccontentrefs_docId(this.__wbg_ptr);
638
+ const ret = wasm.document_id(this.__wbg_ptr);
639
639
  return Identifier.__wrap(ret);
640
640
  }
641
641
  /**
@@ -989,7 +989,7 @@ export class Group {
989
989
  * @returns {Identifier}
990
990
  */
991
991
  get id() {
992
- const ret = wasm.group_groupId(this.__wbg_ptr);
992
+ const ret = wasm.group_id(this.__wbg_ptr);
993
993
  return Identifier.__wrap(ret);
994
994
  }
995
995
  /**
@@ -1187,7 +1187,7 @@ export class Individual {
1187
1187
  * @returns {IndividualId}
1188
1188
  */
1189
1189
  get individualId() {
1190
- const ret = wasm.individual_id(this.__wbg_ptr);
1190
+ const ret = wasm.individual_individualId(this.__wbg_ptr);
1191
1191
  return IndividualId.__wrap(ret);
1192
1192
  }
1193
1193
  /**
@@ -1715,7 +1715,7 @@ export class Peer {
1715
1715
  * @returns {Identifier}
1716
1716
  */
1717
1717
  get id() {
1718
- const ret = wasm.agent_id(this.__wbg_ptr);
1718
+ const ret = wasm.peer_id(this.__wbg_ptr);
1719
1719
  return Identifier.__wrap(ret);
1720
1720
  }
1721
1721
  /**
@@ -2396,63 +2396,63 @@ if (Symbol.dispose) Summary.prototype[Symbol.dispose] = Summary.prototype.free;
2396
2396
  export function setPanicHook() {
2397
2397
  wasm.setPanicHook();
2398
2398
  }
2399
- export function __wbg_Error_8c4e43fe74559d73(arg0, arg1) {
2399
+ export function __wbg_Error_83742b46f01ce22d(arg0, arg1) {
2400
2400
  const ret = Error(getStringFromWasm0(arg0, arg1));
2401
2401
  return ret;
2402
2402
  }
2403
- export function __wbg___wasm_refgen_toJsChangeId_c0d9eebd8fcac00a(arg0) {
2403
+ export function __wbg___wasm_refgen_toJsChangeId_575379d1a4e0664d(arg0) {
2404
2404
  const ret = arg0.__wasm_refgen_toJsChangeId();
2405
2405
  _assertClass(ret, ChangeId);
2406
2406
  var ptr1 = ret.__destroy_into_raw();
2407
2407
  return ptr1;
2408
2408
  }
2409
- export function __wbg___wasm_refgen_toJsDocument_acb9c2a3e8fa38ce(arg0) {
2409
+ export function __wbg___wasm_refgen_toJsDocument_d553d6cbafec2867(arg0) {
2410
2410
  const ret = arg0.__wasm_refgen_toJsDocument();
2411
2411
  _assertClass(ret, Document);
2412
2412
  var ptr1 = ret.__destroy_into_raw();
2413
2413
  return ptr1;
2414
2414
  }
2415
- export function __wbg___wasm_refgen_toJsPeer_74833a40bb5d8e50(arg0) {
2415
+ export function __wbg___wasm_refgen_toJsPeer_18f01647a0cd64bc(arg0) {
2416
2416
  const ret = arg0.__wasm_refgen_toJsPeer();
2417
2417
  _assertClass(ret, Peer);
2418
2418
  var ptr1 = ret.__destroy_into_raw();
2419
2419
  return ptr1;
2420
2420
  }
2421
- export function __wbg___wbindgen_debug_string_0bc8482c6e3508ae(arg0, arg1) {
2421
+ export function __wbg___wbindgen_debug_string_5398f5bb970e0daa(arg0, arg1) {
2422
2422
  const ret = debugString(arg1);
2423
2423
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2424
2424
  const len1 = WASM_VECTOR_LEN;
2425
2425
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2426
2426
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2427
2427
  }
2428
- export function __wbg___wbindgen_is_function_0095a73b8b156f76(arg0) {
2428
+ export function __wbg___wbindgen_is_function_3c846841762788c1(arg0) {
2429
2429
  const ret = typeof(arg0) === 'function';
2430
2430
  return ret;
2431
2431
  }
2432
- export function __wbg___wbindgen_is_object_5ae8e5880f2c1fbd(arg0) {
2432
+ export function __wbg___wbindgen_is_object_781bc9f159099513(arg0) {
2433
2433
  const val = arg0;
2434
2434
  const ret = typeof(val) === 'object' && val !== null;
2435
2435
  return ret;
2436
2436
  }
2437
- export function __wbg___wbindgen_is_string_cd444516edc5b180(arg0) {
2437
+ export function __wbg___wbindgen_is_string_7ef6b97b02428fae(arg0) {
2438
2438
  const ret = typeof(arg0) === 'string';
2439
2439
  return ret;
2440
2440
  }
2441
- export function __wbg___wbindgen_is_undefined_9e4d92534c42d778(arg0) {
2441
+ export function __wbg___wbindgen_is_undefined_52709e72fb9f179c(arg0) {
2442
2442
  const ret = arg0 === undefined;
2443
2443
  return ret;
2444
2444
  }
2445
- export function __wbg___wbindgen_throw_be289d5034ed271b(arg0, arg1) {
2445
+ export function __wbg___wbindgen_throw_6ddd609b62940d55(arg0, arg1) {
2446
2446
  throw new Error(getStringFromWasm0(arg0, arg1));
2447
2447
  }
2448
- export function __wbg__wbg_cb_unref_d9b87ff7982e3b21(arg0) {
2448
+ export function __wbg__wbg_cb_unref_6b5b6b8576d35cb1(arg0) {
2449
2449
  arg0._wbg_cb_unref();
2450
2450
  }
2451
2451
  export function __wbg_access_new(arg0) {
2452
2452
  const ret = Access.__wrap(arg0);
2453
2453
  return ret;
2454
2454
  }
2455
- export function __wbg_add_2b0552fe2d2151c8(arg0, arg1) {
2455
+ export function __wbg_add_fe24b809ecd53906(arg0, arg1) {
2456
2456
  const ret = arg0.add(arg1);
2457
2457
  return ret;
2458
2458
  }
@@ -2464,11 +2464,7 @@ export function __wbg_archive_new(arg0) {
2464
2464
  const ret = Archive.__wrap(arg0);
2465
2465
  return ret;
2466
2466
  }
2467
- export function __wbg_call_389efe28435a9388() { return handleError(function (arg0, arg1) {
2468
- const ret = arg0.call(arg1);
2469
- return ret;
2470
- }, arguments); }
2471
- export function __wbg_call_4708e0c13bdc8e95() { return handleError(function (arg0, arg1, arg2) {
2467
+ export function __wbg_call_2d781c1f4d5c0ef8() { return handleError(function (arg0, arg1, arg2) {
2472
2468
  const ret = arg0.call(arg1, arg2);
2473
2469
  return ret;
2474
2470
  }, arguments); }
@@ -2496,28 +2492,28 @@ export function __wbg_contactcard_new(arg0) {
2496
2492
  const ret = ContactCard.__wrap(arg0);
2497
2493
  return ret;
2498
2494
  }
2499
- export function __wbg_crypto_86f2631e91b51511(arg0) {
2495
+ export function __wbg_crypto_38df2bab126b63dc(arg0) {
2500
2496
  const ret = arg0.crypto;
2501
2497
  return ret;
2502
2498
  }
2503
- export function __wbg_debug_68afdd09483bcd1b(arg0, arg1) {
2499
+ export function __wbg_debug_1995429f18ef72ac(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2504
2500
  let deferred0_0;
2505
2501
  let deferred0_1;
2506
2502
  try {
2507
2503
  deferred0_0 = arg0;
2508
2504
  deferred0_1 = arg1;
2509
- console.debug(getStringFromWasm0(arg0, arg1));
2505
+ console.debug(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
2510
2506
  } finally {
2511
2507
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2512
2508
  }
2513
2509
  }
2514
- export function __wbg_debug_a4fe41d1a79aaba9(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2510
+ export function __wbg_debug_3003e89da631cad7(arg0, arg1) {
2515
2511
  let deferred0_0;
2516
2512
  let deferred0_1;
2517
2513
  try {
2518
2514
  deferred0_0 = arg0;
2519
2515
  deferred0_1 = arg1;
2520
- console.debug(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
2516
+ console.debug(getStringFromWasm0(arg0, arg1));
2521
2517
  } finally {
2522
2518
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2523
2519
  }
@@ -2534,7 +2530,7 @@ export function __wbg_encryptedcontentwithupdate_new(arg0) {
2534
2530
  const ret = EncryptedContentWithUpdate.__wrap(arg0);
2535
2531
  return ret;
2536
2532
  }
2537
- export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
2533
+ export function __wbg_error_8b62d3db440cf4a8(arg0, arg1) {
2538
2534
  let deferred0_0;
2539
2535
  let deferred0_1;
2540
2536
  try {
@@ -2545,7 +2541,7 @@ export function __wbg_error_7534b8e9a36f1ab4(arg0, arg1) {
2545
2541
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2546
2542
  }
2547
2543
  }
2548
- export function __wbg_error_be2b0d69ec6dd379(arg0, arg1) {
2544
+ export function __wbg_error_a6fa202b58aa1cd3(arg0, arg1) {
2549
2545
  let deferred0_0;
2550
2546
  let deferred0_1;
2551
2547
  try {
@@ -2556,7 +2552,7 @@ export function __wbg_error_be2b0d69ec6dd379(arg0, arg1) {
2556
2552
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2557
2553
  }
2558
2554
  }
2559
- export function __wbg_error_fa36d085107c9dd5(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2555
+ export function __wbg_error_c90492381694a8af(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2560
2556
  let deferred0_0;
2561
2557
  let deferred0_1;
2562
2558
  try {
@@ -2571,11 +2567,11 @@ export function __wbg_event_new(arg0) {
2571
2567
  const ret = Event.__wrap(arg0);
2572
2568
  return ret;
2573
2569
  }
2574
- export function __wbg_exportKey_03a0bdc0f102c758() { return handleError(function (arg0, arg1, arg2, arg3) {
2570
+ export function __wbg_exportKey_c43b919dba5a1db2() { return handleError(function (arg0, arg1, arg2, arg3) {
2575
2571
  const ret = arg0.exportKey(getStringFromWasm0(arg1, arg2), arg3);
2576
2572
  return ret;
2577
2573
  }, arguments); }
2578
- export function __wbg_generateKey_b1251734a5c9d53d() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2574
+ export function __wbg_generateKey_96afd66c8fa9121f() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2579
2575
  const ret = arg0.generateKey(getStringFromWasm0(arg1, arg2), arg3 !== 0, arg4);
2580
2576
  return ret;
2581
2577
  }, arguments); }
@@ -2583,22 +2579,22 @@ export function __wbg_generatewebcryptoerror_new(arg0) {
2583
2579
  const ret = GenerateWebCryptoError.__wrap(arg0);
2584
2580
  return ret;
2585
2581
  }
2586
- export function __wbg_getRandomValues_b3f15fcbfabb0f8b() { return handleError(function (arg0, arg1) {
2582
+ export function __wbg_getRandomValues_c44a50d8cfdaebeb() { return handleError(function (arg0, arg1) {
2587
2583
  arg0.getRandomValues(arg1);
2588
2584
  }, arguments); }
2589
- export function __wbg_get_9b94d73e6221f75c(arg0, arg1) {
2590
- const ret = arg0[arg1 >>> 0];
2591
- return ret;
2592
- }
2593
- export function __wbg_get_b3ed3ad4be2bc8ac() { return handleError(function (arg0, arg1) {
2585
+ export function __wbg_get_3ef1eba1850ade27() { return handleError(function (arg0, arg1) {
2594
2586
  const ret = Reflect.get(arg0, arg1);
2595
2587
  return ret;
2596
2588
  }, arguments); }
2597
- export function __wbg_get_private_key_a1bf1732676a45bd(arg0) {
2589
+ export function __wbg_get_a8ee5c45dabc1b3b(arg0, arg1) {
2590
+ const ret = arg0[arg1 >>> 0];
2591
+ return ret;
2592
+ }
2593
+ export function __wbg_get_private_key_4010ec7c01b9492f(arg0) {
2598
2594
  const ret = arg0.privateKey;
2599
2595
  return ret;
2600
2596
  }
2601
- export function __wbg_get_public_key_be748cc24c3a79ce(arg0) {
2597
+ export function __wbg_get_public_key_dcea0d78f1697f0b(arg0) {
2602
2598
  const ret = arg0.publicKey;
2603
2599
  return ret;
2604
2600
  }
@@ -2610,7 +2606,7 @@ export function __wbg_individual_new(arg0) {
2610
2606
  const ret = Individual.__wrap(arg0);
2611
2607
  return ret;
2612
2608
  }
2613
- export function __wbg_instanceof_Crypto_918a1a55484c9326(arg0) {
2609
+ export function __wbg_instanceof_Crypto_5c2a4c15287b0332(arg0) {
2614
2610
  let result;
2615
2611
  try {
2616
2612
  result = arg0 instanceof Crypto;
@@ -2624,40 +2620,40 @@ export function __wbg_keyhive_new(arg0) {
2624
2620
  const ret = Keyhive.__wrap(arg0);
2625
2621
  return ret;
2626
2622
  }
2627
- export function __wbg_length_32ed9a279acd054c(arg0) {
2623
+ export function __wbg_length_b3416cf66a5452c8(arg0) {
2628
2624
  const ret = arg0.length;
2629
2625
  return ret;
2630
2626
  }
2631
- export function __wbg_length_35a7bace40f36eac(arg0) {
2627
+ export function __wbg_length_ea16607d7b61445b(arg0) {
2632
2628
  const ret = arg0.length;
2633
2629
  return ret;
2634
2630
  }
2635
- export function __wbg_log_98ea330cbdc64a56(arg0, arg1) {
2631
+ export function __wbg_log_17a3e9a5cbb91ef7(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2636
2632
  let deferred0_0;
2637
2633
  let deferred0_1;
2638
2634
  try {
2639
2635
  deferred0_0 = arg0;
2640
2636
  deferred0_1 = arg1;
2641
- console.log(getStringFromWasm0(arg0, arg1));
2637
+ console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
2642
2638
  } finally {
2643
2639
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2644
2640
  }
2645
2641
  }
2646
- export function __wbg_log_f996de40931ab7d1(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2642
+ export function __wbg_log_e885b89e7e480a2f(arg0, arg1) {
2647
2643
  let deferred0_0;
2648
2644
  let deferred0_1;
2649
2645
  try {
2650
2646
  deferred0_0 = arg0;
2651
2647
  deferred0_1 = arg1;
2652
- console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
2648
+ console.log(getStringFromWasm0(arg0, arg1));
2653
2649
  } finally {
2654
2650
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2655
2651
  }
2656
2652
  }
2657
- export function __wbg_mark_49688daf5a319979(arg0, arg1) {
2653
+ export function __wbg_mark_0279c5d75168b5b8(arg0, arg1) {
2658
2654
  performance.mark(getStringFromWasm0(arg0, arg1));
2659
2655
  }
2660
- export function __wbg_measure_52555d98d3c0f41a() { return handleError(function (arg0, arg1, arg2, arg3) {
2656
+ export function __wbg_measure_c9b58ac538b3e2f7() { return handleError(function (arg0, arg1, arg2, arg3) {
2661
2657
  let deferred0_0;
2662
2658
  let deferred0_1;
2663
2659
  let deferred1_0;
@@ -2677,34 +2673,46 @@ export function __wbg_membership_new(arg0) {
2677
2673
  const ret = Membership.__wrap(arg0);
2678
2674
  return ret;
2679
2675
  }
2680
- export function __wbg_msCrypto_d562bbe83e0d4b91(arg0) {
2676
+ export function __wbg_msCrypto_bd5a034af96bcba6(arg0) {
2681
2677
  const ret = arg0.msCrypto;
2682
2678
  return ret;
2683
2679
  }
2684
- export function __wbg_new_3eb36ae241fe6f44() {
2685
- const ret = new Array();
2680
+ export function __wbg_new_227d7c05414eb861() {
2681
+ const ret = new Error();
2682
+ return ret;
2683
+ }
2684
+ export function __wbg_new_49d5571bd3f0c4d4() {
2685
+ const ret = new Map();
2686
2686
  return ret;
2687
2687
  }
2688
- export function __wbg_new_406106b44b3d11fa(arg0) {
2688
+ export function __wbg_new_5f486cdf45a04d78(arg0) {
2689
+ const ret = new Uint8Array(arg0);
2690
+ return ret;
2691
+ }
2692
+ export function __wbg_new_76edacb349be146a(arg0) {
2689
2693
  const ret = new Set(arg0);
2690
2694
  return ret;
2691
2695
  }
2692
- export function __wbg_new_72b49615380db768(arg0, arg1) {
2696
+ export function __wbg_new_a70fbab9066b301f() {
2697
+ const ret = new Array();
2698
+ return ret;
2699
+ }
2700
+ export function __wbg_new_d15cb560a6a0e5f0(arg0, arg1) {
2693
2701
  const ret = new Error(getStringFromWasm0(arg0, arg1));
2694
2702
  return ret;
2695
2703
  }
2696
- export function __wbg_new_8a6f238a6ece86ea() {
2697
- const ret = new Error();
2704
+ export function __wbg_new_from_slice_22da9388ac046e50(arg0, arg1) {
2705
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
2698
2706
  return ret;
2699
2707
  }
2700
- export function __wbg_new_b5d9e2fb389fef91(arg0, arg1) {
2708
+ export function __wbg_new_typed_aaaeaf29cf802876(arg0, arg1) {
2701
2709
  try {
2702
2710
  var state0 = {a: arg0, b: arg1};
2703
2711
  var cb0 = (arg0, arg1) => {
2704
2712
  const a = state0.a;
2705
2713
  state0.a = 0;
2706
2714
  try {
2707
- return wasm_bindgen__convert__closures_____invoke__h3d815819bb74b6ba(a, state0.b, arg0, arg1);
2715
+ return wasm_bindgen__convert__closures_____invoke__h5c957a02635b6d5a(a, state0.b, arg0, arg1);
2708
2716
  } finally {
2709
2717
  state0.a = a;
2710
2718
  }
@@ -2715,71 +2723,55 @@ export function __wbg_new_b5d9e2fb389fef91(arg0, arg1) {
2715
2723
  state0.a = state0.b = 0;
2716
2724
  }
2717
2725
  }
2718
- export function __wbg_new_dca287b076112a51() {
2719
- const ret = new Map();
2720
- return ret;
2721
- }
2722
- export function __wbg_new_dd2b680c8bf6ae29(arg0) {
2723
- const ret = new Uint8Array(arg0);
2724
- return ret;
2725
- }
2726
- export function __wbg_new_from_slice_a3d2629dc1826784(arg0, arg1) {
2727
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
2728
- return ret;
2729
- }
2730
- export function __wbg_new_no_args_1c7c842f08d00ebb(arg0, arg1) {
2731
- const ret = new Function(getStringFromWasm0(arg0, arg1));
2732
- return ret;
2733
- }
2734
- export function __wbg_new_with_length_a2c39cbe88fd8ff1(arg0) {
2726
+ export function __wbg_new_with_length_825018a1616e9e55(arg0) {
2735
2727
  const ret = new Uint8Array(arg0 >>> 0);
2736
2728
  return ret;
2737
2729
  }
2738
- export function __wbg_node_e1f24f89a7336c2e(arg0) {
2730
+ export function __wbg_node_84ea875411254db1(arg0) {
2739
2731
  const ret = arg0.node;
2740
2732
  return ret;
2741
2733
  }
2742
- export function __wbg_process_3975fd6c72f520aa(arg0) {
2734
+ export function __wbg_process_44c7a14e11e9f69e(arg0) {
2743
2735
  const ret = arg0.process;
2744
2736
  return ret;
2745
2737
  }
2746
- export function __wbg_prototypesetcall_bdcdcc5842e4d77d(arg0, arg1, arg2) {
2738
+ export function __wbg_prototypesetcall_d62e5099504357e6(arg0, arg1, arg2) {
2747
2739
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
2748
2740
  }
2749
- export function __wbg_push_8ffdcb2063340ba5(arg0, arg1) {
2741
+ export function __wbg_push_e87b0e732085a946(arg0, arg1) {
2750
2742
  const ret = arg0.push(arg1);
2751
2743
  return ret;
2752
2744
  }
2753
- export function __wbg_queueMicrotask_0aa0a927f78f5d98(arg0) {
2745
+ export function __wbg_queueMicrotask_0c399741342fb10f(arg0) {
2754
2746
  const ret = arg0.queueMicrotask;
2755
2747
  return ret;
2756
2748
  }
2757
- export function __wbg_queueMicrotask_5bb536982f78a56f(arg0) {
2749
+ export function __wbg_queueMicrotask_a082d78ce798393e(arg0) {
2758
2750
  queueMicrotask(arg0);
2759
2751
  }
2760
- export function __wbg_randomFillSync_f8c153b79f285817() { return handleError(function (arg0, arg1) {
2752
+ export function __wbg_randomFillSync_6c25eac9869eb53c() { return handleError(function (arg0, arg1) {
2761
2753
  arg0.randomFillSync(arg1);
2762
2754
  }, arguments); }
2763
- export function __wbg_require_b74f47fc2d022fd6() { return handleError(function () {
2755
+ export function __wbg_require_b4edbdcf3e2a1ef0() { return handleError(function () {
2764
2756
  const ret = module.require;
2765
2757
  return ret;
2766
2758
  }, arguments); }
2767
- export function __wbg_resolve_002c4b7d9d8f6b64(arg0) {
2759
+ export function __wbg_resolve_ae8d83246e5bcc12(arg0) {
2768
2760
  const ret = Promise.resolve(arg0);
2769
2761
  return ret;
2770
2762
  }
2771
- export function __wbg_set_1eb0999cf5d27fc8(arg0, arg1, arg2) {
2763
+ export function __wbg_set_bf7251625df30a02(arg0, arg1, arg2) {
2772
2764
  const ret = arg0.set(arg1, arg2);
2773
2765
  return ret;
2774
2766
  }
2775
- export function __wbg_set_name_2aca19de8d382675(arg0, arg1, arg2) {
2767
+ export function __wbg_set_name_7ef37fe858379aaf(arg0, arg1, arg2) {
2776
2768
  arg0.name = getStringFromWasm0(arg1, arg2);
2777
2769
  }
2778
2770
  export function __wbg_sharekey_new(arg0) {
2779
2771
  const ret = ShareKey.__wrap(arg0);
2780
2772
  return ret;
2781
2773
  }
2782
- export function __wbg_sign_dd8e8d6ff4c16947() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2774
+ export function __wbg_sign_a34d057afd14c54d() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2783
2775
  const ret = arg0.sign(arg1, arg2, getArrayU8FromWasm0(arg3, arg4));
2784
2776
  return ret;
2785
2777
  }, arguments); }
@@ -2799,26 +2791,26 @@ export function __wbg_signer_new(arg0) {
2799
2791
  const ret = Signer.__wrap(arg0);
2800
2792
  return ret;
2801
2793
  }
2802
- export function __wbg_stack_0ed75d68575b0f3c(arg0, arg1) {
2794
+ export function __wbg_stack_3b0d974bbf31e44f(arg0, arg1) {
2803
2795
  const ret = arg1.stack;
2804
2796
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2805
2797
  const len1 = WASM_VECTOR_LEN;
2806
2798
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2807
2799
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2808
2800
  }
2809
- export function __wbg_static_accessor_GLOBAL_12837167ad935116() {
2801
+ export function __wbg_static_accessor_GLOBAL_8adb955bd33fac2f() {
2810
2802
  const ret = typeof global === 'undefined' ? null : global;
2811
2803
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2812
2804
  }
2813
- export function __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f() {
2805
+ export function __wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913() {
2814
2806
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
2815
2807
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2816
2808
  }
2817
- export function __wbg_static_accessor_SELF_a621d3dfbb60d0ce() {
2809
+ export function __wbg_static_accessor_SELF_f207c857566db248() {
2818
2810
  const ret = typeof self === 'undefined' ? null : self;
2819
2811
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2820
2812
  }
2821
- export function __wbg_static_accessor_WINDOW_f8727f0cf888e0bd() {
2813
+ export function __wbg_static_accessor_WINDOW_bb9f1ba69d61b386() {
2822
2814
  const ret = typeof window === 'undefined' ? null : window;
2823
2815
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2824
2816
  }
@@ -2826,11 +2818,11 @@ export function __wbg_stats_new(arg0) {
2826
2818
  const ret = Stats.__wrap(arg0);
2827
2819
  return ret;
2828
2820
  }
2829
- export function __wbg_subarray_a96e1fef17ed23cb(arg0, arg1, arg2) {
2821
+ export function __wbg_subarray_a068d24e39478a8a(arg0, arg1, arg2) {
2830
2822
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
2831
2823
  return ret;
2832
2824
  }
2833
- export function __wbg_subtle_9d4bb4e872f71546(arg0) {
2825
+ export function __wbg_subtle_c060fa3eb5c6248d(arg0) {
2834
2826
  const ret = arg0.subtle;
2835
2827
  return ret;
2836
2828
  }
@@ -2838,19 +2830,19 @@ export function __wbg_summary_new(arg0) {
2838
2830
  const ret = Summary.__wrap(arg0);
2839
2831
  return ret;
2840
2832
  }
2841
- export function __wbg_then_0d9fe2c7b1857d32(arg0, arg1, arg2) {
2842
- const ret = arg0.then(arg1, arg2);
2833
+ export function __wbg_then_098abe61755d12f6(arg0, arg1) {
2834
+ const ret = arg0.then(arg1);
2843
2835
  return ret;
2844
2836
  }
2845
- export function __wbg_then_b9e7b3b5f1a9e1b5(arg0, arg1) {
2846
- const ret = arg0.then(arg1);
2837
+ export function __wbg_then_9e335f6dd892bc11(arg0, arg1, arg2) {
2838
+ const ret = arg0.then(arg1, arg2);
2847
2839
  return ret;
2848
2840
  }
2849
- export function __wbg_versions_4e31226f5e8dc909(arg0) {
2841
+ export function __wbg_versions_276b2795b1c6a219(arg0) {
2850
2842
  const ret = arg0.versions;
2851
2843
  return ret;
2852
2844
  }
2853
- export function __wbg_warn_c6311e9cb983aa2a(arg0, arg1) {
2845
+ export function __wbg_warn_2a49b47d25e1e018(arg0, arg1) {
2854
2846
  let deferred0_0;
2855
2847
  let deferred0_1;
2856
2848
  try {
@@ -2861,7 +2853,7 @@ export function __wbg_warn_c6311e9cb983aa2a(arg0, arg1) {
2861
2853
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
2862
2854
  }
2863
2855
  }
2864
- export function __wbg_warn_de3a09d072c895e6(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2856
+ export function __wbg_warn_9d7408e9659996aa(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
2865
2857
  let deferred0_0;
2866
2858
  let deferred0_1;
2867
2859
  try {
@@ -2873,8 +2865,8 @@ export function __wbg_warn_de3a09d072c895e6(arg0, arg1, arg2, arg3, arg4, arg5,
2873
2865
  }
2874
2866
  }
2875
2867
  export function __wbindgen_cast_0000000000000001(arg0, arg1) {
2876
- // Cast intrinsic for `Closure(Closure { dtor_idx: 434, function: Function { arguments: [Externref], shim_idx: 435, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2877
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h09ead9e31f939ff4, wasm_bindgen__convert__closures_____invoke__h61538c66943aba79);
2868
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 483, function: Function { arguments: [Externref], shim_idx: 484, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
2869
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0452d9a60e6a6e8e, wasm_bindgen__convert__closures_____invoke__h8c3a4ba41bec4c78);
2878
2870
  return ret;
2879
2871
  }
2880
2872
  export function __wbindgen_cast_0000000000000002(arg0, arg1) {
@@ -2945,23 +2937,17 @@ export function __wbindgen_init_externref_table() {
2945
2937
  table.set(offset + 2, true);
2946
2938
  table.set(offset + 3, false);
2947
2939
  }
2948
- function wasm_bindgen__convert__closures_____invoke__h61538c66943aba79(arg0, arg1, arg2) {
2949
- wasm.wasm_bindgen__convert__closures_____invoke__h61538c66943aba79(arg0, arg1, arg2);
2940
+ function wasm_bindgen__convert__closures_____invoke__h8c3a4ba41bec4c78(arg0, arg1, arg2) {
2941
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h8c3a4ba41bec4c78(arg0, arg1, arg2);
2942
+ if (ret[1]) {
2943
+ throw takeFromExternrefTable0(ret[0]);
2944
+ }
2950
2945
  }
2951
2946
 
2952
- function wasm_bindgen__convert__closures_____invoke__h3d815819bb74b6ba(arg0, arg1, arg2, arg3) {
2953
- wasm.wasm_bindgen__convert__closures_____invoke__h3d815819bb74b6ba(arg0, arg1, arg2, arg3);
2947
+ function wasm_bindgen__convert__closures_____invoke__h5c957a02635b6d5a(arg0, arg1, arg2, arg3) {
2948
+ wasm.wasm_bindgen__convert__closures_____invoke__h5c957a02635b6d5a(arg0, arg1, arg2, arg3);
2954
2949
  }
2955
2950
 
2956
- const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
2957
- ? { register: () => {}, unregister: () => {} }
2958
- : new FinalizationRegistry(ptr => wasm.__wbg_access_free(ptr >>> 0, 1));
2959
- const AgentFinalization = (typeof FinalizationRegistry === 'undefined')
2960
- ? { register: () => {}, unregister: () => {} }
2961
- : new FinalizationRegistry(ptr => wasm.__wbg_agent_free(ptr >>> 0, 1));
2962
- const ArchiveFinalization = (typeof FinalizationRegistry === 'undefined')
2963
- ? { register: () => {}, unregister: () => {} }
2964
- : new FinalizationRegistry(ptr => wasm.__wbg_archive_free(ptr >>> 0, 1));
2965
2951
  const CannotParseEd25519SigningKeyFinalization = (typeof FinalizationRegistry === 'undefined')
2966
2952
  ? { register: () => {}, unregister: () => {} }
2967
2953
  : new FinalizationRegistry(ptr => wasm.__wbg_cannotparseed25519signingkey_free(ptr >>> 0, 1));
@@ -2971,6 +2957,18 @@ const CannotParseIdentifierFinalization = (typeof FinalizationRegistry === 'unde
2971
2957
  const CapabilityFinalization = (typeof FinalizationRegistry === 'undefined')
2972
2958
  ? { register: () => {}, unregister: () => {} }
2973
2959
  : new FinalizationRegistry(ptr => wasm.__wbg_capability_free(ptr >>> 0, 1));
2960
+ const DocContentRefsFinalization = (typeof FinalizationRegistry === 'undefined')
2961
+ ? { register: () => {}, unregister: () => {} }
2962
+ : new FinalizationRegistry(ptr => wasm.__wbg_doccontentrefs_free(ptr >>> 0, 1));
2963
+ const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
2964
+ ? { register: () => {}, unregister: () => {} }
2965
+ : new FinalizationRegistry(ptr => wasm.__wbg_access_free(ptr >>> 0, 1));
2966
+ const AgentFinalization = (typeof FinalizationRegistry === 'undefined')
2967
+ ? { register: () => {}, unregister: () => {} }
2968
+ : new FinalizationRegistry(ptr => wasm.__wbg_agent_free(ptr >>> 0, 1));
2969
+ const ArchiveFinalization = (typeof FinalizationRegistry === 'undefined')
2970
+ ? { register: () => {}, unregister: () => {} }
2971
+ : new FinalizationRegistry(ptr => wasm.__wbg_archive_free(ptr >>> 0, 1));
2974
2972
  const CgkaOperationFinalization = (typeof FinalizationRegistry === 'undefined')
2975
2973
  ? { register: () => {}, unregister: () => {} }
2976
2974
  : new FinalizationRegistry(ptr => wasm.__wbg_cgkaoperation_free(ptr >>> 0, 1));
@@ -2986,9 +2984,6 @@ const ContactCardFinalization = (typeof FinalizationRegistry === 'undefined')
2986
2984
  const DelegationFinalization = (typeof FinalizationRegistry === 'undefined')
2987
2985
  ? { register: () => {}, unregister: () => {} }
2988
2986
  : new FinalizationRegistry(ptr => wasm.__wbg_delegation_free(ptr >>> 0, 1));
2989
- const DocContentRefsFinalization = (typeof FinalizationRegistry === 'undefined')
2990
- ? { register: () => {}, unregister: () => {} }
2991
- : new FinalizationRegistry(ptr => wasm.__wbg_doccontentrefs_free(ptr >>> 0, 1));
2992
2987
  const DocumentFinalization = (typeof FinalizationRegistry === 'undefined')
2993
2988
  ? { register: () => {}, unregister: () => {} }
2994
2989
  : new FinalizationRegistry(ptr => wasm.__wbg_document_free(ptr >>> 0, 1));
@@ -3034,9 +3029,6 @@ const KeyhiveFinalization = (typeof FinalizationRegistry === 'undefined')
3034
3029
  const MemberedFinalization = (typeof FinalizationRegistry === 'undefined')
3035
3030
  ? { register: () => {}, unregister: () => {} }
3036
3031
  : new FinalizationRegistry(ptr => wasm.__wbg_membered_free(ptr >>> 0, 1));
3037
- const MembershipFinalization = (typeof FinalizationRegistry === 'undefined')
3038
- ? { register: () => {}, unregister: () => {} }
3039
- : new FinalizationRegistry(ptr => wasm.__wbg_membership_free(ptr >>> 0, 1));
3040
3032
  const PeerFinalization = (typeof FinalizationRegistry === 'undefined')
3041
3033
  ? { register: () => {}, unregister: () => {} }
3042
3034
  : new FinalizationRegistry(ptr => wasm.__wbg_peer_free(ptr >>> 0, 1));
@@ -3067,6 +3059,9 @@ const SignerFinalization = (typeof FinalizationRegistry === 'undefined')
3067
3059
  const StatsFinalization = (typeof FinalizationRegistry === 'undefined')
3068
3060
  ? { register: () => {}, unregister: () => {} }
3069
3061
  : new FinalizationRegistry(ptr => wasm.__wbg_stats_free(ptr >>> 0, 1));
3062
+ const MembershipFinalization = (typeof FinalizationRegistry === 'undefined')
3063
+ ? { register: () => {}, unregister: () => {} }
3064
+ : new FinalizationRegistry(ptr => wasm.__wbg_membership_free(ptr >>> 0, 1));
3070
3065
  const SummaryFinalization = (typeof FinalizationRegistry === 'undefined')
3071
3066
  ? { register: () => {}, unregister: () => {} }
3072
3067
  : new FinalizationRegistry(ptr => wasm.__wbg_summary_free(ptr >>> 0, 1));
Binary file