@keyhive/keyhive 0.0.0-alpha.17 → 0.0.0-alpha.18
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 +1 -1
- package/pkg/keyhive_wasm_bg.js +9 -9
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +33 -33
- package/pkg-node/keyhive_wasm.js +9 -9
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +33 -33
- package/pkg-slim/keyhive_wasm.d.ts +33 -33
- package/pkg-slim/keyhive_wasm.js +7 -7
- package/pkg-slim/keyhive_wasm_bg.wasm +0 -0
- package/pkg-slim/keyhive_wasm_bg.wasm.base64.js +1 -1
- package/pkg-slim/keyhive_wasm_bg.wasm.d.ts +33 -33
package/package.json
CHANGED
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -269,12 +269,12 @@ export function setPanicHook() {
|
|
|
269
269
|
wasm.setPanicHook();
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
function
|
|
273
|
-
wasm.
|
|
272
|
+
function __wbg_adapter_8(arg0, arg1, arg2) {
|
|
273
|
+
wasm.closure495_externref_shim(arg0, arg1, arg2);
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
function __wbg_adapter_269(arg0, arg1, arg2, arg3) {
|
|
277
|
-
wasm.
|
|
277
|
+
wasm.closure652_externref_shim(arg0, arg1, arg2, arg3);
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -3463,12 +3463,6 @@ export function __wbindgen_cast_25a0a844437d0e92(arg0, arg1) {
|
|
|
3463
3463
|
return ret;
|
|
3464
3464
|
};
|
|
3465
3465
|
|
|
3466
|
-
export function __wbindgen_cast_765539bff8e964d4(arg0, arg1) {
|
|
3467
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 492, function: Function { arguments: [Externref], shim_idx: 493, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3468
|
-
const ret = makeMutClosure(arg0, arg1, 492, __wbg_adapter_6);
|
|
3469
|
-
return ret;
|
|
3470
|
-
};
|
|
3471
|
-
|
|
3472
3466
|
export function __wbindgen_cast_ae91babfc5c19b28(arg0, arg1) {
|
|
3473
3467
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3474
3468
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -3483,6 +3477,12 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
|
3483
3477
|
return ret;
|
|
3484
3478
|
};
|
|
3485
3479
|
|
|
3480
|
+
export function __wbindgen_cast_cc3b8fd244091a64(arg0, arg1) {
|
|
3481
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 494, function: Function { arguments: [Externref], shim_idx: 495, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3482
|
+
const ret = makeMutClosure(arg0, arg1, 494, __wbg_adapter_8);
|
|
3483
|
+
return ret;
|
|
3484
|
+
};
|
|
3485
|
+
|
|
3486
3486
|
export function __wbindgen_init_externref_table() {
|
|
3487
3487
|
const table = wasm.__wbindgen_export_2;
|
|
3488
3488
|
const offset = table.grow(4);
|
package/pkg/keyhive_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
6
|
+
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
4
7
|
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
5
8
|
export const keyhive_init: (a: number, b: number, c: any) => any;
|
|
6
9
|
export const keyhive_id: (a: number) => number;
|
|
@@ -33,27 +36,6 @@ export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
|
|
|
33
36
|
export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
|
|
34
37
|
export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
|
|
35
38
|
export const keyhive_whoami: (a: number) => number;
|
|
36
|
-
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
37
|
-
export const capability_who: (a: number) => number;
|
|
38
|
-
export const capability_can: (a: number) => number;
|
|
39
|
-
export const capability_proof: (a: number) => number;
|
|
40
|
-
export const __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
41
|
-
export const simplecapability_who: (a: number) => number;
|
|
42
|
-
export const simplecapability_can: (a: number) => number;
|
|
43
|
-
export const __wbg_group_free: (a: number, b: number) => void;
|
|
44
|
-
export const group_id: (a: number) => number;
|
|
45
|
-
export const group_groupId: (a: number) => number;
|
|
46
|
-
export const group_members: (a: number) => [number, number];
|
|
47
|
-
export const group_toPeer: (a: number) => number;
|
|
48
|
-
export const group_toAgent: (a: number) => number;
|
|
49
|
-
export const group_toMembered: (a: number) => number;
|
|
50
|
-
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
51
|
-
export const individual_toPeer: (a: number) => number;
|
|
52
|
-
export const individual_toAgent: (a: number) => number;
|
|
53
|
-
export const individual_id: (a: number) => number;
|
|
54
|
-
export const individual_individualId: (a: number) => number;
|
|
55
|
-
export const individual_pickPrekey: (a: number, b: number) => number;
|
|
56
|
-
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
57
39
|
export const __wbg_addmembererror_free: (a: number, b: number) => void;
|
|
58
40
|
export const addmembererror_message: (a: number) => [number, number];
|
|
59
41
|
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
@@ -173,31 +155,49 @@ export const generatewebcryptoerror_message: (a: number) => [number, number];
|
|
|
173
155
|
export const __wbg_signingerror_free: (a: number, b: number) => void;
|
|
174
156
|
export const signingerror_message: (a: number) => [number, number];
|
|
175
157
|
export const encrypted_toBytes: (a: number) => [number, number];
|
|
176
|
-
export const
|
|
177
|
-
export const
|
|
178
|
-
export const
|
|
179
|
-
export const
|
|
180
|
-
export const
|
|
158
|
+
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
159
|
+
export const capability_who: (a: number) => number;
|
|
160
|
+
export const capability_can: (a: number) => number;
|
|
161
|
+
export const capability_proof: (a: number) => number;
|
|
162
|
+
export const __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
163
|
+
export const simplecapability_who: (a: number) => number;
|
|
164
|
+
export const simplecapability_can: (a: number) => number;
|
|
181
165
|
export const __wbg_document_free: (a: number, b: number) => void;
|
|
182
166
|
export const document_id: (a: number) => number;
|
|
183
167
|
export const document_doc_id: (a: number) => number;
|
|
184
168
|
export const document_toPeer: (a: number) => number;
|
|
185
169
|
export const document_toAgent: (a: number) => number;
|
|
186
170
|
export const document_toMembered: (a: number) => number;
|
|
187
|
-
export const
|
|
188
|
-
export const
|
|
189
|
-
export const
|
|
171
|
+
export const __wbg_group_free: (a: number, b: number) => void;
|
|
172
|
+
export const group_id: (a: number) => number;
|
|
173
|
+
export const group_groupId: (a: number) => number;
|
|
174
|
+
export const group_members: (a: number) => [number, number];
|
|
175
|
+
export const group_toPeer: (a: number) => number;
|
|
176
|
+
export const group_toAgent: (a: number) => number;
|
|
177
|
+
export const group_toMembered: (a: number) => number;
|
|
178
|
+
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
179
|
+
export const individual_toPeer: (a: number) => number;
|
|
180
|
+
export const individual_toAgent: (a: number) => number;
|
|
181
|
+
export const individual_id: (a: number) => number;
|
|
182
|
+
export const individual_individualId: (a: number) => number;
|
|
183
|
+
export const individual_pickPrekey: (a: number, b: number) => number;
|
|
184
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
185
|
+
export const setPanicHook: () => void;
|
|
186
|
+
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
187
|
+
export const cgkaoperation_variant: (a: number) => [number, number];
|
|
188
|
+
export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
189
|
+
export const groupid_toString: (a: number) => [number, number];
|
|
190
190
|
export const __wbg_history_free: (a: number, b: number) => void;
|
|
191
191
|
export const history_delegations: (a: number) => [number, number];
|
|
192
192
|
export const history_revocations: (a: number) => [number, number];
|
|
193
193
|
export const history_contentRefs: (a: number) => [number, number];
|
|
194
|
+
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
195
|
+
export const individualid_bytes: (a: number) => [number, number];
|
|
194
196
|
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
195
197
|
export const revocation_subject_id: (a: number) => number;
|
|
196
198
|
export const revocation_revoked: (a: number) => number;
|
|
197
199
|
export const revocation_proof: (a: number) => number;
|
|
198
200
|
export const revocation_after: (a: number) => number;
|
|
199
|
-
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
200
|
-
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
201
201
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
202
202
|
export const __externref_table_alloc: () => number;
|
|
203
203
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
@@ -207,6 +207,6 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
207
207
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
208
208
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
209
209
|
export const __externref_table_dealloc: (a: number) => void;
|
|
210
|
-
export const
|
|
211
|
-
export const
|
|
210
|
+
export const closure495_externref_shim: (a: number, b: number, c: any) => void;
|
|
211
|
+
export const closure652_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
212
212
|
export const __wbindgen_start: () => void;
|
package/pkg-node/keyhive_wasm.js
CHANGED
|
@@ -259,12 +259,12 @@ exports.setPanicHook = function() {
|
|
|
259
259
|
wasm.setPanicHook();
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
function
|
|
263
|
-
wasm.
|
|
262
|
+
function __wbg_adapter_14(arg0, arg1, arg2) {
|
|
263
|
+
wasm.closure495_externref_shim(arg0, arg1, arg2);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
function __wbg_adapter_269(arg0, arg1, arg2, arg3) {
|
|
267
|
-
wasm.
|
|
267
|
+
wasm.closure652_externref_shim(arg0, arg1, arg2, arg3);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -3555,12 +3555,6 @@ exports.__wbindgen_cast_25a0a844437d0e92 = function(arg0, arg1) {
|
|
|
3555
3555
|
return ret;
|
|
3556
3556
|
};
|
|
3557
3557
|
|
|
3558
|
-
exports.__wbindgen_cast_765539bff8e964d4 = function(arg0, arg1) {
|
|
3559
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 492, function: Function { arguments: [Externref], shim_idx: 493, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3560
|
-
const ret = makeMutClosure(arg0, arg1, 492, __wbg_adapter_12);
|
|
3561
|
-
return ret;
|
|
3562
|
-
};
|
|
3563
|
-
|
|
3564
3558
|
exports.__wbindgen_cast_ae91babfc5c19b28 = function(arg0, arg1) {
|
|
3565
3559
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3566
3560
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -3575,6 +3569,12 @@ exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
|
3575
3569
|
return ret;
|
|
3576
3570
|
};
|
|
3577
3571
|
|
|
3572
|
+
exports.__wbindgen_cast_cc3b8fd244091a64 = function(arg0, arg1) {
|
|
3573
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 494, function: Function { arguments: [Externref], shim_idx: 495, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3574
|
+
const ret = makeMutClosure(arg0, arg1, 494, __wbg_adapter_14);
|
|
3575
|
+
return ret;
|
|
3576
|
+
};
|
|
3577
|
+
|
|
3578
3578
|
exports.__wbindgen_init_externref_table = function() {
|
|
3579
3579
|
const table = wasm.__wbindgen_export_2;
|
|
3580
3580
|
const offset = table.grow(4);
|
|
Binary file
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
6
|
+
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
4
7
|
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
5
8
|
export const keyhive_init: (a: number, b: number, c: any) => any;
|
|
6
9
|
export const keyhive_id: (a: number) => number;
|
|
@@ -33,27 +36,6 @@ export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
|
|
|
33
36
|
export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
|
|
34
37
|
export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
|
|
35
38
|
export const keyhive_whoami: (a: number) => number;
|
|
36
|
-
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
37
|
-
export const capability_who: (a: number) => number;
|
|
38
|
-
export const capability_can: (a: number) => number;
|
|
39
|
-
export const capability_proof: (a: number) => number;
|
|
40
|
-
export const __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
41
|
-
export const simplecapability_who: (a: number) => number;
|
|
42
|
-
export const simplecapability_can: (a: number) => number;
|
|
43
|
-
export const __wbg_group_free: (a: number, b: number) => void;
|
|
44
|
-
export const group_id: (a: number) => number;
|
|
45
|
-
export const group_groupId: (a: number) => number;
|
|
46
|
-
export const group_members: (a: number) => [number, number];
|
|
47
|
-
export const group_toPeer: (a: number) => number;
|
|
48
|
-
export const group_toAgent: (a: number) => number;
|
|
49
|
-
export const group_toMembered: (a: number) => number;
|
|
50
|
-
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
51
|
-
export const individual_toPeer: (a: number) => number;
|
|
52
|
-
export const individual_toAgent: (a: number) => number;
|
|
53
|
-
export const individual_id: (a: number) => number;
|
|
54
|
-
export const individual_individualId: (a: number) => number;
|
|
55
|
-
export const individual_pickPrekey: (a: number, b: number) => number;
|
|
56
|
-
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
57
39
|
export const __wbg_addmembererror_free: (a: number, b: number) => void;
|
|
58
40
|
export const addmembererror_message: (a: number) => [number, number];
|
|
59
41
|
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
@@ -173,31 +155,49 @@ export const generatewebcryptoerror_message: (a: number) => [number, number];
|
|
|
173
155
|
export const __wbg_signingerror_free: (a: number, b: number) => void;
|
|
174
156
|
export const signingerror_message: (a: number) => [number, number];
|
|
175
157
|
export const encrypted_toBytes: (a: number) => [number, number];
|
|
176
|
-
export const
|
|
177
|
-
export const
|
|
178
|
-
export const
|
|
179
|
-
export const
|
|
180
|
-
export const
|
|
158
|
+
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
159
|
+
export const capability_who: (a: number) => number;
|
|
160
|
+
export const capability_can: (a: number) => number;
|
|
161
|
+
export const capability_proof: (a: number) => number;
|
|
162
|
+
export const __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
163
|
+
export const simplecapability_who: (a: number) => number;
|
|
164
|
+
export const simplecapability_can: (a: number) => number;
|
|
181
165
|
export const __wbg_document_free: (a: number, b: number) => void;
|
|
182
166
|
export const document_id: (a: number) => number;
|
|
183
167
|
export const document_doc_id: (a: number) => number;
|
|
184
168
|
export const document_toPeer: (a: number) => number;
|
|
185
169
|
export const document_toAgent: (a: number) => number;
|
|
186
170
|
export const document_toMembered: (a: number) => number;
|
|
187
|
-
export const
|
|
188
|
-
export const
|
|
189
|
-
export const
|
|
171
|
+
export const __wbg_group_free: (a: number, b: number) => void;
|
|
172
|
+
export const group_id: (a: number) => number;
|
|
173
|
+
export const group_groupId: (a: number) => number;
|
|
174
|
+
export const group_members: (a: number) => [number, number];
|
|
175
|
+
export const group_toPeer: (a: number) => number;
|
|
176
|
+
export const group_toAgent: (a: number) => number;
|
|
177
|
+
export const group_toMembered: (a: number) => number;
|
|
178
|
+
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
179
|
+
export const individual_toPeer: (a: number) => number;
|
|
180
|
+
export const individual_toAgent: (a: number) => number;
|
|
181
|
+
export const individual_id: (a: number) => number;
|
|
182
|
+
export const individual_individualId: (a: number) => number;
|
|
183
|
+
export const individual_pickPrekey: (a: number, b: number) => number;
|
|
184
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
185
|
+
export const setPanicHook: () => void;
|
|
186
|
+
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
187
|
+
export const cgkaoperation_variant: (a: number) => [number, number];
|
|
188
|
+
export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
189
|
+
export const groupid_toString: (a: number) => [number, number];
|
|
190
190
|
export const __wbg_history_free: (a: number, b: number) => void;
|
|
191
191
|
export const history_delegations: (a: number) => [number, number];
|
|
192
192
|
export const history_revocations: (a: number) => [number, number];
|
|
193
193
|
export const history_contentRefs: (a: number) => [number, number];
|
|
194
|
+
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
195
|
+
export const individualid_bytes: (a: number) => [number, number];
|
|
194
196
|
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
195
197
|
export const revocation_subject_id: (a: number) => number;
|
|
196
198
|
export const revocation_revoked: (a: number) => number;
|
|
197
199
|
export const revocation_proof: (a: number) => number;
|
|
198
200
|
export const revocation_after: (a: number) => number;
|
|
199
|
-
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
200
|
-
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
201
201
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
202
202
|
export const __externref_table_alloc: () => number;
|
|
203
203
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
@@ -207,6 +207,6 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
|
|
|
207
207
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
208
208
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
209
209
|
export const __externref_table_dealloc: (a: number) => void;
|
|
210
|
-
export const
|
|
211
|
-
export const
|
|
210
|
+
export const closure495_externref_shim: (a: number, b: number, c: any) => void;
|
|
211
|
+
export const closure652_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
212
212
|
export const __wbindgen_start: () => void;
|
|
@@ -407,6 +407,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
407
407
|
|
|
408
408
|
export interface InitOutput {
|
|
409
409
|
readonly memory: WebAssembly.Memory;
|
|
410
|
+
readonly __wbg_invocation_free: (a: number, b: number) => void;
|
|
411
|
+
readonly __wbg_membered_free: (a: number, b: number) => void;
|
|
412
|
+
readonly __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
410
413
|
readonly __wbg_keyhive_free: (a: number, b: number) => void;
|
|
411
414
|
readonly keyhive_init: (a: number, b: number, c: any) => any;
|
|
412
415
|
readonly keyhive_id: (a: number) => number;
|
|
@@ -439,27 +442,6 @@ export interface InitOutput {
|
|
|
439
442
|
readonly __wbg_jsdecrypterror_free: (a: number, b: number) => void;
|
|
440
443
|
readonly __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
|
|
441
444
|
readonly keyhive_whoami: (a: number) => number;
|
|
442
|
-
readonly __wbg_capability_free: (a: number, b: number) => void;
|
|
443
|
-
readonly capability_who: (a: number) => number;
|
|
444
|
-
readonly capability_can: (a: number) => number;
|
|
445
|
-
readonly capability_proof: (a: number) => number;
|
|
446
|
-
readonly __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
447
|
-
readonly simplecapability_who: (a: number) => number;
|
|
448
|
-
readonly simplecapability_can: (a: number) => number;
|
|
449
|
-
readonly __wbg_group_free: (a: number, b: number) => void;
|
|
450
|
-
readonly group_id: (a: number) => number;
|
|
451
|
-
readonly group_groupId: (a: number) => number;
|
|
452
|
-
readonly group_members: (a: number) => [number, number];
|
|
453
|
-
readonly group_toPeer: (a: number) => number;
|
|
454
|
-
readonly group_toAgent: (a: number) => number;
|
|
455
|
-
readonly group_toMembered: (a: number) => number;
|
|
456
|
-
readonly __wbg_individual_free: (a: number, b: number) => void;
|
|
457
|
-
readonly individual_toPeer: (a: number) => number;
|
|
458
|
-
readonly individual_toAgent: (a: number) => number;
|
|
459
|
-
readonly individual_id: (a: number) => number;
|
|
460
|
-
readonly individual_individualId: (a: number) => number;
|
|
461
|
-
readonly individual_pickPrekey: (a: number, b: number) => number;
|
|
462
|
-
readonly __wbg_invocation_free: (a: number, b: number) => void;
|
|
463
445
|
readonly __wbg_addmembererror_free: (a: number, b: number) => void;
|
|
464
446
|
readonly addmembererror_message: (a: number) => [number, number];
|
|
465
447
|
readonly __wbg_agent_free: (a: number, b: number) => void;
|
|
@@ -579,31 +561,49 @@ export interface InitOutput {
|
|
|
579
561
|
readonly __wbg_signingerror_free: (a: number, b: number) => void;
|
|
580
562
|
readonly signingerror_message: (a: number) => [number, number];
|
|
581
563
|
readonly encrypted_toBytes: (a: number) => [number, number];
|
|
582
|
-
readonly
|
|
583
|
-
readonly
|
|
584
|
-
readonly
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
564
|
+
readonly __wbg_capability_free: (a: number, b: number) => void;
|
|
565
|
+
readonly capability_who: (a: number) => number;
|
|
566
|
+
readonly capability_can: (a: number) => number;
|
|
567
|
+
readonly capability_proof: (a: number) => number;
|
|
568
|
+
readonly __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
569
|
+
readonly simplecapability_who: (a: number) => number;
|
|
570
|
+
readonly simplecapability_can: (a: number) => number;
|
|
587
571
|
readonly __wbg_document_free: (a: number, b: number) => void;
|
|
588
572
|
readonly document_id: (a: number) => number;
|
|
589
573
|
readonly document_doc_id: (a: number) => number;
|
|
590
574
|
readonly document_toPeer: (a: number) => number;
|
|
591
575
|
readonly document_toAgent: (a: number) => number;
|
|
592
576
|
readonly document_toMembered: (a: number) => number;
|
|
593
|
-
readonly
|
|
594
|
-
readonly
|
|
595
|
-
readonly
|
|
577
|
+
readonly __wbg_group_free: (a: number, b: number) => void;
|
|
578
|
+
readonly group_id: (a: number) => number;
|
|
579
|
+
readonly group_groupId: (a: number) => number;
|
|
580
|
+
readonly group_members: (a: number) => [number, number];
|
|
581
|
+
readonly group_toPeer: (a: number) => number;
|
|
582
|
+
readonly group_toAgent: (a: number) => number;
|
|
583
|
+
readonly group_toMembered: (a: number) => number;
|
|
584
|
+
readonly __wbg_individual_free: (a: number, b: number) => void;
|
|
585
|
+
readonly individual_toPeer: (a: number) => number;
|
|
586
|
+
readonly individual_toAgent: (a: number) => number;
|
|
587
|
+
readonly individual_id: (a: number) => number;
|
|
588
|
+
readonly individual_individualId: (a: number) => number;
|
|
589
|
+
readonly individual_pickPrekey: (a: number, b: number) => number;
|
|
590
|
+
readonly __wbg_sharekey_free: (a: number, b: number) => void;
|
|
591
|
+
readonly setPanicHook: () => void;
|
|
592
|
+
readonly __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
593
|
+
readonly cgkaoperation_variant: (a: number) => [number, number];
|
|
594
|
+
readonly __wbg_groupid_free: (a: number, b: number) => void;
|
|
595
|
+
readonly groupid_toString: (a: number) => [number, number];
|
|
596
596
|
readonly __wbg_history_free: (a: number, b: number) => void;
|
|
597
597
|
readonly history_delegations: (a: number) => [number, number];
|
|
598
598
|
readonly history_revocations: (a: number) => [number, number];
|
|
599
599
|
readonly history_contentRefs: (a: number) => [number, number];
|
|
600
|
+
readonly __wbg_individualid_free: (a: number, b: number) => void;
|
|
601
|
+
readonly individualid_bytes: (a: number) => [number, number];
|
|
600
602
|
readonly __wbg_revocation_free: (a: number, b: number) => void;
|
|
601
603
|
readonly revocation_subject_id: (a: number) => number;
|
|
602
604
|
readonly revocation_revoked: (a: number) => number;
|
|
603
605
|
readonly revocation_proof: (a: number) => number;
|
|
604
606
|
readonly revocation_after: (a: number) => number;
|
|
605
|
-
readonly __wbg_sharekey_free: (a: number, b: number) => void;
|
|
606
|
-
readonly __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
607
607
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
608
608
|
readonly __externref_table_alloc: () => number;
|
|
609
609
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
|
@@ -613,8 +613,8 @@ export interface InitOutput {
|
|
|
613
613
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
614
614
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
615
615
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
616
|
-
readonly
|
|
617
|
-
readonly
|
|
616
|
+
readonly closure495_externref_shim: (a: number, b: number, c: any) => void;
|
|
617
|
+
readonly closure652_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
618
618
|
readonly __wbindgen_start: () => void;
|
|
619
619
|
}
|
|
620
620
|
|
package/pkg-slim/keyhive_wasm.js
CHANGED
|
@@ -266,11 +266,11 @@ export function setPanicHook() {
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
function __wbg_adapter_14(arg0, arg1, arg2) {
|
|
269
|
-
wasm.
|
|
269
|
+
wasm.closure495_externref_shim(arg0, arg1, arg2);
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
function __wbg_adapter_269(arg0, arg1, arg2, arg3) {
|
|
273
|
-
wasm.
|
|
273
|
+
wasm.closure652_externref_shim(arg0, arg1, arg2, arg3);
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -3420,11 +3420,6 @@ function __wbg_get_imports() {
|
|
|
3420
3420
|
const ret = v0;
|
|
3421
3421
|
return ret;
|
|
3422
3422
|
};
|
|
3423
|
-
imports.wbg.__wbindgen_cast_765539bff8e964d4 = function(arg0, arg1) {
|
|
3424
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 492, function: Function { arguments: [Externref], shim_idx: 493, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3425
|
-
const ret = makeMutClosure(arg0, arg1, 492, __wbg_adapter_14);
|
|
3426
|
-
return ret;
|
|
3427
|
-
};
|
|
3428
3423
|
imports.wbg.__wbindgen_cast_ae91babfc5c19b28 = function(arg0, arg1) {
|
|
3429
3424
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
3430
3425
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -3437,6 +3432,11 @@ function __wbg_get_imports() {
|
|
|
3437
3432
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
3438
3433
|
return ret;
|
|
3439
3434
|
};
|
|
3435
|
+
imports.wbg.__wbindgen_cast_cc3b8fd244091a64 = function(arg0, arg1) {
|
|
3436
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 494, function: Function { arguments: [Externref], shim_idx: 495, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3437
|
+
const ret = makeMutClosure(arg0, arg1, 494, __wbg_adapter_14);
|
|
3438
|
+
return ret;
|
|
3439
|
+
};
|
|
3440
3440
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
3441
3441
|
const table = wasm.__wbindgen_export_2;
|
|
3442
3442
|
const offset = table.grow(4);
|
|
Binary file
|