@keyhive/keyhive 0.0.0-alpha.2 → 0.0.0-alpha.4

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.2",
3
+ "version": "0.0.0-alpha.4",
4
4
  "description": "",
5
5
  "main": "pkg/keyhive_wasm.js",
6
6
  "keywords": [],
@@ -32,7 +32,7 @@
32
32
  "./keyhive_wasm.wasm": "./pkg-slim/keyhive_wasm_bg.wasm",
33
33
  "./keyhive_wasm.base64.js": {
34
34
  "import": "./pkg-slim/keyhive_wasm_bg.wasm.base64.js",
35
- "type": "./pkg-slim/keyhive_wasm_bg.wasm.base64.d.ts"
35
+ "types": "./pkg-slim/keyhive_wasm_bg.wasm.base64.d.ts"
36
36
  }
37
37
  },
38
38
  "devDependencies": {
@@ -249,15 +249,6 @@ function _assertClass(instance, klass) {
249
249
  throw new Error(`expected instance of ${klass.name}`);
250
250
  }
251
251
  }
252
- /**
253
- * Panic hook lets us get better error messages if our Rust code ever panics.
254
- *
255
- * This function needs to be called at least once during initialisation.
256
- * 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
257
- */
258
- export function setPanicHook() {
259
- wasm.setPanicHook();
260
- }
261
252
 
262
253
  function passArrayJsValueToWasm0(array, malloc) {
263
254
  const ptr = malloc(array.length * 4, 4) >>> 0;
@@ -268,11 +259,21 @@ function passArrayJsValueToWasm0(array, malloc) {
268
259
  WASM_VECTOR_LEN = array.length;
269
260
  return ptr;
270
261
  }
271
- function __wbg_adapter_12(arg0, arg1, arg2) {
262
+ /**
263
+ * Panic hook lets us get better error messages if our Rust code ever panics.
264
+ *
265
+ * This function needs to be called at least once during initialisation.
266
+ * 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
267
+ */
268
+ export function setPanicHook() {
269
+ wasm.setPanicHook();
270
+ }
271
+
272
+ function __wbg_adapter_14(arg0, arg1, arg2) {
272
273
  wasm.closure423_externref_shim(arg0, arg1, arg2);
273
274
  }
274
275
 
275
- function __wbg_adapter_272(arg0, arg1, arg2, arg3) {
276
+ function __wbg_adapter_274(arg0, arg1, arg2, arg3) {
276
277
  wasm.closure571_externref_shim(arg0, arg1, arg2, arg3);
277
278
  }
278
279
 
@@ -3165,6 +3166,11 @@ export function __wbg_getRandomValues_b8f5dbd5f3995a9e() { return handleError(fu
3165
3166
  arg0.getRandomValues(arg1);
3166
3167
  }, arguments) };
3167
3168
 
3169
+ export function __wbg_get_458e874b43b18b25() { return handleError(function (arg0, arg1) {
3170
+ const ret = Reflect.get(arg0, arg1);
3171
+ return ret;
3172
+ }, arguments) };
3173
+
3168
3174
  export function __wbg_getprivatekey_2b060a8a8c19d828(arg0) {
3169
3175
  const ret = arg0.privateKey;
3170
3176
  return ret;
@@ -3180,6 +3186,17 @@ export function __wbg_group_new(arg0) {
3180
3186
  return ret;
3181
3187
  };
3182
3188
 
3189
+ export function __wbg_instanceof_Crypto_33ac2d91cca59233(arg0) {
3190
+ let result;
3191
+ try {
3192
+ result = arg0 instanceof Crypto;
3193
+ } catch (_) {
3194
+ result = false;
3195
+ }
3196
+ const ret = result;
3197
+ return ret;
3198
+ };
3199
+
3183
3200
  export function __wbg_instanceof_Window_12d20d558ef92592(arg0) {
3184
3201
  let result;
3185
3202
  try {
@@ -3233,7 +3250,7 @@ export function __wbg_new_2e3c58a15f39f5f9(arg0, arg1) {
3233
3250
  const a = state0.a;
3234
3251
  state0.a = 0;
3235
3252
  try {
3236
- return __wbg_adapter_272(a, state0.b, arg0, arg1);
3253
+ return __wbg_adapter_274(a, state0.b, arg0, arg1);
3237
3254
  } finally {
3238
3255
  state0.a = a;
3239
3256
  }
@@ -3465,7 +3482,7 @@ export function __wbg_wbindgenthrow_451ec1a8469d7eb6(arg0, arg1) {
3465
3482
 
3466
3483
  export function __wbindgen_cast_133053e9d0cd85aa(arg0, arg1) {
3467
3484
  // Cast intrinsic for `Closure(Closure { dtor_idx: 422, function: Function { arguments: [Externref], shim_idx: 423, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3468
- const ret = makeMutClosure(arg0, arg1, 422, __wbg_adapter_12);
3485
+ const ret = makeMutClosure(arg0, arg1, 422, __wbg_adapter_14);
3469
3486
  return ret;
3470
3487
  };
3471
3488
 
Binary file
@@ -32,6 +32,91 @@ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
32
32
  export const __wbg_summary_free: (a: number, b: number) => void;
33
33
  export const summary_doc: (a: number) => number;
34
34
  export const summary_access: (a: number) => number;
35
+ export const __wbg_addmembererror_free: (a: number, b: number) => void;
36
+ export const addmembererror_message: (a: number) => [number, number];
37
+ export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
38
+ export const cgkaoperation_variant: (a: number) => [number, number];
39
+ export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
40
+ export const ciphertextstore_newInMemory: () => number;
41
+ export const ciphertextstore_newFromWebStorage: (a: any) => number;
42
+ export const __wbg_removeciphertexterror_free: (a: number, b: number) => void;
43
+ export const __wbg_getciphertexterror_free: (a: number, b: number) => void;
44
+ export const getciphertexterror_message: (a: number) => [number, number];
45
+ export const __wbg_contactcard_free: (a: number, b: number) => void;
46
+ export const contactcard_id: (a: number) => number;
47
+ export const contactcard_shareKey: (a: number) => number;
48
+ export const contactcard_signature: (a: number) => [number, number];
49
+ export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
50
+ export const contactcard_toJson: (a: number) => [number, number, number, number];
51
+ export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
52
+ export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
53
+ export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
54
+ export const doccontentrefs_docId: (a: number) => number;
55
+ export const doccontentrefs_change_hashes: (a: number) => [number, number];
56
+ export const __wbg_documentid_free: (a: number, b: number) => void;
57
+ export const documentid_new: (a: number, b: number) => [number, number, number];
58
+ export const documentid_fromString: (a: number) => [number, number];
59
+ export const documentid_toJsValue: (a: number) => any;
60
+ export const documentid_toBytes: (a: number) => [number, number];
61
+ export const __wbg_groupid_free: (a: number, b: number) => void;
62
+ export const groupid_toString: (a: number) => [number, number];
63
+ export const __wbg_identifier_free: (a: number, b: number) => void;
64
+ export const identifier_toBytes: (a: number) => [number, number];
65
+ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
66
+ export const __wbg_individual_free: (a: number, b: number) => void;
67
+ export const individual_toPeer: (a: number) => number;
68
+ export const individual_toAgent: (a: number) => number;
69
+ export const individual_id: (a: number) => number;
70
+ export const individual_individualId: (a: number) => number;
71
+ export const individual_pickPrekey: (a: number, b: number) => number;
72
+ export const __wbg_revokemembererror_free: (a: number, b: number) => void;
73
+ export const revokemembererror_message: (a: number) => [number, number];
74
+ export const __wbg_signer_free: (a: number, b: number) => void;
75
+ export const signer_generate: () => any;
76
+ export const signer_generateMemory: () => number;
77
+ export const signer_generateWebCrypto: () => any;
78
+ export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
79
+ export const signer_webCryptoSigner: (a: any) => any;
80
+ export const signer_variant: (a: number) => [number, number];
81
+ export const signer_trySign: (a: number, b: number, c: number) => any;
82
+ export const signer_verifyingKey: (a: number) => [number, number];
83
+ export const signer_clone: (a: number) => number;
84
+ export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
85
+ export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
86
+ export const generatewebcryptoerror_message: (a: number) => [number, number];
87
+ export const __wbg_signingerror_free: (a: number, b: number) => void;
88
+ export const signingerror_message: (a: number) => [number, number];
89
+ export const identifier_new: (a: number, b: number) => [number, number, number];
90
+ export const __wbg_keyhive_free: (a: number, b: number) => void;
91
+ export const keyhive_init: (a: number, b: number, c: any) => any;
92
+ export const keyhive_id: (a: number) => number;
93
+ export const keyhive_idString: (a: number) => [number, number];
94
+ export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
95
+ export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
96
+ export const keyhive_trySign: (a: number, b: number, c: number) => any;
97
+ export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
98
+ export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
99
+ export const keyhive_tryDecrypt: (a: number, b: number, c: number) => [number, number, number, number];
100
+ export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
101
+ export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
102
+ export const keyhive_reachableDocs: (a: number) => [number, number];
103
+ export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
104
+ export const keyhive_rotatePrekey: (a: number, b: number) => any;
105
+ export const keyhive_expandPrekeys: (a: number) => any;
106
+ export const keyhive_contactCard: (a: number) => any;
107
+ export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
108
+ export const keyhive_getAgent: (a: number, b: number) => number;
109
+ export const keyhive_getGroup: (a: number, b: number) => number;
110
+ export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
111
+ export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
112
+ export const keyhive_intoArchive: (a: number) => number;
113
+ export const keyhive_toArchive: (a: number) => number;
114
+ export const keyhive_ingestArchive: (a: number, b: number) => any;
115
+ export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
116
+ export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
117
+ export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
118
+ export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
119
+ export const keyhive_whoami: (a: number) => number;
35
120
  export const __wbg_access_free: (a: number, b: number) => void;
36
121
  export const access_tryFromString: (a: number, b: number) => number;
37
122
  export const access_toString: (a: number) => [number, number];
@@ -110,91 +195,6 @@ export const signedrevocation_verifyingKey: (a: number) => [number, number];
110
195
  export const signedrevocation_signature: (a: number) => [number, number];
111
196
  export const setPanicHook: () => void;
112
197
  export const encrypted_toBytes: (a: number) => [number, number];
113
- export const __wbg_keyhive_free: (a: number, b: number) => void;
114
- export const keyhive_init: (a: number, b: number, c: any) => any;
115
- export const keyhive_id: (a: number) => number;
116
- export const keyhive_idString: (a: number) => [number, number];
117
- export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
118
- export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
119
- export const keyhive_trySign: (a: number, b: number, c: number) => any;
120
- export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
121
- export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
122
- export const keyhive_tryDecrypt: (a: number, b: number, c: number) => [number, number, number, number];
123
- export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
124
- export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
125
- export const keyhive_reachableDocs: (a: number) => [number, number];
126
- export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
127
- export const keyhive_rotatePrekey: (a: number, b: number) => any;
128
- export const keyhive_expandPrekeys: (a: number) => any;
129
- export const keyhive_contactCard: (a: number) => any;
130
- export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
131
- export const keyhive_getAgent: (a: number, b: number) => number;
132
- export const keyhive_getGroup: (a: number, b: number) => number;
133
- export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
134
- export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
135
- export const keyhive_intoArchive: (a: number) => number;
136
- export const keyhive_toArchive: (a: number) => number;
137
- export const keyhive_ingestArchive: (a: number, b: number) => any;
138
- export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
139
- export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
140
- export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
141
- export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
142
- export const keyhive_whoami: (a: number) => number;
143
- export const __wbg_addmembererror_free: (a: number, b: number) => void;
144
- export const addmembererror_message: (a: number) => [number, number];
145
- export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
146
- export const cgkaoperation_variant: (a: number) => [number, number];
147
- export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
148
- export const ciphertextstore_newInMemory: () => number;
149
- export const ciphertextstore_newFromWebStorage: (a: any) => number;
150
- export const __wbg_removeciphertexterror_free: (a: number, b: number) => void;
151
- export const __wbg_getciphertexterror_free: (a: number, b: number) => void;
152
- export const getciphertexterror_message: (a: number) => [number, number];
153
- export const __wbg_contactcard_free: (a: number, b: number) => void;
154
- export const contactcard_id: (a: number) => number;
155
- export const contactcard_shareKey: (a: number) => number;
156
- export const contactcard_signature: (a: number) => [number, number];
157
- export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
158
- export const contactcard_toJson: (a: number) => [number, number, number, number];
159
- export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
160
- export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
161
- export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
162
- export const doccontentrefs_docId: (a: number) => number;
163
- export const doccontentrefs_change_hashes: (a: number) => [number, number];
164
- export const __wbg_documentid_free: (a: number, b: number) => void;
165
- export const documentid_new: (a: number, b: number) => [number, number, number];
166
- export const documentid_fromString: (a: number) => [number, number];
167
- export const documentid_toJsValue: (a: number) => any;
168
- export const documentid_toBytes: (a: number) => [number, number];
169
- export const __wbg_groupid_free: (a: number, b: number) => void;
170
- export const groupid_toString: (a: number) => [number, number];
171
- export const __wbg_identifier_free: (a: number, b: number) => void;
172
- export const identifier_toBytes: (a: number) => [number, number];
173
- export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
174
- export const __wbg_individual_free: (a: number, b: number) => void;
175
- export const individual_toPeer: (a: number) => number;
176
- export const individual_toAgent: (a: number) => number;
177
- export const individual_id: (a: number) => number;
178
- export const individual_individualId: (a: number) => number;
179
- export const individual_pickPrekey: (a: number, b: number) => number;
180
- export const __wbg_revokemembererror_free: (a: number, b: number) => void;
181
- export const revokemembererror_message: (a: number) => [number, number];
182
- export const __wbg_signer_free: (a: number, b: number) => void;
183
- export const signer_generate: () => any;
184
- export const signer_generateMemory: () => number;
185
- export const signer_generateWebCrypto: () => any;
186
- export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
187
- export const signer_webCryptoSigner: (a: any) => any;
188
- export const signer_variant: (a: number) => [number, number];
189
- export const signer_trySign: (a: number, b: number, c: number) => any;
190
- export const signer_verifyingKey: (a: number) => [number, number];
191
- export const signer_clone: (a: number) => number;
192
- export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
193
- export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
194
- export const generatewebcryptoerror_message: (a: number) => [number, number];
195
- export const __wbg_signingerror_free: (a: number, b: number) => void;
196
- export const signingerror_message: (a: number) => [number, number];
197
- export const identifier_new: (a: number, b: number) => [number, number, number];
198
198
  export const __wbindgen_exn_store: (a: number) => void;
199
199
  export const __externref_table_alloc: () => number;
200
200
  export const __wbindgen_export_2: WebAssembly.Table;
@@ -239,15 +239,6 @@ function _assertClass(instance, klass) {
239
239
  throw new Error(`expected instance of ${klass.name}`);
240
240
  }
241
241
  }
242
- /**
243
- * Panic hook lets us get better error messages if our Rust code ever panics.
244
- *
245
- * This function needs to be called at least once during initialisation.
246
- * 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
247
- */
248
- exports.setPanicHook = function() {
249
- wasm.setPanicHook();
250
- };
251
242
 
252
243
  function passArrayJsValueToWasm0(array, malloc) {
253
244
  const ptr = malloc(array.length * 4, 4) >>> 0;
@@ -258,11 +249,21 @@ function passArrayJsValueToWasm0(array, malloc) {
258
249
  WASM_VECTOR_LEN = array.length;
259
250
  return ptr;
260
251
  }
261
- function __wbg_adapter_8(arg0, arg1, arg2) {
252
+ /**
253
+ * Panic hook lets us get better error messages if our Rust code ever panics.
254
+ *
255
+ * This function needs to be called at least once during initialisation.
256
+ * 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
257
+ */
258
+ exports.setPanicHook = function() {
259
+ wasm.setPanicHook();
260
+ };
261
+
262
+ function __wbg_adapter_10(arg0, arg1, arg2) {
262
263
  wasm.closure423_externref_shim(arg0, arg1, arg2);
263
264
  }
264
265
 
265
- function __wbg_adapter_272(arg0, arg1, arg2, arg3) {
266
+ function __wbg_adapter_274(arg0, arg1, arg2, arg3) {
266
267
  wasm.closure571_externref_shim(arg0, arg1, arg2, arg3);
267
268
  }
268
269
 
@@ -3257,6 +3258,11 @@ exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError
3257
3258
  arg0.getRandomValues(arg1);
3258
3259
  }, arguments) };
3259
3260
 
3261
+ exports.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
3262
+ const ret = Reflect.get(arg0, arg1);
3263
+ return ret;
3264
+ }, arguments) };
3265
+
3260
3266
  exports.__wbg_getprivatekey_2b060a8a8c19d828 = function(arg0) {
3261
3267
  const ret = arg0.privateKey;
3262
3268
  return ret;
@@ -3272,6 +3278,17 @@ exports.__wbg_group_new = function(arg0) {
3272
3278
  return ret;
3273
3279
  };
3274
3280
 
3281
+ exports.__wbg_instanceof_Crypto_33ac2d91cca59233 = function(arg0) {
3282
+ let result;
3283
+ try {
3284
+ result = arg0 instanceof Crypto;
3285
+ } catch (_) {
3286
+ result = false;
3287
+ }
3288
+ const ret = result;
3289
+ return ret;
3290
+ };
3291
+
3275
3292
  exports.__wbg_instanceof_Window_12d20d558ef92592 = function(arg0) {
3276
3293
  let result;
3277
3294
  try {
@@ -3325,7 +3342,7 @@ exports.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
3325
3342
  const a = state0.a;
3326
3343
  state0.a = 0;
3327
3344
  try {
3328
- return __wbg_adapter_272(a, state0.b, arg0, arg1);
3345
+ return __wbg_adapter_274(a, state0.b, arg0, arg1);
3329
3346
  } finally {
3330
3347
  state0.a = a;
3331
3348
  }
@@ -3557,7 +3574,7 @@ exports.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
3557
3574
 
3558
3575
  exports.__wbindgen_cast_133053e9d0cd85aa = function(arg0, arg1) {
3559
3576
  // Cast intrinsic for `Closure(Closure { dtor_idx: 422, function: Function { arguments: [Externref], shim_idx: 423, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3560
- const ret = makeMutClosure(arg0, arg1, 422, __wbg_adapter_8);
3577
+ const ret = makeMutClosure(arg0, arg1, 422, __wbg_adapter_10);
3561
3578
  return ret;
3562
3579
  };
3563
3580
 
Binary file
@@ -32,6 +32,91 @@ export const __wbg_signedinvocation_free: (a: number, b: number) => void;
32
32
  export const __wbg_summary_free: (a: number, b: number) => void;
33
33
  export const summary_doc: (a: number) => number;
34
34
  export const summary_access: (a: number) => number;
35
+ export const __wbg_addmembererror_free: (a: number, b: number) => void;
36
+ export const addmembererror_message: (a: number) => [number, number];
37
+ export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
38
+ export const cgkaoperation_variant: (a: number) => [number, number];
39
+ export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
40
+ export const ciphertextstore_newInMemory: () => number;
41
+ export const ciphertextstore_newFromWebStorage: (a: any) => number;
42
+ export const __wbg_removeciphertexterror_free: (a: number, b: number) => void;
43
+ export const __wbg_getciphertexterror_free: (a: number, b: number) => void;
44
+ export const getciphertexterror_message: (a: number) => [number, number];
45
+ export const __wbg_contactcard_free: (a: number, b: number) => void;
46
+ export const contactcard_id: (a: number) => number;
47
+ export const contactcard_shareKey: (a: number) => number;
48
+ export const contactcard_signature: (a: number) => [number, number];
49
+ export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
50
+ export const contactcard_toJson: (a: number) => [number, number, number, number];
51
+ export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
52
+ export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
53
+ export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
54
+ export const doccontentrefs_docId: (a: number) => number;
55
+ export const doccontentrefs_change_hashes: (a: number) => [number, number];
56
+ export const __wbg_documentid_free: (a: number, b: number) => void;
57
+ export const documentid_new: (a: number, b: number) => [number, number, number];
58
+ export const documentid_fromString: (a: number) => [number, number];
59
+ export const documentid_toJsValue: (a: number) => any;
60
+ export const documentid_toBytes: (a: number) => [number, number];
61
+ export const __wbg_groupid_free: (a: number, b: number) => void;
62
+ export const groupid_toString: (a: number) => [number, number];
63
+ export const __wbg_identifier_free: (a: number, b: number) => void;
64
+ export const identifier_toBytes: (a: number) => [number, number];
65
+ export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
66
+ export const __wbg_individual_free: (a: number, b: number) => void;
67
+ export const individual_toPeer: (a: number) => number;
68
+ export const individual_toAgent: (a: number) => number;
69
+ export const individual_id: (a: number) => number;
70
+ export const individual_individualId: (a: number) => number;
71
+ export const individual_pickPrekey: (a: number, b: number) => number;
72
+ export const __wbg_revokemembererror_free: (a: number, b: number) => void;
73
+ export const revokemembererror_message: (a: number) => [number, number];
74
+ export const __wbg_signer_free: (a: number, b: number) => void;
75
+ export const signer_generate: () => any;
76
+ export const signer_generateMemory: () => number;
77
+ export const signer_generateWebCrypto: () => any;
78
+ export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
79
+ export const signer_webCryptoSigner: (a: any) => any;
80
+ export const signer_variant: (a: number) => [number, number];
81
+ export const signer_trySign: (a: number, b: number, c: number) => any;
82
+ export const signer_verifyingKey: (a: number) => [number, number];
83
+ export const signer_clone: (a: number) => number;
84
+ export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
85
+ export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
86
+ export const generatewebcryptoerror_message: (a: number) => [number, number];
87
+ export const __wbg_signingerror_free: (a: number, b: number) => void;
88
+ export const signingerror_message: (a: number) => [number, number];
89
+ export const identifier_new: (a: number, b: number) => [number, number, number];
90
+ export const __wbg_keyhive_free: (a: number, b: number) => void;
91
+ export const keyhive_init: (a: number, b: number, c: any) => any;
92
+ export const keyhive_id: (a: number) => number;
93
+ export const keyhive_idString: (a: number) => [number, number];
94
+ export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
95
+ export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
96
+ export const keyhive_trySign: (a: number, b: number, c: number) => any;
97
+ export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
98
+ export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
99
+ export const keyhive_tryDecrypt: (a: number, b: number, c: number) => [number, number, number, number];
100
+ export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
101
+ export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
102
+ export const keyhive_reachableDocs: (a: number) => [number, number];
103
+ export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
104
+ export const keyhive_rotatePrekey: (a: number, b: number) => any;
105
+ export const keyhive_expandPrekeys: (a: number) => any;
106
+ export const keyhive_contactCard: (a: number) => any;
107
+ export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
108
+ export const keyhive_getAgent: (a: number, b: number) => number;
109
+ export const keyhive_getGroup: (a: number, b: number) => number;
110
+ export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
111
+ export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
112
+ export const keyhive_intoArchive: (a: number) => number;
113
+ export const keyhive_toArchive: (a: number) => number;
114
+ export const keyhive_ingestArchive: (a: number, b: number) => any;
115
+ export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
116
+ export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
117
+ export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
118
+ export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
119
+ export const keyhive_whoami: (a: number) => number;
35
120
  export const __wbg_access_free: (a: number, b: number) => void;
36
121
  export const access_tryFromString: (a: number, b: number) => number;
37
122
  export const access_toString: (a: number) => [number, number];
@@ -110,91 +195,6 @@ export const signedrevocation_verifyingKey: (a: number) => [number, number];
110
195
  export const signedrevocation_signature: (a: number) => [number, number];
111
196
  export const setPanicHook: () => void;
112
197
  export const encrypted_toBytes: (a: number) => [number, number];
113
- export const __wbg_keyhive_free: (a: number, b: number) => void;
114
- export const keyhive_init: (a: number, b: number, c: any) => any;
115
- export const keyhive_id: (a: number) => number;
116
- export const keyhive_idString: (a: number) => [number, number];
117
- export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
118
- export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
119
- export const keyhive_trySign: (a: number, b: number, c: number) => any;
120
- export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
121
- export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
122
- export const keyhive_tryDecrypt: (a: number, b: number, c: number) => [number, number, number, number];
123
- export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
124
- export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
125
- export const keyhive_reachableDocs: (a: number) => [number, number];
126
- export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
127
- export const keyhive_rotatePrekey: (a: number, b: number) => any;
128
- export const keyhive_expandPrekeys: (a: number) => any;
129
- export const keyhive_contactCard: (a: number) => any;
130
- export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
131
- export const keyhive_getAgent: (a: number, b: number) => number;
132
- export const keyhive_getGroup: (a: number, b: number) => number;
133
- export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
134
- export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
135
- export const keyhive_intoArchive: (a: number) => number;
136
- export const keyhive_toArchive: (a: number) => number;
137
- export const keyhive_ingestArchive: (a: number, b: number) => any;
138
- export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
139
- export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
140
- export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
141
- export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
142
- export const keyhive_whoami: (a: number) => number;
143
- export const __wbg_addmembererror_free: (a: number, b: number) => void;
144
- export const addmembererror_message: (a: number) => [number, number];
145
- export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
146
- export const cgkaoperation_variant: (a: number) => [number, number];
147
- export const __wbg_ciphertextstore_free: (a: number, b: number) => void;
148
- export const ciphertextstore_newInMemory: () => number;
149
- export const ciphertextstore_newFromWebStorage: (a: any) => number;
150
- export const __wbg_removeciphertexterror_free: (a: number, b: number) => void;
151
- export const __wbg_getciphertexterror_free: (a: number, b: number) => void;
152
- export const getciphertexterror_message: (a: number) => [number, number];
153
- export const __wbg_contactcard_free: (a: number, b: number) => void;
154
- export const contactcard_id: (a: number) => number;
155
- export const contactcard_shareKey: (a: number) => number;
156
- export const contactcard_signature: (a: number) => [number, number];
157
- export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
158
- export const contactcard_toJson: (a: number) => [number, number, number, number];
159
- export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
160
- export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
161
- export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
162
- export const doccontentrefs_docId: (a: number) => number;
163
- export const doccontentrefs_change_hashes: (a: number) => [number, number];
164
- export const __wbg_documentid_free: (a: number, b: number) => void;
165
- export const documentid_new: (a: number, b: number) => [number, number, number];
166
- export const documentid_fromString: (a: number) => [number, number];
167
- export const documentid_toJsValue: (a: number) => any;
168
- export const documentid_toBytes: (a: number) => [number, number];
169
- export const __wbg_groupid_free: (a: number, b: number) => void;
170
- export const groupid_toString: (a: number) => [number, number];
171
- export const __wbg_identifier_free: (a: number, b: number) => void;
172
- export const identifier_toBytes: (a: number) => [number, number];
173
- export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
174
- export const __wbg_individual_free: (a: number, b: number) => void;
175
- export const individual_toPeer: (a: number) => number;
176
- export const individual_toAgent: (a: number) => number;
177
- export const individual_id: (a: number) => number;
178
- export const individual_individualId: (a: number) => number;
179
- export const individual_pickPrekey: (a: number, b: number) => number;
180
- export const __wbg_revokemembererror_free: (a: number, b: number) => void;
181
- export const revokemembererror_message: (a: number) => [number, number];
182
- export const __wbg_signer_free: (a: number, b: number) => void;
183
- export const signer_generate: () => any;
184
- export const signer_generateMemory: () => number;
185
- export const signer_generateWebCrypto: () => any;
186
- export const signer_memorySignerFromBytes: (a: number, b: number) => [number, number, number];
187
- export const signer_webCryptoSigner: (a: any) => any;
188
- export const signer_variant: (a: number) => [number, number];
189
- export const signer_trySign: (a: number, b: number, c: number) => any;
190
- export const signer_verifyingKey: (a: number) => [number, number];
191
- export const signer_clone: (a: number) => number;
192
- export const __wbg_cannotparseed25519signingkey_free: (a: number, b: number) => void;
193
- export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
194
- export const generatewebcryptoerror_message: (a: number) => [number, number];
195
- export const __wbg_signingerror_free: (a: number, b: number) => void;
196
- export const signingerror_message: (a: number) => [number, number];
197
- export const identifier_new: (a: number, b: number) => [number, number, number];
198
198
  export const __wbindgen_exn_store: (a: number) => void;
199
199
  export const __externref_table_alloc: () => number;
200
200
  export const __wbindgen_export_2: WebAssembly.Table;