@bitwarden/commercial-sdk-internal 0.2.0-main.424 → 0.2.0-main.426
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/bitwarden_wasm_internal.d.ts +406 -406
- package/bitwarden_wasm_internal_bg.js +120 -120
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +8 -8
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +406 -406
- package/node/bitwarden_wasm_internal.js +118 -118
- 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
|
@@ -264,21 +264,33 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
264
264
|
return ptr;
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
267
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
268
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
268
269
|
*
|
|
269
270
|
* # Arguments
|
|
270
|
-
* - `
|
|
271
|
+
* - `imported_key` - The private key to convert
|
|
272
|
+
* - `password` - The password to use for decrypting the key
|
|
271
273
|
*
|
|
272
274
|
* # Returns
|
|
273
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
274
|
-
* - `Err(
|
|
275
|
-
*
|
|
275
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
276
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
277
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
278
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
279
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
280
|
+
* @param {string} imported_key
|
|
281
|
+
* @param {string | null} [password]
|
|
276
282
|
* @returns {SshKeyView}
|
|
277
283
|
*/
|
|
278
|
-
export function
|
|
284
|
+
export function import_ssh_key(imported_key, password) {
|
|
279
285
|
try {
|
|
280
286
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
281
|
-
wasm.
|
|
287
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
288
|
+
const len0 = WASM_VECTOR_LEN;
|
|
289
|
+
var ptr1 = isLikeNone(password)
|
|
290
|
+
? 0
|
|
291
|
+
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
292
|
+
var len1 = WASM_VECTOR_LEN;
|
|
293
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
282
294
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
283
295
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
284
296
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -292,33 +304,21 @@ export function generate_ssh_key(key_algorithm) {
|
|
|
292
304
|
}
|
|
293
305
|
|
|
294
306
|
/**
|
|
295
|
-
*
|
|
296
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
307
|
+
* Generate a new SSH key pair
|
|
297
308
|
*
|
|
298
309
|
* # Arguments
|
|
299
|
-
* - `
|
|
300
|
-
* - `password` - The password to use for decrypting the key
|
|
310
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
301
311
|
*
|
|
302
312
|
* # Returns
|
|
303
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
304
|
-
* - `Err(
|
|
305
|
-
*
|
|
306
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
307
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
308
|
-
* @param {string} imported_key
|
|
309
|
-
* @param {string | null} [password]
|
|
313
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
314
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
315
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
310
316
|
* @returns {SshKeyView}
|
|
311
317
|
*/
|
|
312
|
-
export function
|
|
318
|
+
export function generate_ssh_key(key_algorithm) {
|
|
313
319
|
try {
|
|
314
320
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
315
|
-
|
|
316
|
-
const len0 = WASM_VECTOR_LEN;
|
|
317
|
-
var ptr1 = isLikeNone(password)
|
|
318
|
-
? 0
|
|
319
|
-
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
320
|
-
var len1 = WASM_VECTOR_LEN;
|
|
321
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
321
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
322
322
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
323
323
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
324
324
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -401,9 +401,9 @@ export function isAccountCryptographyInitializationError(error) {
|
|
|
401
401
|
* @param {any} error
|
|
402
402
|
* @returns {boolean}
|
|
403
403
|
*/
|
|
404
|
-
export function
|
|
404
|
+
export function isDeriveKeyConnectorError(error) {
|
|
405
405
|
try {
|
|
406
|
-
const ret = wasm.
|
|
406
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
407
407
|
return ret !== 0;
|
|
408
408
|
} finally {
|
|
409
409
|
heap[stack_pointer++] = undefined;
|
|
@@ -414,9 +414,9 @@ export function isCryptoClientError(error) {
|
|
|
414
414
|
* @param {any} error
|
|
415
415
|
* @returns {boolean}
|
|
416
416
|
*/
|
|
417
|
-
export function
|
|
417
|
+
export function isEnrollAdminPasswordResetError(error) {
|
|
418
418
|
try {
|
|
419
|
-
const ret = wasm.
|
|
419
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
420
420
|
return ret !== 0;
|
|
421
421
|
} finally {
|
|
422
422
|
heap[stack_pointer++] = undefined;
|
|
@@ -427,9 +427,9 @@ export function isDeriveKeyConnectorError(error) {
|
|
|
427
427
|
* @param {any} error
|
|
428
428
|
* @returns {boolean}
|
|
429
429
|
*/
|
|
430
|
-
export function
|
|
430
|
+
export function isCryptoClientError(error) {
|
|
431
431
|
try {
|
|
432
|
-
const ret = wasm.
|
|
432
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
433
433
|
return ret !== 0;
|
|
434
434
|
} finally {
|
|
435
435
|
heap[stack_pointer++] = undefined;
|
|
@@ -639,9 +639,9 @@ export function ipcRegisterDiscoverHandler(ipc_client, response) {
|
|
|
639
639
|
* @param {any} error
|
|
640
640
|
* @returns {boolean}
|
|
641
641
|
*/
|
|
642
|
-
export function
|
|
642
|
+
export function isSshKeyImportError(error) {
|
|
643
643
|
try {
|
|
644
|
-
const ret = wasm.
|
|
644
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
645
645
|
return ret !== 0;
|
|
646
646
|
} finally {
|
|
647
647
|
heap[stack_pointer++] = undefined;
|
|
@@ -665,9 +665,9 @@ export function isKeyGenerationError(error) {
|
|
|
665
665
|
* @param {any} error
|
|
666
666
|
* @returns {boolean}
|
|
667
667
|
*/
|
|
668
|
-
export function
|
|
668
|
+
export function isSshKeyExportError(error) {
|
|
669
669
|
try {
|
|
670
|
-
const ret = wasm.
|
|
670
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
671
671
|
return ret !== 0;
|
|
672
672
|
} finally {
|
|
673
673
|
heap[stack_pointer++] = undefined;
|
|
@@ -808,9 +808,9 @@ export function isCreateCipherError(error) {
|
|
|
808
808
|
* @param {any} error
|
|
809
809
|
* @returns {boolean}
|
|
810
810
|
*/
|
|
811
|
-
export function
|
|
811
|
+
export function isDecryptFileError(error) {
|
|
812
812
|
try {
|
|
813
|
-
const ret = wasm.
|
|
813
|
+
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
814
814
|
return ret !== 0;
|
|
815
815
|
} finally {
|
|
816
816
|
heap[stack_pointer++] = undefined;
|
|
@@ -821,9 +821,9 @@ export function isEncryptFileError(error) {
|
|
|
821
821
|
* @param {any} error
|
|
822
822
|
* @returns {boolean}
|
|
823
823
|
*/
|
|
824
|
-
export function
|
|
824
|
+
export function isEncryptFileError(error) {
|
|
825
825
|
try {
|
|
826
|
-
const ret = wasm.
|
|
826
|
+
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
827
827
|
return ret !== 0;
|
|
828
828
|
} finally {
|
|
829
829
|
heap[stack_pointer++] = undefined;
|
|
@@ -882,18 +882,22 @@ export function isGetFolderError(error) {
|
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
function
|
|
886
|
-
wasm.
|
|
885
|
+
function wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1) {
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1);
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
function wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(arg0, arg1, arg2) {
|
|
890
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109(
|
|
887
891
|
arg0,
|
|
888
892
|
arg1,
|
|
889
893
|
addHeapObject(arg2),
|
|
890
894
|
);
|
|
891
895
|
}
|
|
892
896
|
|
|
893
|
-
function
|
|
897
|
+
function wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(arg0, arg1, arg2) {
|
|
894
898
|
try {
|
|
895
899
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
896
|
-
wasm.
|
|
900
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(
|
|
897
901
|
retptr,
|
|
898
902
|
arg0,
|
|
899
903
|
arg1,
|
|
@@ -909,10 +913,6 @@ function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg
|
|
|
909
913
|
}
|
|
910
914
|
}
|
|
911
915
|
|
|
912
|
-
function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
|
|
913
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
916
|
function wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(arg0, arg1, arg2, arg3) {
|
|
917
917
|
wasm.wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(
|
|
918
918
|
arg0,
|
|
@@ -4681,7 +4681,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4681
4681
|
}, arguments);
|
|
4682
4682
|
}
|
|
4683
4683
|
|
|
4684
|
-
export function
|
|
4684
|
+
export function __wbg_cipher_dca8572b1d6cb130(arg0) {
|
|
4685
4685
|
const ret = getObject(arg0).cipher;
|
|
4686
4686
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4687
4687
|
}
|
|
@@ -4774,7 +4774,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4774
4774
|
return addHeapObject(ret);
|
|
4775
4775
|
}
|
|
4776
4776
|
|
|
4777
|
-
export function
|
|
4777
|
+
export function __wbg_folder_8c6c22f085c648d5(arg0) {
|
|
4778
4778
|
const ret = getObject(arg0).folder;
|
|
4779
4779
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4780
4780
|
}
|
|
@@ -4807,7 +4807,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4807
4807
|
return ret;
|
|
4808
4808
|
}
|
|
4809
4809
|
|
|
4810
|
-
export function
|
|
4810
|
+
export function __wbg_get_1747ea6e550a3680() {
|
|
4811
4811
|
return handleError(function (arg0, arg1, arg2) {
|
|
4812
4812
|
let deferred0_0;
|
|
4813
4813
|
let deferred0_1;
|
|
@@ -4827,7 +4827,12 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
4827
4827
|
return addHeapObject(ret);
|
|
4828
4828
|
}
|
|
4829
4829
|
|
|
4830
|
-
export function
|
|
4830
|
+
export function __wbg_get_access_token_37b176ffb3668729(arg0) {
|
|
4831
|
+
const ret = getObject(arg0).get_access_token();
|
|
4832
|
+
return addHeapObject(ret);
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4835
|
+
export function __wbg_get_c0f7e010f25b83b7() {
|
|
4831
4836
|
return handleError(function (arg0, arg1, arg2) {
|
|
4832
4837
|
let deferred0_0;
|
|
4833
4838
|
let deferred0_1;
|
|
@@ -4842,11 +4847,6 @@ export function __wbg_get_94406e7678e29713() {
|
|
|
4842
4847
|
}, arguments);
|
|
4843
4848
|
}
|
|
4844
4849
|
|
|
4845
|
-
export function __wbg_get_access_token_88dc7c09a576432c(arg0) {
|
|
4846
|
-
const ret = getObject(arg0).get_access_token();
|
|
4847
|
-
return addHeapObject(ret);
|
|
4848
|
-
}
|
|
4849
|
-
|
|
4850
4850
|
export function __wbg_get_efcb449f58ec27c2() {
|
|
4851
4851
|
return handleError(function (arg0, arg1) {
|
|
4852
4852
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
@@ -5038,14 +5038,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5038
5038
|
return ret;
|
|
5039
5039
|
}
|
|
5040
5040
|
|
|
5041
|
-
export function
|
|
5041
|
+
export function __wbg_list_7cbae88b8c1f2846() {
|
|
5042
5042
|
return handleError(function (arg0) {
|
|
5043
5043
|
const ret = getObject(arg0).list();
|
|
5044
5044
|
return addHeapObject(ret);
|
|
5045
5045
|
}, arguments);
|
|
5046
5046
|
}
|
|
5047
5047
|
|
|
5048
|
-
export function
|
|
5048
|
+
export function __wbg_list_cbd6655ebbf2aaaf() {
|
|
5049
5049
|
return handleError(function (arg0) {
|
|
5050
5050
|
const ret = getObject(arg0).list();
|
|
5051
5051
|
return addHeapObject(ret);
|
|
@@ -5289,7 +5289,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5289
5289
|
}, arguments);
|
|
5290
5290
|
}
|
|
5291
5291
|
|
|
5292
|
-
export function
|
|
5292
|
+
export function __wbg_remove_97eba017d94cfbe1() {
|
|
5293
5293
|
return handleError(function (arg0, arg1, arg2) {
|
|
5294
5294
|
let deferred0_0;
|
|
5295
5295
|
let deferred0_1;
|
|
@@ -5304,7 +5304,7 @@ export function __wbg_remove_662a447836fc0213() {
|
|
|
5304
5304
|
}, arguments);
|
|
5305
5305
|
}
|
|
5306
5306
|
|
|
5307
|
-
export function
|
|
5307
|
+
export function __wbg_remove_e963b2cd3de803fb() {
|
|
5308
5308
|
return handleError(function (arg0, arg1, arg2) {
|
|
5309
5309
|
let deferred0_0;
|
|
5310
5310
|
let deferred0_1;
|
|
@@ -5350,40 +5350,10 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5350
5350
|
return addHeapObject(ret);
|
|
5351
5351
|
}
|
|
5352
5352
|
|
|
5353
|
-
export function __wbg_set_130fc92ad5bc93cc() {
|
|
5354
|
-
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5355
|
-
let deferred0_0;
|
|
5356
|
-
let deferred0_1;
|
|
5357
|
-
try {
|
|
5358
|
-
deferred0_0 = arg1;
|
|
5359
|
-
deferred0_1 = arg2;
|
|
5360
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5361
|
-
return addHeapObject(ret);
|
|
5362
|
-
} finally {
|
|
5363
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5364
|
-
}
|
|
5365
|
-
}, arguments);
|
|
5366
|
-
}
|
|
5367
|
-
|
|
5368
5353
|
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5369
5354
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5370
5355
|
}
|
|
5371
5356
|
|
|
5372
|
-
export function __wbg_set_8e2af17aad7e3578() {
|
|
5373
|
-
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5374
|
-
let deferred0_0;
|
|
5375
|
-
let deferred0_1;
|
|
5376
|
-
try {
|
|
5377
|
-
deferred0_0 = arg1;
|
|
5378
|
-
deferred0_1 = arg2;
|
|
5379
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5380
|
-
return addHeapObject(ret);
|
|
5381
|
-
} finally {
|
|
5382
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5383
|
-
}
|
|
5384
|
-
}, arguments);
|
|
5385
|
-
}
|
|
5386
|
-
|
|
5387
5357
|
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5388
5358
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5389
5359
|
return addHeapObject(ret);
|
|
@@ -5408,6 +5378,36 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
|
5408
5378
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5409
5379
|
}
|
|
5410
5380
|
|
|
5381
|
+
export function __wbg_set_d9516e26a6ff5fe9() {
|
|
5382
|
+
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5383
|
+
let deferred0_0;
|
|
5384
|
+
let deferred0_1;
|
|
5385
|
+
try {
|
|
5386
|
+
deferred0_0 = arg1;
|
|
5387
|
+
deferred0_1 = arg2;
|
|
5388
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5389
|
+
return addHeapObject(ret);
|
|
5390
|
+
} finally {
|
|
5391
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5392
|
+
}
|
|
5393
|
+
}, arguments);
|
|
5394
|
+
}
|
|
5395
|
+
|
|
5396
|
+
export function __wbg_set_f1e6b0194d67f6ad() {
|
|
5397
|
+
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5398
|
+
let deferred0_0;
|
|
5399
|
+
let deferred0_1;
|
|
5400
|
+
try {
|
|
5401
|
+
deferred0_0 = arg1;
|
|
5402
|
+
deferred0_1 = arg2;
|
|
5403
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5404
|
+
return addHeapObject(ret);
|
|
5405
|
+
} finally {
|
|
5406
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5407
|
+
}
|
|
5408
|
+
}, arguments);
|
|
5409
|
+
}
|
|
5410
|
+
|
|
5411
5411
|
export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
|
|
5412
5412
|
getObject(arg0).headers = getObject(arg1);
|
|
5413
5413
|
}
|
|
@@ -5572,6 +5572,17 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5572
5572
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5573
5573
|
}
|
|
5574
5574
|
|
|
5575
|
+
export function __wbindgen_cast_18e7d5b03ebc0b46(arg0, arg1) {
|
|
5576
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5577
|
+
const ret = makeMutClosure(
|
|
5578
|
+
arg0,
|
|
5579
|
+
arg1,
|
|
5580
|
+
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5581
|
+
wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
|
|
5582
|
+
);
|
|
5583
|
+
return addHeapObject(ret);
|
|
5584
|
+
}
|
|
5585
|
+
|
|
5575
5586
|
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5576
5587
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5577
5588
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
@@ -5583,8 +5594,8 @@ export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
|
|
|
5583
5594
|
const ret = makeMutClosure(
|
|
5584
5595
|
arg0,
|
|
5585
5596
|
arg1,
|
|
5586
|
-
wasm.
|
|
5587
|
-
|
|
5597
|
+
wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
|
|
5598
|
+
wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
|
|
5588
5599
|
);
|
|
5589
5600
|
return addHeapObject(ret);
|
|
5590
5601
|
}
|
|
@@ -5594,19 +5605,8 @@ export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
|
|
|
5594
5605
|
const ret = makeMutClosure(
|
|
5595
5606
|
arg0,
|
|
5596
5607
|
arg1,
|
|
5597
|
-
wasm.
|
|
5598
|
-
|
|
5599
|
-
);
|
|
5600
|
-
return addHeapObject(ret);
|
|
5601
|
-
}
|
|
5602
|
-
|
|
5603
|
-
export function __wbindgen_cast_3fbb763e21ae0efe(arg0, arg1) {
|
|
5604
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5605
|
-
const ret = makeMutClosure(
|
|
5606
|
-
arg0,
|
|
5607
|
-
arg1,
|
|
5608
|
-
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5609
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5608
|
+
wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
|
|
5609
|
+
wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd,
|
|
5610
5610
|
);
|
|
5611
5611
|
return addHeapObject(ret);
|
|
5612
5612
|
}
|
|
@@ -5625,6 +5625,17 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5625
5625
|
return addHeapObject(ret);
|
|
5626
5626
|
}
|
|
5627
5627
|
|
|
5628
|
+
export function __wbindgen_cast_6e095a3d144cfbd7(arg0, arg1) {
|
|
5629
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5630
|
+
const ret = makeMutClosure(
|
|
5631
|
+
arg0,
|
|
5632
|
+
arg1,
|
|
5633
|
+
wasm.wasm_bindgen__closure__destroy__h602c026e8307a31b,
|
|
5634
|
+
wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
|
|
5635
|
+
);
|
|
5636
|
+
return addHeapObject(ret);
|
|
5637
|
+
}
|
|
5638
|
+
|
|
5628
5639
|
export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
5629
5640
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5630
5641
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5633,13 +5644,13 @@ export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
|
5633
5644
|
return addHeapObject(ret);
|
|
5634
5645
|
}
|
|
5635
5646
|
|
|
5636
|
-
export function
|
|
5637
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5647
|
+
export function __wbindgen_cast_8340b5b160d85933(arg0, arg1) {
|
|
5648
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5638
5649
|
const ret = makeMutClosure(
|
|
5639
5650
|
arg0,
|
|
5640
5651
|
arg1,
|
|
5641
5652
|
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5642
|
-
|
|
5653
|
+
wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
|
|
5643
5654
|
);
|
|
5644
5655
|
return addHeapObject(ret);
|
|
5645
5656
|
}
|
|
@@ -5650,17 +5661,6 @@ export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
|
5650
5661
|
return addHeapObject(ret);
|
|
5651
5662
|
}
|
|
5652
5663
|
|
|
5653
|
-
export function __wbindgen_cast_bfa5a190b0f2e981(arg0, arg1) {
|
|
5654
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5655
|
-
const ret = makeMutClosure(
|
|
5656
|
-
arg0,
|
|
5657
|
-
arg1,
|
|
5658
|
-
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5659
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5660
|
-
);
|
|
5661
|
-
return addHeapObject(ret);
|
|
5662
|
-
}
|
|
5663
|
-
|
|
5664
5664
|
export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
5665
5665
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5666
5666
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
Binary file
|
|
@@ -454,24 +454,24 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
454
454
|
export const __wbg_registrationclient_free: (a: number, b: number) => void;
|
|
455
455
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
456
456
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
457
|
-
export const
|
|
457
|
+
export const wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373: (
|
|
458
458
|
a: number,
|
|
459
459
|
b: number,
|
|
460
|
-
c: number,
|
|
461
460
|
) => void;
|
|
462
|
-
export const
|
|
463
|
-
export const
|
|
461
|
+
export const wasm_bindgen__closure__destroy__h602c026e8307a31b: (a: number, b: number) => void;
|
|
462
|
+
export const wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109: (
|
|
464
463
|
a: number,
|
|
465
464
|
b: number,
|
|
466
465
|
c: number,
|
|
467
|
-
d: number,
|
|
468
466
|
) => void;
|
|
469
|
-
export const
|
|
467
|
+
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
468
|
+
export const wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c: (a: number, b: number) => void;
|
|
469
|
+
export const wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd: (
|
|
470
470
|
a: number,
|
|
471
471
|
b: number,
|
|
472
|
+
c: number,
|
|
473
|
+
d: number,
|
|
472
474
|
) => void;
|
|
473
|
-
export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
|
|
474
|
-
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
475
475
|
export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
|
|
476
476
|
a: number,
|
|
477
477
|
b: number,
|