@keyhive/keyhive 0.0.0-alpha.10 → 0.0.0-alpha.11
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 +22 -114
- package/pkg/keyhive_wasm_bg.wasm +0 -0
- package/pkg/keyhive_wasm_bg.wasm.d.ts +131 -131
- package/pkg-node/keyhive_wasm.js +22 -114
- package/pkg-node/keyhive_wasm_bg.wasm +0 -0
- package/pkg-node/keyhive_wasm_bg.wasm.d.ts +131 -131
- package/pkg-slim/keyhive_wasm.d.ts +131 -131
- package/pkg-slim/keyhive_wasm.js +22 -107
- 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 +131 -131
package/package.json
CHANGED
package/pkg/keyhive_wasm_bg.js
CHANGED
|
@@ -231,22 +231,6 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
231
231
|
return real;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
function _assertClass(instance, klass) {
|
|
235
|
-
if (!(instance instanceof klass)) {
|
|
236
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
241
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
242
|
-
for (let i = 0; i < array.length; i++) {
|
|
243
|
-
const add = addToExternrefTable0(array[i]);
|
|
244
|
-
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
245
|
-
}
|
|
246
|
-
WASM_VECTOR_LEN = array.length;
|
|
247
|
-
return ptr;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
234
|
function passArray8ToWasm0(arg, malloc) {
|
|
251
235
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
252
236
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -259,6 +243,12 @@ function takeFromExternrefTable0(idx) {
|
|
|
259
243
|
wasm.__externref_table_dealloc(idx);
|
|
260
244
|
return value;
|
|
261
245
|
}
|
|
246
|
+
|
|
247
|
+
function _assertClass(instance, klass) {
|
|
248
|
+
if (!(instance instanceof klass)) {
|
|
249
|
+
throw new Error(`expected instance of ${klass.name}`);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
262
252
|
/**
|
|
263
253
|
* Panic hook lets us get better error messages if our Rust code ever panics.
|
|
264
254
|
*
|
|
@@ -269,12 +259,21 @@ export function setPanicHook() {
|
|
|
269
259
|
wasm.setPanicHook();
|
|
270
260
|
}
|
|
271
261
|
|
|
262
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
263
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
264
|
+
for (let i = 0; i < array.length; i++) {
|
|
265
|
+
const add = addToExternrefTable0(array[i]);
|
|
266
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
267
|
+
}
|
|
268
|
+
WASM_VECTOR_LEN = array.length;
|
|
269
|
+
return ptr;
|
|
270
|
+
}
|
|
272
271
|
function __wbg_adapter_14(arg0, arg1, arg2) {
|
|
273
|
-
wasm.
|
|
272
|
+
wasm.closure439_externref_shim(arg0, arg1, arg2);
|
|
274
273
|
}
|
|
275
274
|
|
|
276
|
-
function
|
|
277
|
-
wasm.
|
|
275
|
+
function __wbg_adapter_259(arg0, arg1, arg2, arg3) {
|
|
276
|
+
wasm.closure584_externref_shim(arg0, arg1, arg2, arg3);
|
|
278
277
|
}
|
|
279
278
|
|
|
280
279
|
const AccessFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -336,14 +335,6 @@ const AddMemberErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
336
335
|
|
|
337
336
|
export class AddMemberError {
|
|
338
337
|
|
|
339
|
-
static __wrap(ptr) {
|
|
340
|
-
ptr = ptr >>> 0;
|
|
341
|
-
const obj = Object.create(AddMemberError.prototype);
|
|
342
|
-
obj.__wbg_ptr = ptr;
|
|
343
|
-
AddMemberErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
344
|
-
return obj;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
338
|
__destroy_into_raw() {
|
|
348
339
|
const ptr = this.__wbg_ptr;
|
|
349
340
|
this.__wbg_ptr = 0;
|
|
@@ -1334,14 +1325,6 @@ const GenerateDocErrorFinalization = (typeof FinalizationRegistry === 'undefined
|
|
|
1334
1325
|
|
|
1335
1326
|
export class GenerateDocError {
|
|
1336
1327
|
|
|
1337
|
-
static __wrap(ptr) {
|
|
1338
|
-
ptr = ptr >>> 0;
|
|
1339
|
-
const obj = Object.create(GenerateDocError.prototype);
|
|
1340
|
-
obj.__wbg_ptr = ptr;
|
|
1341
|
-
GenerateDocErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1342
|
-
return obj;
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
1328
|
__destroy_into_raw() {
|
|
1346
1329
|
const ptr = this.__wbg_ptr;
|
|
1347
1330
|
this.__wbg_ptr = 0;
|
|
@@ -1799,14 +1782,6 @@ const JsDecryptErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
1799
1782
|
|
|
1800
1783
|
export class JsDecryptError {
|
|
1801
1784
|
|
|
1802
|
-
static __wrap(ptr) {
|
|
1803
|
-
ptr = ptr >>> 0;
|
|
1804
|
-
const obj = Object.create(JsDecryptError.prototype);
|
|
1805
|
-
obj.__wbg_ptr = ptr;
|
|
1806
|
-
JsDecryptErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1807
|
-
return obj;
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
1785
|
__destroy_into_raw() {
|
|
1811
1786
|
const ptr = this.__wbg_ptr;
|
|
1812
1787
|
this.__wbg_ptr = 0;
|
|
@@ -1827,14 +1802,6 @@ const JsEncryptErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
1827
1802
|
|
|
1828
1803
|
export class JsEncryptError {
|
|
1829
1804
|
|
|
1830
|
-
static __wrap(ptr) {
|
|
1831
|
-
ptr = ptr >>> 0;
|
|
1832
|
-
const obj = Object.create(JsEncryptError.prototype);
|
|
1833
|
-
obj.__wbg_ptr = ptr;
|
|
1834
|
-
JsEncryptErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1835
|
-
return obj;
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
1805
|
__destroy_into_raw() {
|
|
1839
1806
|
const ptr = this.__wbg_ptr;
|
|
1840
1807
|
this.__wbg_ptr = 0;
|
|
@@ -1855,14 +1822,6 @@ const JsReceivePreKeyOpErrorFinalization = (typeof FinalizationRegistry === 'und
|
|
|
1855
1822
|
|
|
1856
1823
|
export class JsReceivePreKeyOpError {
|
|
1857
1824
|
|
|
1858
|
-
static __wrap(ptr) {
|
|
1859
|
-
ptr = ptr >>> 0;
|
|
1860
|
-
const obj = Object.create(JsReceivePreKeyOpError.prototype);
|
|
1861
|
-
obj.__wbg_ptr = ptr;
|
|
1862
|
-
JsReceivePreKeyOpErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1863
|
-
return obj;
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
1825
|
__destroy_into_raw() {
|
|
1867
1826
|
const ptr = this.__wbg_ptr;
|
|
1868
1827
|
this.__wbg_ptr = 0;
|
|
@@ -1883,14 +1842,6 @@ const JsReceiveStaticEventErrorFinalization = (typeof FinalizationRegistry === '
|
|
|
1883
1842
|
|
|
1884
1843
|
export class JsReceiveStaticEventError {
|
|
1885
1844
|
|
|
1886
|
-
static __wrap(ptr) {
|
|
1887
|
-
ptr = ptr >>> 0;
|
|
1888
|
-
const obj = Object.create(JsReceiveStaticEventError.prototype);
|
|
1889
|
-
obj.__wbg_ptr = ptr;
|
|
1890
|
-
JsReceiveStaticEventErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1891
|
-
return obj;
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
1845
|
__destroy_into_raw() {
|
|
1895
1846
|
const ptr = this.__wbg_ptr;
|
|
1896
1847
|
this.__wbg_ptr = 0;
|
|
@@ -2407,14 +2358,6 @@ const RevokeMemberErrorFinalization = (typeof FinalizationRegistry === 'undefine
|
|
|
2407
2358
|
|
|
2408
2359
|
export class RevokeMemberError {
|
|
2409
2360
|
|
|
2410
|
-
static __wrap(ptr) {
|
|
2411
|
-
ptr = ptr >>> 0;
|
|
2412
|
-
const obj = Object.create(RevokeMemberError.prototype);
|
|
2413
|
-
obj.__wbg_ptr = ptr;
|
|
2414
|
-
RevokeMemberErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
2415
|
-
return obj;
|
|
2416
|
-
}
|
|
2417
|
-
|
|
2418
2361
|
__destroy_into_raw() {
|
|
2419
2362
|
const ptr = this.__wbg_ptr;
|
|
2420
2363
|
this.__wbg_ptr = 0;
|
|
@@ -3068,11 +3011,6 @@ export function __wbg_Error_e17e777aac105295(arg0, arg1) {
|
|
|
3068
3011
|
return ret;
|
|
3069
3012
|
};
|
|
3070
3013
|
|
|
3071
|
-
export function __wbg_addmembererror_new(arg0) {
|
|
3072
|
-
const ret = AddMemberError.__wrap(arg0);
|
|
3073
|
-
return ret;
|
|
3074
|
-
};
|
|
3075
|
-
|
|
3076
3014
|
export function __wbg_call_13410aac570ffff7() { return handleError(function (arg0, arg1) {
|
|
3077
3015
|
const ret = arg0.call(arg1);
|
|
3078
3016
|
return ret;
|
|
@@ -3165,11 +3103,6 @@ export function __wbg_generateKey_b8902ccb0e50ff4e() { return handleError(functi
|
|
|
3165
3103
|
return ret;
|
|
3166
3104
|
}, arguments) };
|
|
3167
3105
|
|
|
3168
|
-
export function __wbg_generatedocerror_new(arg0) {
|
|
3169
|
-
const ret = GenerateDocError.__wrap(arg0);
|
|
3170
|
-
return ret;
|
|
3171
|
-
};
|
|
3172
|
-
|
|
3173
3106
|
export function __wbg_generatewebcryptoerror_new(arg0) {
|
|
3174
3107
|
const ret = GenerateWebCryptoError.__wrap(arg0);
|
|
3175
3108
|
return ret;
|
|
@@ -3210,26 +3143,6 @@ export function __wbg_instanceof_Crypto_33ac2d91cca59233(arg0) {
|
|
|
3210
3143
|
return ret;
|
|
3211
3144
|
};
|
|
3212
3145
|
|
|
3213
|
-
export function __wbg_jsdecrypterror_new(arg0) {
|
|
3214
|
-
const ret = JsDecryptError.__wrap(arg0);
|
|
3215
|
-
return ret;
|
|
3216
|
-
};
|
|
3217
|
-
|
|
3218
|
-
export function __wbg_jsencrypterror_new(arg0) {
|
|
3219
|
-
const ret = JsEncryptError.__wrap(arg0);
|
|
3220
|
-
return ret;
|
|
3221
|
-
};
|
|
3222
|
-
|
|
3223
|
-
export function __wbg_jsreceiveprekeyoperror_new(arg0) {
|
|
3224
|
-
const ret = JsReceivePreKeyOpError.__wrap(arg0);
|
|
3225
|
-
return ret;
|
|
3226
|
-
};
|
|
3227
|
-
|
|
3228
|
-
export function __wbg_jsreceivestaticeventerror_new(arg0) {
|
|
3229
|
-
const ret = JsReceiveStaticEventError.__wrap(arg0);
|
|
3230
|
-
return ret;
|
|
3231
|
-
};
|
|
3232
|
-
|
|
3233
3146
|
export function __wbg_keyhive_new(arg0) {
|
|
3234
3147
|
const ret = Keyhive.__wrap(arg0);
|
|
3235
3148
|
return ret;
|
|
@@ -3252,7 +3165,7 @@ export function __wbg_new_2e3c58a15f39f5f9(arg0, arg1) {
|
|
|
3252
3165
|
const a = state0.a;
|
|
3253
3166
|
state0.a = 0;
|
|
3254
3167
|
try {
|
|
3255
|
-
return
|
|
3168
|
+
return __wbg_adapter_259(a, state0.b, arg0, arg1);
|
|
3256
3169
|
} finally {
|
|
3257
3170
|
state0.a = a;
|
|
3258
3171
|
}
|
|
@@ -3326,11 +3239,6 @@ export function __wbg_resolve_4055c623acdd6a1b(arg0) {
|
|
|
3326
3239
|
return ret;
|
|
3327
3240
|
};
|
|
3328
3241
|
|
|
3329
|
-
export function __wbg_revokemembererror_new(arg0) {
|
|
3330
|
-
const ret = RevokeMemberError.__wrap(arg0);
|
|
3331
|
-
return ret;
|
|
3332
|
-
};
|
|
3333
|
-
|
|
3334
3242
|
export function __wbg_serializationerror_new(arg0) {
|
|
3335
3243
|
const ret = SerializationError.__wrap(arg0);
|
|
3336
3244
|
return ret;
|
|
@@ -3496,9 +3404,9 @@ export function __wbindgen_cast_25a0a844437d0e92(arg0, arg1) {
|
|
|
3496
3404
|
return ret;
|
|
3497
3405
|
};
|
|
3498
3406
|
|
|
3499
|
-
export function
|
|
3500
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3501
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3407
|
+
export function __wbindgen_cast_499dd6f9d0cae433(arg0, arg1) {
|
|
3408
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 438, function: Function { arguments: [Externref], shim_idx: 439, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3409
|
+
const ret = makeMutClosure(arg0, arg1, 438, __wbg_adapter_14);
|
|
3502
3410
|
return ret;
|
|
3503
3411
|
};
|
|
3504
3412
|
|
package/pkg/keyhive_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,43 +1,61 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
16
|
-
export const
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
28
|
-
export const
|
|
29
|
-
export const
|
|
30
|
-
export const
|
|
31
|
-
export const
|
|
32
|
-
export const
|
|
33
|
-
export const
|
|
34
|
-
export const
|
|
35
|
-
export const
|
|
36
|
-
export const
|
|
37
|
-
export const
|
|
38
|
-
export const
|
|
39
|
-
export const
|
|
40
|
-
export const
|
|
4
|
+
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
5
|
+
export const agent_toString: (a: number) => [number, number];
|
|
6
|
+
export const agent_isIndividual: (a: number) => number;
|
|
7
|
+
export const agent_isGroup: (a: number) => number;
|
|
8
|
+
export const agent_isDocument: (a: number) => number;
|
|
9
|
+
export const agent_id: (a: number) => number;
|
|
10
|
+
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
11
|
+
export const capability_who: (a: number) => number;
|
|
12
|
+
export const capability_can: (a: number) => number;
|
|
13
|
+
export const capability_proof: (a: number) => number;
|
|
14
|
+
export const __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
15
|
+
export const simplecapability_who: (a: number) => number;
|
|
16
|
+
export const simplecapability_can: (a: number) => number;
|
|
17
|
+
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
18
|
+
export const delegation_delegate: (a: number) => number;
|
|
19
|
+
export const delegation_can: (a: number) => number;
|
|
20
|
+
export const delegation_proof: (a: number) => number;
|
|
21
|
+
export const delegation_after: (a: number) => number;
|
|
22
|
+
export const __wbg_delegationerror_free: (a: number, b: number) => void;
|
|
23
|
+
export const __wbg_document_free: (a: number, b: number) => void;
|
|
24
|
+
export const document_id: (a: number) => number;
|
|
25
|
+
export const document_doc_id: (a: number) => number;
|
|
26
|
+
export const document_toPeer: (a: number) => number;
|
|
27
|
+
export const document_toAgent: (a: number) => number;
|
|
28
|
+
export const document_toMembered: (a: number) => number;
|
|
29
|
+
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
30
|
+
export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
31
|
+
export const encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
32
|
+
export const __wbg_peer_free: (a: number, b: number) => void;
|
|
33
|
+
export const peer_toString: (a: number) => [number, number];
|
|
34
|
+
export const peer_isIndividual: (a: number) => number;
|
|
35
|
+
export const peer_isGroup: (a: number) => number;
|
|
36
|
+
export const peer_isDocument: (a: number) => number;
|
|
37
|
+
export const __wbg_signed_free: (a: number, b: number) => void;
|
|
38
|
+
export const signed_fromBytes: (a: number, b: number) => number;
|
|
39
|
+
export const signed_toBytes: (a: number) => [number, number];
|
|
40
|
+
export const signed_verify: (a: number) => number;
|
|
41
|
+
export const signed_payload: (a: number) => [number, number];
|
|
42
|
+
export const signed_verifyingKey: (a: number) => [number, number];
|
|
43
|
+
export const signed_signature: (a: number) => [number, number];
|
|
44
|
+
export const __wbg_signedcgkaoperation_free: (a: number, b: number) => void;
|
|
45
|
+
export const signedcgkaoperation_verify: (a: number) => number;
|
|
46
|
+
export const signedcgkaoperation_delegation: (a: number) => number;
|
|
47
|
+
export const signedcgkaoperation_verifyingKey: (a: number) => [number, number];
|
|
48
|
+
export const signedcgkaoperation_signature: (a: number) => [number, number];
|
|
49
|
+
export const __wbg_signeddelegation_free: (a: number, b: number) => void;
|
|
50
|
+
export const signeddelegation_verify: (a: number) => number;
|
|
51
|
+
export const signeddelegation_delegation: (a: number) => number;
|
|
52
|
+
export const signeddelegation_verifyingKey: (a: number) => [number, number];
|
|
53
|
+
export const signeddelegation_signature: (a: number) => [number, number];
|
|
54
|
+
export const __wbg_signedrevocation_free: (a: number, b: number) => void;
|
|
55
|
+
export const signedrevocation_verify: (a: number) => number;
|
|
56
|
+
export const signedrevocation_delegation: (a: number) => number;
|
|
57
|
+
export const signedrevocation_verifyingKey: (a: number) => [number, number];
|
|
58
|
+
export const signedrevocation_signature: (a: number) => [number, number];
|
|
41
59
|
export const __wbg_archive_free: (a: number, b: number) => void;
|
|
42
60
|
export const archive_try_from_bytes: (a: number, b: number) => [number, number, number];
|
|
43
61
|
export const archive_toBytes: (a: number) => [number, number, number, number];
|
|
@@ -46,13 +64,17 @@ export const __wbg_tryfromarchiveerror_free: (a: number, b: number) => void;
|
|
|
46
64
|
export const tryfromarchiveerror_toError: (a: number) => any;
|
|
47
65
|
export const __wbg_serializationerror_free: (a: number, b: number) => void;
|
|
48
66
|
export const serializationerror_toError: (a: number) => any;
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
export const
|
|
55
|
-
export const
|
|
67
|
+
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
68
|
+
export const individual_toPeer: (a: number) => number;
|
|
69
|
+
export const individual_toAgent: (a: number) => number;
|
|
70
|
+
export const individual_id: (a: number) => number;
|
|
71
|
+
export const individual_individualId: (a: number) => number;
|
|
72
|
+
export const individual_pickPrekey: (a: number, b: number) => number;
|
|
73
|
+
export const __wbg_changeref_free: (a: number, b: number) => void;
|
|
74
|
+
export const changeref_new: (a: number, b: number) => number;
|
|
75
|
+
export const changeref_bytes: (a: number) => [number, number];
|
|
76
|
+
export const __wbg_individualid_free: (a: number, b: number) => void;
|
|
77
|
+
export const individualid_bytes: (a: number) => [number, number];
|
|
56
78
|
export const __wbg_addmembererror_free: (a: number, b: number) => void;
|
|
57
79
|
export const addmembererror_message: (a: number) => [number, number];
|
|
58
80
|
export const __wbg_cgkaoperation_free: (a: number, b: number) => void;
|
|
@@ -69,29 +91,22 @@ export const contactcard_shareKey: (a: number) => number;
|
|
|
69
91
|
export const contactcard_signature: (a: number) => [number, number];
|
|
70
92
|
export const contactcard_fromJson: (a: number, b: number) => [number, number, number];
|
|
71
93
|
export const contactcard_toJson: (a: number) => [number, number, number, number];
|
|
72
|
-
export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
73
|
-
export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
|
|
74
|
-
export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
|
|
75
|
-
export const doccontentrefs_docId: (a: number) => number;
|
|
76
|
-
export const doccontentrefs_change_hashes: (a: number) => [number, number];
|
|
77
94
|
export const __wbg_documentid_free: (a: number, b: number) => void;
|
|
78
95
|
export const documentid_new: (a: number, b: number) => [number, number, number];
|
|
79
96
|
export const documentid_toString: (a: number) => [number, number];
|
|
80
97
|
export const documentid_toJsValue: (a: number) => any;
|
|
81
98
|
export const documentid_toBytes: (a: number) => [number, number];
|
|
99
|
+
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
100
|
+
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
101
|
+
export const encrypted_nonce: (a: number) => [number, number];
|
|
102
|
+
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
103
|
+
export const encrypted_content_ref: (a: number) => [number, number];
|
|
104
|
+
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
82
105
|
export const __wbg_groupid_free: (a: number, b: number) => void;
|
|
83
106
|
export const groupid_toString: (a: number) => [number, number];
|
|
84
107
|
export const __wbg_identifier_free: (a: number, b: number) => void;
|
|
85
108
|
export const identifier_toBytes: (a: number) => [number, number];
|
|
86
109
|
export const __wbg_cannotparseidentifier_free: (a: number, b: number) => void;
|
|
87
|
-
export const __wbg_individual_free: (a: number, b: number) => void;
|
|
88
|
-
export const individual_toPeer: (a: number) => number;
|
|
89
|
-
export const individual_toAgent: (a: number) => number;
|
|
90
|
-
export const individual_id: (a: number) => number;
|
|
91
|
-
export const individual_individualId: (a: number) => number;
|
|
92
|
-
export const individual_pickPrekey: (a: number, b: number) => number;
|
|
93
|
-
export const __wbg_revokemembererror_free: (a: number, b: number) => void;
|
|
94
|
-
export const revokemembererror_message: (a: number) => [number, number];
|
|
95
110
|
export const __wbg_signer_free: (a: number, b: number) => void;
|
|
96
111
|
export const signer_generate: () => any;
|
|
97
112
|
export const signer_generateMemory: () => number;
|
|
@@ -107,6 +122,7 @@ export const __wbg_generatewebcryptoerror_free: (a: number, b: number) => void;
|
|
|
107
122
|
export const generatewebcryptoerror_message: (a: number) => [number, number];
|
|
108
123
|
export const __wbg_signingerror_free: (a: number, b: number) => void;
|
|
109
124
|
export const signingerror_message: (a: number) => [number, number];
|
|
125
|
+
export const encrypted_toBytes: (a: number) => [number, number];
|
|
110
126
|
export const identifier_new: (a: number, b: number) => [number, number, number];
|
|
111
127
|
export const __wbg_history_free: (a: number, b: number) => void;
|
|
112
128
|
export const history_delegations: (a: number) => [number, number];
|
|
@@ -114,90 +130,74 @@ export const history_revocations: (a: number) => [number, number];
|
|
|
114
130
|
export const history_contentRefs: (a: number) => [number, number];
|
|
115
131
|
export const __wbg_invocation_free: (a: number, b: number) => void;
|
|
116
132
|
export const __wbg_membered_free: (a: number, b: number) => void;
|
|
133
|
+
export const __wbg_sharekey_free: (a: number, b: number) => void;
|
|
134
|
+
export const __wbg_summary_free: (a: number, b: number) => void;
|
|
135
|
+
export const summary_doc: (a: number) => number;
|
|
136
|
+
export const summary_access: (a: number) => number;
|
|
137
|
+
export const __wbg_group_free: (a: number, b: number) => void;
|
|
138
|
+
export const group_id: (a: number) => number;
|
|
139
|
+
export const group_groupId: (a: number) => number;
|
|
140
|
+
export const group_members: (a: number) => [number, number];
|
|
141
|
+
export const group_toPeer: (a: number) => number;
|
|
142
|
+
export const group_toAgent: (a: number) => number;
|
|
143
|
+
export const group_toMembered: (a: number) => number;
|
|
144
|
+
export const setPanicHook: () => void;
|
|
145
|
+
export const __wbg_access_free: (a: number, b: number) => void;
|
|
146
|
+
export const access_tryFromString: (a: number, b: number) => number;
|
|
147
|
+
export const access_toString: (a: number) => [number, number];
|
|
148
|
+
export const __wbg_doccontentrefs_free: (a: number, b: number) => void;
|
|
149
|
+
export const doccontentrefs_new: (a: number, b: number, c: number) => [number, number, number];
|
|
150
|
+
export const doccontentrefs_addChangeRef: (a: number, b: number) => void;
|
|
151
|
+
export const doccontentrefs_docId: (a: number) => number;
|
|
152
|
+
export const doccontentrefs_change_hashes: (a: number) => [number, number];
|
|
153
|
+
export const __wbg_generatedocerror_free: (a: number, b: number) => void;
|
|
154
|
+
export const generatedocerror_message: (a: number) => [number, number];
|
|
117
155
|
export const __wbg_revocation_free: (a: number, b: number) => void;
|
|
118
156
|
export const revocation_subject_id: (a: number) => number;
|
|
119
157
|
export const revocation_revoked: (a: number) => number;
|
|
120
158
|
export const revocation_proof: (a: number) => number;
|
|
121
159
|
export const revocation_after: (a: number) => number;
|
|
122
|
-
export const
|
|
160
|
+
export const __wbg_revokemembererror_free: (a: number, b: number) => void;
|
|
161
|
+
export const revokemembererror_message: (a: number) => [number, number];
|
|
123
162
|
export const __wbg_signedinvocation_free: (a: number, b: number) => void;
|
|
124
|
-
export const setPanicHook: () => void;
|
|
125
|
-
export const __wbg_access_free: (a: number, b: number) => void;
|
|
126
|
-
export const access_tryFromString: (a: number, b: number) => number;
|
|
127
|
-
export const access_toString: (a: number) => [number, number];
|
|
128
|
-
export const __wbg_agent_free: (a: number, b: number) => void;
|
|
129
|
-
export const agent_toString: (a: number) => [number, number];
|
|
130
|
-
export const agent_isIndividual: (a: number) => number;
|
|
131
|
-
export const agent_isGroup: (a: number) => number;
|
|
132
|
-
export const agent_isDocument: (a: number) => number;
|
|
133
|
-
export const agent_id: (a: number) => number;
|
|
134
|
-
export const __wbg_capability_free: (a: number, b: number) => void;
|
|
135
|
-
export const capability_who: (a: number) => number;
|
|
136
|
-
export const capability_can: (a: number) => number;
|
|
137
|
-
export const capability_proof: (a: number) => number;
|
|
138
|
-
export const __wbg_simplecapability_free: (a: number, b: number) => void;
|
|
139
|
-
export const simplecapability_who: (a: number) => number;
|
|
140
|
-
export const simplecapability_can: (a: number) => number;
|
|
141
|
-
export const __wbg_delegation_free: (a: number, b: number) => void;
|
|
142
|
-
export const delegation_delegate: (a: number) => number;
|
|
143
|
-
export const delegation_can: (a: number) => number;
|
|
144
|
-
export const delegation_proof: (a: number) => number;
|
|
145
|
-
export const delegation_after: (a: number) => number;
|
|
146
|
-
export const __wbg_delegationerror_free: (a: number, b: number) => void;
|
|
147
|
-
export const __wbg_document_free: (a: number, b: number) => void;
|
|
148
|
-
export const document_id: (a: number) => number;
|
|
149
|
-
export const document_doc_id: (a: number) => number;
|
|
150
|
-
export const document_toPeer: (a: number) => number;
|
|
151
|
-
export const document_toAgent: (a: number) => number;
|
|
152
|
-
export const document_toMembered: (a: number) => number;
|
|
153
|
-
export const __wbg_encrypted_free: (a: number, b: number) => void;
|
|
154
|
-
export const encrypted_ciphertext: (a: number) => [number, number];
|
|
155
|
-
export const encrypted_nonce: (a: number) => [number, number];
|
|
156
|
-
export const encrypted_pcs_key_hash: (a: number) => [number, number];
|
|
157
|
-
export const encrypted_content_ref: (a: number) => [number, number];
|
|
158
|
-
export const encrypted_pred_refs: (a: number) => [number, number];
|
|
159
|
-
export const __wbg_encryptedcontentwithupdate_free: (a: number, b: number) => void;
|
|
160
|
-
export const encryptedcontentwithupdate_encrypted_content: (a: number) => number;
|
|
161
|
-
export const encryptedcontentwithupdate_update_op: (a: number) => number;
|
|
162
163
|
export const __wbg_event_free: (a: number, b: number) => void;
|
|
163
164
|
export const event_variant: (a: number) => [number, number];
|
|
164
165
|
export const event_isDelegated: (a: number) => number;
|
|
165
166
|
export const event_isRevoked: (a: number) => number;
|
|
166
167
|
export const event_tryIntoSignedDelegation: (a: number) => number;
|
|
167
168
|
export const event_tryIntoSignedRevocation: (a: number) => number;
|
|
168
|
-
export const
|
|
169
|
-
export const
|
|
170
|
-
export const
|
|
171
|
-
export const
|
|
172
|
-
export const
|
|
173
|
-
export const
|
|
174
|
-
export const
|
|
175
|
-
export const
|
|
176
|
-
export const
|
|
177
|
-
export const
|
|
178
|
-
export const
|
|
179
|
-
export const
|
|
180
|
-
export const
|
|
181
|
-
export const
|
|
182
|
-
export const
|
|
183
|
-
export const
|
|
184
|
-
export const
|
|
185
|
-
export const
|
|
186
|
-
export const
|
|
187
|
-
export const
|
|
188
|
-
export const
|
|
189
|
-
export const
|
|
190
|
-
export const
|
|
191
|
-
export const
|
|
192
|
-
export const
|
|
193
|
-
export const
|
|
194
|
-
export const
|
|
195
|
-
export const
|
|
196
|
-
export const
|
|
197
|
-
export const
|
|
198
|
-
export const
|
|
199
|
-
export const
|
|
200
|
-
export const encrypted_toBytes: (a: number) => [number, number];
|
|
169
|
+
export const __wbg_keyhive_free: (a: number, b: number) => void;
|
|
170
|
+
export const keyhive_init: (a: number, b: number, c: any) => any;
|
|
171
|
+
export const keyhive_id: (a: number) => number;
|
|
172
|
+
export const keyhive_individual: (a: number) => number;
|
|
173
|
+
export const keyhive_idString: (a: number) => [number, number];
|
|
174
|
+
export const keyhive_generateGroup: (a: number, b: number, c: number) => any;
|
|
175
|
+
export const keyhive_generateDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
176
|
+
export const keyhive_trySign: (a: number, b: number, c: number) => any;
|
|
177
|
+
export const keyhive_tryEncrypt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
178
|
+
export const keyhive_tryEncryptArchive: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
179
|
+
export const keyhive_tryDecrypt: (a: number, b: number, c: number) => [number, number, number, number];
|
|
180
|
+
export const keyhive_addMember: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
181
|
+
export const keyhive_revokeMember: (a: number, b: number, c: number, d: number) => any;
|
|
182
|
+
export const keyhive_reachableDocs: (a: number) => [number, number];
|
|
183
|
+
export const keyhive_forcePcsUpdate: (a: number, b: number) => any;
|
|
184
|
+
export const keyhive_rotatePrekey: (a: number, b: number) => any;
|
|
185
|
+
export const keyhive_expandPrekeys: (a: number) => any;
|
|
186
|
+
export const keyhive_contactCard: (a: number) => any;
|
|
187
|
+
export const keyhive_receiveContactCard: (a: number, b: number) => [number, number, number];
|
|
188
|
+
export const keyhive_getAgent: (a: number, b: number) => number;
|
|
189
|
+
export const keyhive_getGroup: (a: number, b: number) => number;
|
|
190
|
+
export const keyhive_getDocument: (a: number, b: number) => number;
|
|
191
|
+
export const keyhive_docMemberCapabilities: (a: number, b: number) => [number, number];
|
|
192
|
+
export const keyhive_accessForDoc: (a: number, b: number, c: number) => number;
|
|
193
|
+
export const keyhive_intoArchive: (a: number) => number;
|
|
194
|
+
export const keyhive_toArchive: (a: number) => number;
|
|
195
|
+
export const keyhive_ingestArchive: (a: number, b: number) => any;
|
|
196
|
+
export const __wbg_jsreceiveprekeyoperror_free: (a: number, b: number) => void;
|
|
197
|
+
export const __wbg_jsencrypterror_free: (a: number, b: number) => void;
|
|
198
|
+
export const __wbg_jsdecrypterror_free: (a: number, b: number) => void;
|
|
199
|
+
export const __wbg_jsreceivestaticeventerror_free: (a: number, b: number) => void;
|
|
200
|
+
export const keyhive_whoami: (a: number) => number;
|
|
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 closure439_externref_shim: (a: number, b: number, c: any) => void;
|
|
211
|
+
export const closure584_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
212
212
|
export const __wbindgen_start: () => void;
|