@bitwarden/sdk-internal 0.2.0-main.513 → 0.2.0-main.514
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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +479 -479
- package/bitwarden_wasm_internal_bg.js +92 -92
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +9 -9
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +479 -479
- package/node/bitwarden_wasm_internal.js +94 -94
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +6 -6
- package/package.json +1 -1
|
@@ -257,21 +257,31 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
257
257
|
return ptr;
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
|
-
*
|
|
260
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
261
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
261
262
|
*
|
|
262
263
|
* # Arguments
|
|
263
|
-
* - `
|
|
264
|
+
* - `imported_key` - The private key to convert
|
|
265
|
+
* - `password` - The password to use for decrypting the key
|
|
264
266
|
*
|
|
265
267
|
* # Returns
|
|
266
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
267
|
-
* - `Err(
|
|
268
|
-
*
|
|
268
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
269
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
270
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
271
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
272
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
273
|
+
* @param {string} imported_key
|
|
274
|
+
* @param {string | null} [password]
|
|
269
275
|
* @returns {SshKeyView}
|
|
270
276
|
*/
|
|
271
|
-
export function
|
|
277
|
+
export function import_ssh_key(imported_key, password) {
|
|
272
278
|
try {
|
|
273
279
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
274
|
-
wasm.
|
|
280
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
281
|
+
const len0 = WASM_VECTOR_LEN;
|
|
282
|
+
var ptr1 = isLikeNone(password) ? 0 : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
283
|
+
var len1 = WASM_VECTOR_LEN;
|
|
284
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
275
285
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
276
286
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
277
287
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -285,31 +295,21 @@ export function generate_ssh_key(key_algorithm) {
|
|
|
285
295
|
}
|
|
286
296
|
|
|
287
297
|
/**
|
|
288
|
-
*
|
|
289
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
298
|
+
* Generate a new SSH key pair
|
|
290
299
|
*
|
|
291
300
|
* # Arguments
|
|
292
|
-
* - `
|
|
293
|
-
* - `password` - The password to use for decrypting the key
|
|
301
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
294
302
|
*
|
|
295
303
|
* # Returns
|
|
296
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
297
|
-
* - `Err(
|
|
298
|
-
*
|
|
299
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
300
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
301
|
-
* @param {string} imported_key
|
|
302
|
-
* @param {string | null} [password]
|
|
304
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
305
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
306
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
303
307
|
* @returns {SshKeyView}
|
|
304
308
|
*/
|
|
305
|
-
export function
|
|
309
|
+
export function generate_ssh_key(key_algorithm) {
|
|
306
310
|
try {
|
|
307
311
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
308
|
-
|
|
309
|
-
const len0 = WASM_VECTOR_LEN;
|
|
310
|
-
var ptr1 = isLikeNone(password) ? 0 : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
311
|
-
var len1 = WASM_VECTOR_LEN;
|
|
312
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
312
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
313
313
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
314
314
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
315
315
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -392,9 +392,9 @@ export function isMasterPasswordError(error) {
|
|
|
392
392
|
* @param {any} error
|
|
393
393
|
* @returns {boolean}
|
|
394
394
|
*/
|
|
395
|
-
export function
|
|
395
|
+
export function isRotateCryptographyStateError(error) {
|
|
396
396
|
try {
|
|
397
|
-
const ret = wasm.
|
|
397
|
+
const ret = wasm.isRotateCryptographyStateError(addBorrowedObject(error));
|
|
398
398
|
return ret !== 0;
|
|
399
399
|
} finally {
|
|
400
400
|
heap[stack_pointer++] = undefined;
|
|
@@ -405,9 +405,9 @@ export function isAccountCryptographyInitializationError(error) {
|
|
|
405
405
|
* @param {any} error
|
|
406
406
|
* @returns {boolean}
|
|
407
407
|
*/
|
|
408
|
-
export function
|
|
408
|
+
export function isAccountCryptographyInitializationError(error) {
|
|
409
409
|
try {
|
|
410
|
-
const ret = wasm.
|
|
410
|
+
const ret = wasm.isAccountCryptographyInitializationError(addBorrowedObject(error));
|
|
411
411
|
return ret !== 0;
|
|
412
412
|
} finally {
|
|
413
413
|
heap[stack_pointer++] = undefined;
|
|
@@ -418,9 +418,9 @@ export function isRotateCryptographyStateError(error) {
|
|
|
418
418
|
* @param {any} error
|
|
419
419
|
* @returns {boolean}
|
|
420
420
|
*/
|
|
421
|
-
export function
|
|
421
|
+
export function isMakeKeysError(error) {
|
|
422
422
|
try {
|
|
423
|
-
const ret = wasm.
|
|
423
|
+
const ret = wasm.isMakeKeysError(addBorrowedObject(error));
|
|
424
424
|
return ret !== 0;
|
|
425
425
|
} finally {
|
|
426
426
|
heap[stack_pointer++] = undefined;
|
|
@@ -444,9 +444,9 @@ export function isCryptoClientError(error) {
|
|
|
444
444
|
* @param {any} error
|
|
445
445
|
* @returns {boolean}
|
|
446
446
|
*/
|
|
447
|
-
export function
|
|
447
|
+
export function isEnrollAdminPasswordResetError(error) {
|
|
448
448
|
try {
|
|
449
|
-
const ret = wasm.
|
|
449
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
450
450
|
return ret !== 0;
|
|
451
451
|
} finally {
|
|
452
452
|
heap[stack_pointer++] = undefined;
|
|
@@ -665,9 +665,9 @@ export function ipcRequestDiscover(ipc_client, destination, abort_signal) {
|
|
|
665
665
|
* @param {any} error
|
|
666
666
|
* @returns {boolean}
|
|
667
667
|
*/
|
|
668
|
-
export function
|
|
668
|
+
export function isSshKeyImportError(error) {
|
|
669
669
|
try {
|
|
670
|
-
const ret = wasm.
|
|
670
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
671
671
|
return ret !== 0;
|
|
672
672
|
} finally {
|
|
673
673
|
heap[stack_pointer++] = undefined;
|
|
@@ -691,9 +691,9 @@ export function isSshKeyExportError(error) {
|
|
|
691
691
|
* @param {any} error
|
|
692
692
|
* @returns {boolean}
|
|
693
693
|
*/
|
|
694
|
-
export function
|
|
694
|
+
export function isKeyGenerationError(error) {
|
|
695
695
|
try {
|
|
696
|
-
const ret = wasm.
|
|
696
|
+
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
697
697
|
return ret !== 0;
|
|
698
698
|
} finally {
|
|
699
699
|
heap[stack_pointer++] = undefined;
|
|
@@ -999,14 +999,18 @@ export function isGetFolderError(error) {
|
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
|
-
function
|
|
1003
|
-
wasm.
|
|
1002
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1003
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
|
-
function
|
|
1006
|
+
function wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3(arg0, arg1, arg2) {
|
|
1007
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3(arg0, arg1, addHeapObject(arg2));
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
function wasm_bindgen__convert__closures_____invoke__h099f072940b41685(arg0, arg1, arg2) {
|
|
1007
1011
|
try {
|
|
1008
1012
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1009
|
-
wasm.
|
|
1013
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h099f072940b41685(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1010
1014
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1011
1015
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1012
1016
|
if (r1) {
|
|
@@ -1017,10 +1021,6 @@ function wasm_bindgen__convert__closures_____invoke__hacf1083ab8a5fb07(arg0, arg
|
|
|
1017
1021
|
}
|
|
1018
1022
|
}
|
|
1019
1023
|
|
|
1020
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1021
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
1024
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1025
1025
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1026
1026
|
}
|
|
@@ -4761,7 +4761,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4761
4761
|
return addHeapObject(ret);
|
|
4762
4762
|
}, arguments) };
|
|
4763
4763
|
|
|
4764
|
-
export function
|
|
4764
|
+
export function __wbg_cipher_66a731b73a5e6928(arg0) {
|
|
4765
4765
|
const ret = getObject(arg0).cipher;
|
|
4766
4766
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4767
4767
|
};
|
|
@@ -4853,7 +4853,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4853
4853
|
return addHeapObject(ret);
|
|
4854
4854
|
};
|
|
4855
4855
|
|
|
4856
|
-
export function
|
|
4856
|
+
export function __wbg_folder_719bc3a5dc283f4d(arg0) {
|
|
4857
4857
|
const ret = getObject(arg0).folder;
|
|
4858
4858
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4859
4859
|
};
|
|
@@ -4885,7 +4885,12 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4885
4885
|
return ret;
|
|
4886
4886
|
};
|
|
4887
4887
|
|
|
4888
|
-
export function
|
|
4888
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4889
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4890
|
+
return addHeapObject(ret);
|
|
4891
|
+
};
|
|
4892
|
+
|
|
4893
|
+
export function __wbg_get_9ce5877487d5d6c3() { return handleError(function (arg0, arg1, arg2) {
|
|
4889
4894
|
let deferred0_0;
|
|
4890
4895
|
let deferred0_1;
|
|
4891
4896
|
try {
|
|
@@ -4898,7 +4903,12 @@ export function __wbg_get_5a209ebb46d180e7() { return handleError(function (arg0
|
|
|
4898
4903
|
}
|
|
4899
4904
|
}, arguments) };
|
|
4900
4905
|
|
|
4901
|
-
export function
|
|
4906
|
+
export function __wbg_get_access_token_793e819507286d2d(arg0) {
|
|
4907
|
+
const ret = getObject(arg0).get_access_token();
|
|
4908
|
+
return addHeapObject(ret);
|
|
4909
|
+
};
|
|
4910
|
+
|
|
4911
|
+
export function __wbg_get_b69ecfa393dca957() { return handleError(function (arg0, arg1, arg2) {
|
|
4902
4912
|
let deferred0_0;
|
|
4903
4913
|
let deferred0_1;
|
|
4904
4914
|
try {
|
|
@@ -4911,16 +4921,6 @@ export function __wbg_get_666014226d6f915b() { return handleError(function (arg0
|
|
|
4911
4921
|
}
|
|
4912
4922
|
}, arguments) };
|
|
4913
4923
|
|
|
4914
|
-
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4915
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4916
|
-
return addHeapObject(ret);
|
|
4917
|
-
};
|
|
4918
|
-
|
|
4919
|
-
export function __wbg_get_access_token_ce05ead7ffa42d81(arg0) {
|
|
4920
|
-
const ret = getObject(arg0).get_access_token();
|
|
4921
|
-
return addHeapObject(ret);
|
|
4922
|
-
};
|
|
4923
|
-
|
|
4924
4924
|
export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
|
|
4925
4925
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4926
4926
|
return addHeapObject(ret);
|
|
@@ -5109,12 +5109,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5109
5109
|
return ret;
|
|
5110
5110
|
};
|
|
5111
5111
|
|
|
5112
|
-
export function
|
|
5112
|
+
export function __wbg_list_c411843e234f4dd8() { return handleError(function (arg0) {
|
|
5113
5113
|
const ret = getObject(arg0).list();
|
|
5114
5114
|
return addHeapObject(ret);
|
|
5115
5115
|
}, arguments) };
|
|
5116
5116
|
|
|
5117
|
-
export function
|
|
5117
|
+
export function __wbg_list_cfa2dfc2c29bc4da() { return handleError(function (arg0) {
|
|
5118
5118
|
const ret = getObject(arg0).list();
|
|
5119
5119
|
return addHeapObject(ret);
|
|
5120
5120
|
}, arguments) };
|
|
@@ -5336,7 +5336,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5336
5336
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5337
5337
|
}, arguments) };
|
|
5338
5338
|
|
|
5339
|
-
export function
|
|
5339
|
+
export function __wbg_remove_aa13923c5a732cc2() { return handleError(function (arg0, arg1, arg2) {
|
|
5340
5340
|
let deferred0_0;
|
|
5341
5341
|
let deferred0_1;
|
|
5342
5342
|
try {
|
|
@@ -5349,7 +5349,7 @@ export function __wbg_remove_3293c50d7ab8cfbd() { return handleError(function (a
|
|
|
5349
5349
|
}
|
|
5350
5350
|
}, arguments) };
|
|
5351
5351
|
|
|
5352
|
-
export function
|
|
5352
|
+
export function __wbg_remove_c4832623744e558c() { return handleError(function (arg0, arg1, arg2) {
|
|
5353
5353
|
let deferred0_0;
|
|
5354
5354
|
let deferred0_1;
|
|
5355
5355
|
try {
|
|
@@ -5387,7 +5387,16 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5387
5387
|
return addHeapObject(ret);
|
|
5388
5388
|
};
|
|
5389
5389
|
|
|
5390
|
-
export function
|
|
5390
|
+
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5391
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5392
|
+
};
|
|
5393
|
+
|
|
5394
|
+
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5395
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5396
|
+
return addHeapObject(ret);
|
|
5397
|
+
};
|
|
5398
|
+
|
|
5399
|
+
export function __wbg_set_958499d1db90ad07() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5391
5400
|
let deferred0_0;
|
|
5392
5401
|
let deferred0_1;
|
|
5393
5402
|
try {
|
|
@@ -5400,11 +5409,7 @@ export function __wbg_set_1a3ea3f19919f2c5() { return handleError(function (arg0
|
|
|
5400
5409
|
}
|
|
5401
5410
|
}, arguments) };
|
|
5402
5411
|
|
|
5403
|
-
export function
|
|
5404
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5405
|
-
};
|
|
5406
|
-
|
|
5407
|
-
export function __wbg_set_63b00bfc4ff21c0a() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5412
|
+
export function __wbg_set_a6b42852f41c4ca6() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5408
5413
|
let deferred0_0;
|
|
5409
5414
|
let deferred0_1;
|
|
5410
5415
|
try {
|
|
@@ -5417,11 +5422,6 @@ export function __wbg_set_63b00bfc4ff21c0a() { return handleError(function (arg0
|
|
|
5417
5422
|
}
|
|
5418
5423
|
}, arguments) };
|
|
5419
5424
|
|
|
5420
|
-
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5421
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5422
|
-
return addHeapObject(ret);
|
|
5423
|
-
};
|
|
5424
|
-
|
|
5425
5425
|
export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
|
|
5426
5426
|
getObject(arg0).body = getObject(arg1);
|
|
5427
5427
|
};
|
|
@@ -5604,15 +5604,9 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5604
5604
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5605
5605
|
};
|
|
5606
5606
|
|
|
5607
|
-
export function __wbindgen_cast_040237b82ce31ec9(arg0, arg1) {
|
|
5608
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 333, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5609
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f);
|
|
5610
|
-
return addHeapObject(ret);
|
|
5611
|
-
};
|
|
5612
|
-
|
|
5613
5607
|
export function __wbindgen_cast_1e9dc1058b799ead(arg0, arg1) {
|
|
5614
5608
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5615
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5609
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4bf386d9f33ab76e, wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3);
|
|
5616
5610
|
return addHeapObject(ret);
|
|
5617
5611
|
};
|
|
5618
5612
|
|
|
@@ -5636,12 +5630,6 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5636
5630
|
return addHeapObject(ret);
|
|
5637
5631
|
};
|
|
5638
5632
|
|
|
5639
|
-
export function __wbindgen_cast_73a0930a4562bf7d(arg0, arg1) {
|
|
5640
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 583, function: Function { arguments: [], shim_idx: 334, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5641
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
|
|
5642
|
-
return addHeapObject(ret);
|
|
5643
|
-
};
|
|
5644
|
-
|
|
5645
5633
|
export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
5646
5634
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5647
5635
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5650,14 +5638,20 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
|
5650
5638
|
return addHeapObject(ret);
|
|
5651
5639
|
};
|
|
5652
5640
|
|
|
5641
|
+
export function __wbindgen_cast_936643e1d8ccf009(arg0, arg1) {
|
|
5642
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 583, function: Function { arguments: [], shim_idx: 333, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5643
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h666c8569a46b7e11, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
|
|
5644
|
+
return addHeapObject(ret);
|
|
5645
|
+
};
|
|
5646
|
+
|
|
5653
5647
|
export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
5654
5648
|
// Cast intrinsic for `I64 -> Externref`.
|
|
5655
5649
|
const ret = arg0;
|
|
5656
5650
|
return addHeapObject(ret);
|
|
5657
5651
|
};
|
|
5658
5652
|
|
|
5659
|
-
export function
|
|
5660
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5653
|
+
export function __wbindgen_cast_a2a1216eb14e5e30(arg0, arg1) {
|
|
5654
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 332, function: Function { arguments: [], shim_idx: 333, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5661
5655
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d);
|
|
5662
5656
|
return addHeapObject(ret);
|
|
5663
5657
|
};
|
|
@@ -5676,7 +5670,7 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
|
5676
5670
|
|
|
5677
5671
|
export function __wbindgen_cast_daac1d8e48fc3ba0(arg0, arg1) {
|
|
5678
5672
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5679
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5673
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4bf386d9f33ab76e, wasm_bindgen__convert__closures_____invoke__h099f072940b41685);
|
|
5680
5674
|
return addHeapObject(ret);
|
|
5681
5675
|
};
|
|
5682
5676
|
|
|
@@ -5688,9 +5682,15 @@ export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
|
|
|
5688
5682
|
return addHeapObject(ret);
|
|
5689
5683
|
};
|
|
5690
5684
|
|
|
5691
|
-
export function
|
|
5692
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5693
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5685
|
+
export function __wbindgen_cast_f5b267b11ec1f06a(arg0, arg1) {
|
|
5686
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 332, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5687
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3);
|
|
5688
|
+
return addHeapObject(ret);
|
|
5689
|
+
};
|
|
5690
|
+
|
|
5691
|
+
export function __wbindgen_cast_fbfd89465e3eb8a6(arg0, arg1) {
|
|
5692
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 338, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5693
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3);
|
|
5694
5694
|
return addHeapObject(ret);
|
|
5695
5695
|
};
|
|
5696
5696
|
|
|
Binary file
|
|
@@ -512,25 +512,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
512
512
|
export const vaultclient_attachments: (a: number) => number;
|
|
513
513
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
514
514
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
515
|
-
export const
|
|
515
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
516
516
|
a: number,
|
|
517
517
|
b: number,
|
|
518
|
-
c: number,
|
|
519
518
|
) => void;
|
|
520
|
-
export const
|
|
521
|
-
export const
|
|
522
|
-
export const wasm_bindgen__convert__closures_____invoke__hacf1083ab8a5fb07: (
|
|
519
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
520
|
+
export const wasm_bindgen__convert__closures_____invoke__h46912a5f4a4d0ce3: (
|
|
523
521
|
a: number,
|
|
524
522
|
b: number,
|
|
525
523
|
c: number,
|
|
526
|
-
d: number,
|
|
527
524
|
) => void;
|
|
528
|
-
export const
|
|
525
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
526
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
527
|
+
export const wasm_bindgen__closure__destroy__h4bf386d9f33ab76e: (a: number, b: number) => void;
|
|
528
|
+
export const wasm_bindgen__convert__closures_____invoke__h099f072940b41685: (
|
|
529
529
|
a: number,
|
|
530
530
|
b: number,
|
|
531
|
+
c: number,
|
|
532
|
+
d: number,
|
|
531
533
|
) => void;
|
|
532
|
-
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
533
|
-
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
534
534
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
535
535
|
a: number,
|
|
536
536
|
b: number,
|