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

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.
@@ -729,6 +729,13 @@ class Document {
729
729
  const ret = wasm.document_id(this.__wbg_ptr);
730
730
  return Identifier.__wrap(ret);
731
731
  }
732
+ /**
733
+ * @returns {Promise<Capability[]>}
734
+ */
735
+ members() {
736
+ const ret = wasm.document_members(this.__wbg_ptr);
737
+ return ret;
738
+ }
732
739
  /**
733
740
  * @returns {Agent}
734
741
  */
@@ -2561,7 +2568,7 @@ exports.setPanicHook = setPanicHook;
2561
2568
  function __wbg_get_imports() {
2562
2569
  const import0 = {
2563
2570
  __proto__: null,
2564
- __wbg_Error_7c536b7a8123d334: function(arg0, arg1) {
2571
+ __wbg_Error_2e59b1b37a9a34c3: function(arg0, arg1) {
2565
2572
  const ret = Error(getStringFromWasm0(arg0, arg1));
2566
2573
  return ret;
2567
2574
  },
@@ -2583,41 +2590,41 @@ function __wbg_get_imports() {
2583
2590
  var ptr1 = ret.__destroy_into_raw();
2584
2591
  return ptr1;
2585
2592
  },
2586
- __wbg___wbindgen_debug_string_8baecc377ad92880: function(arg0, arg1) {
2593
+ __wbg___wbindgen_debug_string_dd5d2d07ce9e6c57: function(arg0, arg1) {
2587
2594
  const ret = debugString(arg1);
2588
2595
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2589
2596
  const len1 = WASM_VECTOR_LEN;
2590
2597
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2591
2598
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2592
2599
  },
2593
- __wbg___wbindgen_is_function_d4c2480b46f29e33: function(arg0) {
2600
+ __wbg___wbindgen_is_function_49868bde5eb1e745: function(arg0) {
2594
2601
  const ret = typeof(arg0) === 'function';
2595
2602
  return ret;
2596
2603
  },
2597
- __wbg___wbindgen_is_object_e04e3a51a90cde43: function(arg0) {
2604
+ __wbg___wbindgen_is_object_40c5a80572e8f9d3: function(arg0) {
2598
2605
  const val = arg0;
2599
2606
  const ret = typeof(val) === 'object' && val !== null;
2600
2607
  return ret;
2601
2608
  },
2602
- __wbg___wbindgen_is_string_3db04af369717583: function(arg0) {
2609
+ __wbg___wbindgen_is_string_b29b5c5a8065ba1a: function(arg0) {
2603
2610
  const ret = typeof(arg0) === 'string';
2604
2611
  return ret;
2605
2612
  },
2606
- __wbg___wbindgen_is_undefined_5957b329897cc39c: function(arg0) {
2613
+ __wbg___wbindgen_is_undefined_c0cca72b82b86f4d: function(arg0) {
2607
2614
  const ret = arg0 === undefined;
2608
2615
  return ret;
2609
2616
  },
2610
- __wbg___wbindgen_throw_bd5a70920abf0236: function(arg0, arg1) {
2617
+ __wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
2611
2618
  throw new Error(getStringFromWasm0(arg0, arg1));
2612
2619
  },
2613
- __wbg__wbg_cb_unref_207c541c2d58dfb3: function(arg0) {
2620
+ __wbg__wbg_cb_unref_3c3b4f651835fbcb: function(arg0) {
2614
2621
  arg0._wbg_cb_unref();
2615
2622
  },
2616
2623
  __wbg_access_new: function(arg0) {
2617
2624
  const ret = Access.__wrap(arg0);
2618
2625
  return ret;
2619
2626
  },
2620
- __wbg_add_590df1f529090a23: function(arg0, arg1) {
2627
+ __wbg_add_f56ec7ea7f056912: function(arg0, arg1) {
2621
2628
  const ret = arg0.add(arg1);
2622
2629
  return ret;
2623
2630
  },
@@ -2633,7 +2640,7 @@ function __wbg_get_imports() {
2633
2640
  const ret = Archive.__wrap(arg0);
2634
2641
  return ret;
2635
2642
  },
2636
- __wbg_call_1aea13500fe8ff6c: function() { return handleError(function (arg0, arg1, arg2) {
2643
+ __wbg_call_d578befcc3145dee: function() { return handleError(function (arg0, arg1, arg2) {
2637
2644
  const ret = arg0.call(arg1, arg2);
2638
2645
  return ret;
2639
2646
  }, arguments); },
@@ -2736,11 +2743,11 @@ function __wbg_get_imports() {
2736
2743
  const ret = Event.__wrap(arg0);
2737
2744
  return ret;
2738
2745
  },
2739
- __wbg_exportKey_f08d6c1fcfc4b54d: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2746
+ __wbg_exportKey_99bb9b98984e3a4e: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2740
2747
  const ret = arg0.exportKey(getStringFromWasm0(arg1, arg2), arg3);
2741
2748
  return ret;
2742
2749
  }, arguments); },
2743
- __wbg_generateKey_dab8c671b076b4b3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2750
+ __wbg_generateKey_2d4760a0496c6109: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2744
2751
  const ret = arg0.generateKey(getStringFromWasm0(arg1, arg2), arg3 !== 0, arg4);
2745
2752
  return ret;
2746
2753
  }, arguments); },
@@ -2751,19 +2758,19 @@ function __wbg_get_imports() {
2751
2758
  __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
2752
2759
  arg0.getRandomValues(arg1);
2753
2760
  }, arguments); },
2754
- __wbg_get_8944f33c9c7f4f6c: function(arg0, arg1) {
2761
+ __wbg_get_4848e350b40afc16: function(arg0, arg1) {
2755
2762
  const ret = arg0[arg1 >>> 0];
2756
2763
  return ret;
2757
2764
  },
2758
- __wbg_get_d8a3d51a73d14c8a: function() { return handleError(function (arg0, arg1) {
2765
+ __wbg_get_f96702c6245e4ef9: function() { return handleError(function (arg0, arg1) {
2759
2766
  const ret = Reflect.get(arg0, arg1);
2760
2767
  return ret;
2761
2768
  }, arguments); },
2762
- __wbg_get_private_key_4769af84e1490c16: function(arg0) {
2769
+ __wbg_get_private_key_eba5c3b94a6582ab: function(arg0) {
2763
2770
  const ret = arg0.privateKey;
2764
2771
  return ret;
2765
2772
  },
2766
- __wbg_get_public_key_bc05e1040a734167: function(arg0) {
2773
+ __wbg_get_public_key_cce0ab3bb2aaaec4: function(arg0) {
2767
2774
  const ret = arg0.publicKey;
2768
2775
  return ret;
2769
2776
  },
@@ -2775,7 +2782,7 @@ function __wbg_get_imports() {
2775
2782
  const ret = Individual.__wrap(arg0);
2776
2783
  return ret;
2777
2784
  },
2778
- __wbg_instanceof_Crypto_0cb0869fecb76e83: function(arg0) {
2785
+ __wbg_instanceof_Crypto_f4b23f832118da8c: function(arg0) {
2779
2786
  let result;
2780
2787
  try {
2781
2788
  result = arg0 instanceof Crypto;
@@ -2789,11 +2796,11 @@ function __wbg_get_imports() {
2789
2796
  const ret = Keyhive.__wrap(arg0);
2790
2797
  return ret;
2791
2798
  },
2792
- __wbg_length_090b6aa6235450ba: function(arg0) {
2799
+ __wbg_length_0c32cb8543c8e4c8: function(arg0) {
2793
2800
  const ret = arg0.length;
2794
2801
  return ret;
2795
2802
  },
2796
- __wbg_length_713cc1160ce7b5b9: function(arg0) {
2803
+ __wbg_length_6e821edde497a532: function(arg0) {
2797
2804
  const ret = arg0.length;
2798
2805
  return ret;
2799
2806
  },
@@ -2850,38 +2857,38 @@ function __wbg_get_imports() {
2850
2857
  const ret = new Error();
2851
2858
  return ret;
2852
2859
  },
2853
- __wbg_new_4774b8d4db1224e4: function(arg0) {
2854
- const ret = new Uint8Array(arg0);
2860
+ __wbg_new_44794e13e79fc463: function(arg0) {
2861
+ const ret = new Set(arg0);
2855
2862
  return ret;
2856
2863
  },
2857
- __wbg_new_480195ddf7042529: function() {
2858
- const ret = new Array();
2864
+ __wbg_new_99cabae501c0a8a0: function() {
2865
+ const ret = new Map();
2859
2866
  return ret;
2860
2867
  },
2861
- __wbg_new_cf09c337e743f6e0: function(arg0) {
2862
- const ret = new Set(arg0);
2868
+ __wbg_new_a560378ea1240b14: function(arg0) {
2869
+ const ret = new Uint8Array(arg0);
2863
2870
  return ret;
2864
2871
  },
2865
- __wbg_new_d63f24ca072fa278: function() {
2866
- const ret = new Map();
2872
+ __wbg_new_e3b04b4d53d1b593: function(arg0, arg1) {
2873
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
2867
2874
  return ret;
2868
2875
  },
2869
- __wbg_new_ebde992a0bf6bdf6: function(arg0, arg1) {
2870
- const ret = new Error(getStringFromWasm0(arg0, arg1));
2876
+ __wbg_new_f3c9df4f38f3f798: function() {
2877
+ const ret = new Array();
2871
2878
  return ret;
2872
2879
  },
2873
- __wbg_new_from_slice_2733a138cec5cdcf: function(arg0, arg1) {
2880
+ __wbg_new_from_slice_2580ff33d0d10520: function(arg0, arg1) {
2874
2881
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
2875
2882
  return ret;
2876
2883
  },
2877
- __wbg_new_typed_5101eada2c6754de: function(arg0, arg1) {
2884
+ __wbg_new_typed_14d7cc391ce53d2c: function(arg0, arg1) {
2878
2885
  try {
2879
2886
  var state0 = {a: arg0, b: arg1};
2880
2887
  var cb0 = (arg0, arg1) => {
2881
2888
  const a = state0.a;
2882
2889
  state0.a = 0;
2883
2890
  try {
2884
- return wasm_bindgen__convert__closures_____invoke__h6ae8cb20b693673b(a, state0.b, arg0, arg1);
2891
+ return wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43(a, state0.b, arg0, arg1);
2885
2892
  } finally {
2886
2893
  state0.a = a;
2887
2894
  }
@@ -2892,7 +2899,7 @@ function __wbg_get_imports() {
2892
2899
  state0.a = 0;
2893
2900
  }
2894
2901
  },
2895
- __wbg_new_with_length_a90559ebda3954f8: function(arg0) {
2902
+ __wbg_new_with_length_9cedd08484b73942: function(arg0) {
2896
2903
  const ret = new Uint8Array(arg0 >>> 0);
2897
2904
  return ret;
2898
2905
  },
@@ -2904,20 +2911,20 @@ function __wbg_get_imports() {
2904
2911
  const ret = arg0.process;
2905
2912
  return ret;
2906
2913
  },
2907
- __wbg_prototypesetcall_7dca54d31cb9d2dc: function(arg0, arg1, arg2) {
2914
+ __wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
2908
2915
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
2909
2916
  },
2910
- __wbg_push_bb0def92a641d074: function(arg0, arg1) {
2917
+ __wbg_push_6bdbc990be5ac37b: function(arg0, arg1) {
2911
2918
  const ret = arg0.push(arg1);
2912
2919
  return ret;
2913
2920
  },
2914
- __wbg_queueMicrotask_1f50b4bdf2c98605: function(arg0) {
2915
- queueMicrotask(arg0);
2916
- },
2917
- __wbg_queueMicrotask_805204511f79bee8: function(arg0) {
2921
+ __wbg_queueMicrotask_abaf92f0bd4e80a4: function(arg0) {
2918
2922
  const ret = arg0.queueMicrotask;
2919
2923
  return ret;
2920
2924
  },
2925
+ __wbg_queueMicrotask_df5a6dac26d818f3: function(arg0) {
2926
+ queueMicrotask(arg0);
2927
+ },
2921
2928
  __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
2922
2929
  arg0.randomFillSync(arg1);
2923
2930
  }, arguments); },
@@ -2925,22 +2932,22 @@ function __wbg_get_imports() {
2925
2932
  const ret = module.require;
2926
2933
  return ret;
2927
2934
  }, arguments); },
2928
- __wbg_resolve_bb4df27803d377b2: function(arg0) {
2935
+ __wbg_resolve_0a79de24e9d2267b: function(arg0) {
2929
2936
  const ret = Promise.resolve(arg0);
2930
2937
  return ret;
2931
2938
  },
2932
- __wbg_set_84911e1f7639680c: function(arg0, arg1, arg2) {
2939
+ __wbg_set_08463b1df38a7e29: function(arg0, arg1, arg2) {
2933
2940
  const ret = arg0.set(arg1, arg2);
2934
2941
  return ret;
2935
2942
  },
2936
- __wbg_set_name_c2ad90badf061d34: function(arg0, arg1, arg2) {
2943
+ __wbg_set_name_ab9c98596fd7310a: function(arg0, arg1, arg2) {
2937
2944
  arg0.name = getStringFromWasm0(arg1, arg2);
2938
2945
  },
2939
2946
  __wbg_sharekey_new: function(arg0) {
2940
2947
  const ret = ShareKey.__wrap(arg0);
2941
2948
  return ret;
2942
2949
  },
2943
- __wbg_sign_f7b94cef70cf3556: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2950
+ __wbg_sign_f4e7637ee82f1e2b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2944
2951
  const ret = arg0.sign(arg1, arg2, getArrayU8FromWasm0(arg3, arg4));
2945
2952
  return ret;
2946
2953
  }, arguments); },
@@ -2967,19 +2974,19 @@ function __wbg_get_imports() {
2967
2974
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2968
2975
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2969
2976
  },
2970
- __wbg_static_accessor_GLOBAL_44bef9fa6011e260: function() {
2971
- const ret = typeof global === 'undefined' ? null : global;
2977
+ __wbg_static_accessor_GLOBAL_THIS_a1248013d790bf5f: function() {
2978
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
2972
2979
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2973
2980
  },
2974
- __wbg_static_accessor_GLOBAL_THIS_13002645baf43d84: function() {
2975
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
2981
+ __wbg_static_accessor_GLOBAL_f2e0f995a21329ff: function() {
2982
+ const ret = typeof global === 'undefined' ? null : global;
2976
2983
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2977
2984
  },
2978
- __wbg_static_accessor_SELF_91d0abd4d035416c: function() {
2985
+ __wbg_static_accessor_SELF_24f78b6d23f286ea: function() {
2979
2986
  const ret = typeof self === 'undefined' ? null : self;
2980
2987
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2981
2988
  },
2982
- __wbg_static_accessor_WINDOW_513f857c65724fc7: function() {
2989
+ __wbg_static_accessor_WINDOW_59fd959c540fe405: function() {
2983
2990
  const ret = typeof window === 'undefined' ? null : window;
2984
2991
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2985
2992
  },
@@ -2987,11 +2994,11 @@ function __wbg_get_imports() {
2987
2994
  const ret = Stats.__wrap(arg0);
2988
2995
  return ret;
2989
2996
  },
2990
- __wbg_subarray_fb60755cb1b4a498: function(arg0, arg1, arg2) {
2997
+ __wbg_subarray_0f98d3fb634508ad: function(arg0, arg1, arg2) {
2991
2998
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
2992
2999
  return ret;
2993
3000
  },
2994
- __wbg_subtle_f732bd6d8faf16a3: function(arg0) {
3001
+ __wbg_subtle_6b7d3b117f3b8d57: function(arg0) {
2995
3002
  const ret = arg0.subtle;
2996
3003
  return ret;
2997
3004
  },
@@ -2999,12 +3006,12 @@ function __wbg_get_imports() {
2999
3006
  const ret = Summary.__wrap(arg0);
3000
3007
  return ret;
3001
3008
  },
3002
- __wbg_then_d9ebfadd74ddfbb2: function(arg0, arg1) {
3003
- const ret = arg0.then(arg1);
3009
+ __wbg_then_00eed3ac0b8e82cb: function(arg0, arg1, arg2) {
3010
+ const ret = arg0.then(arg1, arg2);
3004
3011
  return ret;
3005
3012
  },
3006
- __wbg_then_f6dedb0d880db23a: function(arg0, arg1, arg2) {
3007
- const ret = arg0.then(arg1, arg2);
3013
+ __wbg_then_a0c8db0381c8994c: function(arg0, arg1) {
3014
+ const ret = arg0.then(arg1);
3008
3015
  return ret;
3009
3016
  },
3010
3017
  __wbg_versions_276b2795b1c6a219: function(arg0) {
@@ -3034,8 +3041,8 @@ function __wbg_get_imports() {
3034
3041
  }
3035
3042
  },
3036
3043
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
3037
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 690, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3038
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hfe01cfbe4f7f9695);
3044
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 704, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3045
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7);
3039
3046
  return ret;
3040
3047
  },
3041
3048
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
@@ -3120,15 +3127,15 @@ function __wbg_get_imports() {
3120
3127
  };
3121
3128
  }
3122
3129
 
3123
- function wasm_bindgen__convert__closures_____invoke__hfe01cfbe4f7f9695(arg0, arg1, arg2) {
3124
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__hfe01cfbe4f7f9695(arg0, arg1, arg2);
3130
+ function wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7(arg0, arg1, arg2) {
3131
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7(arg0, arg1, arg2);
3125
3132
  if (ret[1]) {
3126
3133
  throw takeFromExternrefTable0(ret[0]);
3127
3134
  }
3128
3135
  }
3129
3136
 
3130
- function wasm_bindgen__convert__closures_____invoke__h6ae8cb20b693673b(arg0, arg1, arg2, arg3) {
3131
- wasm.wasm_bindgen__convert__closures_____invoke__h6ae8cb20b693673b(arg0, arg1, arg2, arg3);
3137
+ function wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43(arg0, arg1, arg2, arg3) {
3138
+ wasm.wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43(arg0, arg1, arg2, arg3);
3132
3139
  }
3133
3140
 
3134
3141
  const CannotParseEd25519SigningKeyFinalization = (typeof FinalizationRegistry === 'undefined')
Binary file
@@ -1,50 +1,24 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_capability_free: (a: number, b: number) => void;
5
4
  export const __wbg_document_free: (a: number, b: number) => void;
6
- export const __wbg_membered_free: (a: number, b: number) => void;
7
- export const __wbg_summary_free: (a: number, b: number) => void;
8
- export const capability_can: (a: number) => number;
9
- export const capability_proof: (a: number) => number;
10
- export const capability_who: (a: number) => number;
11
5
  export const document___wasm_refgen_toJsDocument: (a: number) => number;
12
6
  export const document_doc_id: (a: number) => number;
7
+ export const document_members: (a: number) => any;
13
8
  export const document_toAgent: (a: number) => number;
14
9
  export const document_toMembered: (a: number) => number;
15
10
  export const document_toPeer: (a: number) => number;
16
- export const summary_access: (a: number) => number;
17
- export const summary_doc: (a: number) => number;
11
+ export const setPanicHook: () => void;
18
12
  export const document_id: (a: number) => number;
19
- export const __wbg_changeid_free: (a: number, b: number) => void;
20
- export const __wbg_delegation_free: (a: number, b: number) => void;
21
- export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
22
- export const __wbg_membership_free: (a: number, b: number) => void;
23
- export const __wbg_revocation_free: (a: number, b: number) => void;
24
- export const __wbg_signedinvocation_free: (a: number, b: number) => void;
25
- export const changeid___wasm_refgen_toJsChangeId: (a: number) => number;
26
- export const changeid_bytes: (a: number) => [number, number];
27
- export const changeid_new: (a: number, b: number) => number;
28
- export const delegation_after: (a: number) => number;
29
- export const delegation_can: (a: number) => number;
30
- export const delegation_delegate: (a: number) => number;
31
- export const delegation_proof: (a: number) => number;
32
- export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
33
- export const encryptedcontentwithupdate_update_op: (a: number) => number;
34
- export const membership_can: (a: number) => number;
35
- export const membership_who: (a: number) => number;
36
- export const revocation_after: (a: number) => number;
37
- export const revocation_proof: (a: number) => number;
38
- export const revocation_revoked: (a: number) => number;
39
- export const revocation_subject_id: (a: number) => number;
40
13
  export const __wbg_access_free: (a: number, b: number) => void;
41
14
  export const __wbg_archive_free: (a: number, b: number) => void;
15
+ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
42
16
  export const __wbg_contactcard_free: (a: number, b: number) => void;
43
- export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
44
17
  export const __wbg_groupid_free: (a: number, b: number) => void;
45
- export const __wbg_individualid_free: (a: number, b: number) => void;
18
+ export const __wbg_identifier_free: (a: number, b: number) => void;
19
+ export const __wbg_membership_free: (a: number, b: number) => void;
46
20
  export const __wbg_signed_free: (a: number, b: number) => void;
47
- export const __wbg_signedrevocation_free: (a: number, b: number) => void;
21
+ export const __wbg_stats_free: (a: number, b: number) => void;
48
22
  export const access_toString: (a: number) => [number, number];
49
23
  export const access_tryFromString: (a: number, b: number) => number;
50
24
  export const archive_toBytes: (a: number) => [number, number, number, number];
@@ -57,30 +31,98 @@ export const contactcard_op: (a: number) => number;
57
31
  export const contactcard_shareKey: (a: number) => number;
58
32
  export const contactcard_signature: (a: number) => [number, number];
59
33
  export const contactcard_toJson: (a: number) => [number, number, number, number];
60
- export const doccontentrefs_addChangeId: (a: number, b: number) => any;
61
- export const doccontentrefs_change_hashes: (a: number) => any;
62
- export const doccontentrefs_docId: (a: number) => number;
63
- export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
64
34
  export const groupid_toString: (a: number) => [number, number];
65
- export const individualid_bytes: (a: number) => [number, number];
35
+ export const identifier_new: (a: number, b: number) => [number, number, number];
36
+ export const identifier_publicId: () => number;
37
+ export const identifier_toBytes: (a: number) => [number, number];
38
+ export const membership_can: (a: number) => number;
39
+ export const membership_who: (a: number) => number;
66
40
  export const signed_fromBytes: (a: number, b: number) => [number, number, number];
67
41
  export const signed_payload: (a: number) => [number, number];
68
42
  export const signed_signature: (a: number) => [number, number];
69
43
  export const signed_toBytes: (a: number) => [number, number, number, number];
70
44
  export const signed_verify: (a: number) => number;
71
45
  export const signed_verifyingKey: (a: number) => [number, number];
72
- export const signedrevocation_delegation: (a: number) => number;
73
- export const signedrevocation_signature: (a: number) => [number, number];
74
- export const signedrevocation_verify: (a: number) => number;
75
- export const signedrevocation_verifyingKey: (a: number) => [number, number];
46
+ export const stats_activePrekeyCount: (a: number) => bigint;
47
+ export const stats_cgkaOperations: (a: number) => bigint;
48
+ export const stats_delegations: (a: number) => bigint;
49
+ export const stats_docs: (a: number) => bigint;
50
+ export const stats_groups: (a: number) => bigint;
51
+ export const stats_individuals: (a: number) => bigint;
52
+ export const stats_pendingCgkaOperation: (a: number) => bigint;
53
+ export const stats_pendingCgkaOperationByActive: (a: number) => bigint;
54
+ export const stats_pendingDelegated: (a: number) => bigint;
55
+ export const stats_pendingDelegatedByActive: (a: number) => bigint;
56
+ export const stats_pendingPrekeyRotated: (a: number) => bigint;
57
+ export const stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
58
+ export const stats_pendingPrekeysExpanded: (a: number) => bigint;
59
+ export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
60
+ export const stats_pendingRevoked: (a: number) => bigint;
61
+ export const stats_pendingRevokedByActive: (a: number) => bigint;
62
+ export const stats_prekeyRotations: (a: number) => bigint;
63
+ export const stats_prekeysExpanded: (a: number) => bigint;
64
+ export const stats_revocations: (a: number) => bigint;
65
+ export const stats_totalOps: (a: number) => bigint;
66
+ export const stats_totalPendingOps: (a: number) => bigint;
67
+ export const __wbg_capability_free: (a: number, b: number) => void;
68
+ export const __wbg_group_free: (a: number, b: number) => void;
69
+ export const __wbg_membered_free: (a: number, b: number) => void;
70
+ export const __wbg_revocation_free: (a: number, b: number) => void;
71
+ export const capability_can: (a: number) => number;
72
+ export const capability_proof: (a: number) => number;
73
+ export const capability_who: (a: number) => number;
74
+ export const group___wasm_refgen_toJsGroup: (a: number) => number;
75
+ export const group_groupId: (a: number) => number;
76
+ export const group_members: (a: number) => any;
77
+ export const group_toAgent: (a: number) => number;
78
+ export const group_toMembered: (a: number) => number;
79
+ export const group_toPeer: (a: number) => number;
80
+ export const revocation_after: (a: number) => number;
81
+ export const revocation_proof: (a: number) => number;
82
+ export const revocation_revoked: (a: number) => number;
83
+ export const revocation_subject_id: (a: number) => number;
84
+ export const group_id: (a: number) => number;
85
+ export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
86
+ export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
87
+ export const __wbg_documentid_free: (a: number, b: number) => void;
88
+ export const __wbg_event_free: (a: number, b: number) => void;
89
+ export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
90
+ export const __wbg_signer_free: (a: number, b: number) => void;
91
+ export const cgkaoperation_variant: (a: number) => [number, number];
92
+ export const documentid_new: (a: number, b: number) => [number, number, number];
93
+ export const documentid_toBytes: (a: number) => [number, number];
94
+ export const documentid_toJsValue: (a: number) => any;
95
+ export const documentid_toString: (a: number) => [number, number];
96
+ export const event_isDelegated: (a: number) => number;
97
+ export const event_isRevoked: (a: number) => number;
98
+ export const event_toBytes: (a: number) => [number, number, number, number];
99
+ export const event_tryIntoSignedDelegation: (a: number) => number;
100
+ export const event_tryIntoSignedRevocation: (a: number) => number;
101
+ export const event_variant: (a: number) => [number, number];
102
+ export const generatewebcryptoerror_message: (a: number) => [number, number];
103
+ export const signer_clone: (a: number) => number;
104
+ export const signer_generate: () => any;
105
+ export const signer_generateMemory: () => number;
106
+ export const signer_generateWebCrypto: () => any;
107
+ export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
108
+ export const signer_trySign: (a: number, b: number, c: number) => any;
109
+ export const signer_variant: (a: number) => [number, number];
110
+ export const signer_verifyingKey: (a: number) => [number, number];
111
+ export const signer_webCryptoSigner: (a: any) => any;
112
+ export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
113
+ export const signedcgkaoperation_delegation: (a: number) => number;
114
+ export const signedcgkaoperation_signature: (a: number) => [number, number];
115
+ export const signedcgkaoperation_verify: (a: number) => number;
116
+ export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
76
117
  export const __wbg_agent_free: (a: number, b: number) => void;
77
118
  export const __wbg_allagentevents_free: (a: number, b: number) => void;
78
119
  export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
79
- export const __wbg_group_free: (a: number, b: number) => void;
80
120
  export const __wbg_history_free: (a: number, b: number) => void;
121
+ export const __wbg_individual_free: (a: number, b: number) => void;
81
122
  export const __wbg_invocation_free: (a: number, b: number) => void;
82
123
  export const __wbg_keyhive_free: (a: number, b: number) => void;
83
124
  export const __wbg_peer_free: (a: number, b: number) => void;
125
+ export const __wbg_sharekey_free: (a: number, b: number) => void;
84
126
  export const agent_id: (a: number) => number;
85
127
  export const agent_isDocument: (a: number) => number;
86
128
  export const agent_isGroup: (a: number) => number;
@@ -97,15 +139,13 @@ export const allagentevents_membershipSources: (a: number) => any;
97
139
  export const allagentevents_prekeySources: (a: number) => any;
98
140
  export const ciphertextstore_newFromWebStorage: (a: any) => number;
99
141
  export const ciphertextstore_newInMemory: () => number;
100
- export const group___wasm_refgen_toJsGroup: (a: number) => number;
101
- export const group_groupId: (a: number) => number;
102
- export const group_members: (a: number) => any;
103
- export const group_toAgent: (a: number) => number;
104
- export const group_toMembered: (a: number) => number;
105
- export const group_toPeer: (a: number) => number;
106
142
  export const history_contentRefs: (a: number) => [number, number];
107
143
  export const history_delegations: (a: number) => [number, number];
108
144
  export const history_revocations: (a: number) => [number, number];
145
+ export const individual_id: (a: number) => number;
146
+ export const individual_pickPrekey: (a: number, b: number) => any;
147
+ export const individual_toAgent: (a: number) => number;
148
+ export const individual_toPeer: (a: number) => number;
109
149
  export const keyhive_accessForDoc: (a: number, b: number, c: number) => any;
110
150
  export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
111
151
  export const keyhive_allAgentEvents: (a: number) => any;
@@ -150,90 +190,51 @@ export const peer_isDocument: (a: number) => number;
150
190
  export const peer_isGroup: (a: number) => number;
151
191
  export const peer_isIndividual: (a: number) => number;
152
192
  export const peer_toString: (a: number) => [number, number];
153
- export const setPanicHook: () => void;
154
- export const group_id: (a: number) => number;
193
+ export const individual_individualId: (a: number) => number;
155
194
  export const peer_id: (a: number) => number;
156
- export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
195
+ export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
157
196
  export const __wbg_encrypted_free: (a: number, b: number) => void;
158
- export const __wbg_identifier_free: (a: number, b: number) => void;
159
- export const __wbg_individual_free: (a: number, b: number) => void;
197
+ export const __wbg_individualid_free: (a: number, b: number) => void;
160
198
  export const __wbg_signeddelegation_free: (a: number, b: number) => void;
161
- export const __wbg_stats_free: (a: number, b: number) => void;
199
+ export const __wbg_signedrevocation_free: (a: number, b: number) => void;
200
+ export const doccontentrefs_addChangeId: (a: number, b: number) => any;
201
+ export const doccontentrefs_change_hashes: (a: number) => any;
202
+ export const doccontentrefs_docId: (a: number) => number;
203
+ export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
162
204
  export const encrypted_ciphertext: (a: number) => [number, number];
163
205
  export const encrypted_content_ref: (a: number) => [number, number];
164
206
  export const encrypted_nonce: (a: number) => [number, number];
165
207
  export const encrypted_pcs_key_hash: (a: number) => [number, number];
166
208
  export const encrypted_pred_refs: (a: number) => [number, number];
167
- export const identifier_new: (a: number, b: number) => [number, number, number];
168
- export const identifier_publicId: () => number;
169
- export const identifier_toBytes: (a: number) => [number, number];
170
- export const individual_id: (a: number) => number;
171
- export const individual_individualId: (a: number) => number;
172
- export const individual_pickPrekey: (a: number, b: number) => any;
173
- export const individual_toAgent: (a: number) => number;
174
- export const individual_toPeer: (a: number) => number;
209
+ export const individualid_bytes: (a: number) => [number, number];
175
210
  export const signeddelegation_delegation: (a: number) => number;
176
211
  export const signeddelegation_signature: (a: number) => [number, number];
177
212
  export const signeddelegation_subjectId: (a: number) => number;
178
213
  export const signeddelegation_verify: (a: number) => number;
179
214
  export const signeddelegation_verifyingKey: (a: number) => [number, number];
180
- export const stats_activePrekeyCount: (a: number) => bigint;
181
- export const stats_cgkaOperations: (a: number) => bigint;
182
- export const stats_delegations: (a: number) => bigint;
183
- export const stats_docs: (a: number) => bigint;
184
- export const stats_groups: (a: number) => bigint;
185
- export const stats_individuals: (a: number) => bigint;
186
- export const stats_pendingCgkaOperation: (a: number) => bigint;
187
- export const stats_pendingCgkaOperationByActive: (a: number) => bigint;
188
- export const stats_pendingDelegated: (a: number) => bigint;
189
- export const stats_pendingDelegatedByActive: (a: number) => bigint;
190
- export const stats_pendingPrekeyRotated: (a: number) => bigint;
191
- export const stats_pendingPrekeyRotatedByActive: (a: number) => bigint;
192
- export const stats_pendingPrekeysExpanded: (a: number) => bigint;
193
- export const stats_pendingPrekeysExpandedByActive: (a: number) => bigint;
194
- export const stats_pendingRevoked: (a: number) => bigint;
195
- export const stats_pendingRevokedByActive: (a: number) => bigint;
196
- export const stats_prekeyRotations: (a: number) => bigint;
197
- export const stats_prekeysExpanded: (a: number) => bigint;
198
- export const stats_revocations: (a: number) => bigint;
199
- export const stats_totalOps: (a: number) => bigint;
200
- export const stats_totalPendingOps: (a: number) => bigint;
215
+ export const signedrevocation_delegation: (a: number) => number;
216
+ export const signedrevocation_signature: (a: number) => [number, number];
217
+ export const signedrevocation_verify: (a: number) => number;
218
+ export const signedrevocation_verifyingKey: (a: number) => [number, number];
201
219
  export const encrypted_toBytes: (a: number) => [number, number];
202
- export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
203
- export const signedcgkaoperation_delegation: (a: number) => number;
204
- export const signedcgkaoperation_signature: (a: number) => [number, number];
205
- export const signedcgkaoperation_verify: (a: number) => number;
206
- export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
207
- export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
208
- export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
209
- export const __wbg_documentid_free: (a: number, b: number) => void;
210
- export const __wbg_event_free: (a: number, b: number) => void;
211
- export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
212
- export const __wbg_sharekey_free: (a: number, b: number) => void;
213
- export const __wbg_signer_free: (a: number, b: number) => void;
214
- export const cgkaoperation_variant: (a: number) => [number, number];
215
- export const documentid_new: (a: number, b: number) => [number, number, number];
216
- export const documentid_toBytes: (a: number) => [number, number];
217
- export const documentid_toJsValue: (a: number) => any;
218
- export const documentid_toString: (a: number) => [number, number];
219
- export const event_isDelegated: (a: number) => number;
220
- export const event_isRevoked: (a: number) => number;
221
- export const event_toBytes: (a: number) => [number, number, number, number];
222
- export const event_tryIntoSignedDelegation: (a: number) => number;
223
- export const event_tryIntoSignedRevocation: (a: number) => number;
224
- export const event_variant: (a: number) => [number, number];
225
- export const generatewebcryptoerror_message: (a: number) => [number, number];
226
- export const signer_clone: (a: number) => number;
227
- export const signer_generate: () => any;
228
- export const signer_generateMemory: () => number;
229
- export const signer_generateWebCrypto: () => any;
230
- export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
231
- export const signer_trySign: (a: number, b: number, c: number) => any;
232
- export const signer_variant: (a: number) => [number, number];
233
- export const signer_verifyingKey: (a: number) => [number, number];
234
- export const signer_webCryptoSigner: (a: any) => any;
235
- export const wasm_bindgen__convert__closures_____invoke__hfe01cfbe4f7f9695: (a: number, b: number, c: any) => [number, number];
236
- export const wasm_bindgen__convert__closures_____invoke__h6ae8cb20b693673b: (a: number, b: number, c: any, d: any) => void;
220
+ export const __wbg_changeid_free: (a: number, b: number) => void;
221
+ export const __wbg_delegation_free: (a: number, b: number) => void;
222
+ export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
223
+ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
224
+ export const __wbg_summary_free: (a: number, b: number) => void;
225
+ export const changeid___wasm_refgen_toJsChangeId: (a: number) => number;
226
+ export const changeid_bytes: (a: number) => [number, number];
227
+ export const changeid_new: (a: number, b: number) => number;
228
+ export const delegation_after: (a: number) => number;
229
+ export const delegation_can: (a: number) => number;
230
+ export const delegation_delegate: (a: number) => number;
231
+ export const delegation_proof: (a: number) => number;
232
+ export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
233
+ export const encryptedcontentwithupdate_update_op: (a: number) => number;
234
+ export const summary_access: (a: number) => number;
235
+ export const summary_doc: (a: number) => number;
236
+ export const wasm_bindgen__convert__closures_____invoke__h3280982d348b8ce7: (a: number, b: number, c: any) => [number, number];
237
+ export const wasm_bindgen__convert__closures_____invoke__hed1b57a71ca47f43: (a: number, b: number, c: any, d: any) => void;
237
238
  export const __wbindgen_malloc: (a: number, b: number) => number;
238
239
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
239
240
  export const __wbindgen_exn_store: (a: number) => void;