@bitwarden/sdk-internal 0.2.0-main.420 → 0.2.0-main.422
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 +465 -438
- package/bitwarden_wasm_internal_bg.js +110 -110
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +5 -5
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +465 -438
- package/node/bitwarden_wasm_internal.js +110 -110
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +5 -5
- package/package.json +1 -1
|
@@ -264,33 +264,21 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
264
264
|
return ptr;
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
268
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
267
|
+
* Generate a new SSH key pair
|
|
269
268
|
*
|
|
270
269
|
* # Arguments
|
|
271
|
-
* - `
|
|
272
|
-
* - `password` - The password to use for decrypting the key
|
|
270
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
273
271
|
*
|
|
274
272
|
* # Returns
|
|
275
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
276
|
-
* - `Err(
|
|
277
|
-
*
|
|
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]
|
|
273
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
274
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
275
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
282
276
|
* @returns {SshKeyView}
|
|
283
277
|
*/
|
|
284
|
-
export function
|
|
278
|
+
export function generate_ssh_key(key_algorithm) {
|
|
285
279
|
try {
|
|
286
280
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
287
|
-
|
|
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);
|
|
281
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
294
282
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
295
283
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
296
284
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -304,21 +292,33 @@ export function import_ssh_key(imported_key, password) {
|
|
|
304
292
|
}
|
|
305
293
|
|
|
306
294
|
/**
|
|
307
|
-
*
|
|
295
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
296
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
308
297
|
*
|
|
309
298
|
* # Arguments
|
|
310
|
-
* - `
|
|
299
|
+
* - `imported_key` - The private key to convert
|
|
300
|
+
* - `password` - The password to use for decrypting the key
|
|
311
301
|
*
|
|
312
302
|
* # Returns
|
|
313
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
314
|
-
* - `Err(
|
|
315
|
-
*
|
|
303
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
304
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
305
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
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]
|
|
316
310
|
* @returns {SshKeyView}
|
|
317
311
|
*/
|
|
318
|
-
export function
|
|
312
|
+
export function import_ssh_key(imported_key, password) {
|
|
319
313
|
try {
|
|
320
314
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
321
|
-
wasm.
|
|
315
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
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);
|
|
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 isCryptoClientError(error) {
|
|
405
405
|
try {
|
|
406
|
-
const ret = wasm.
|
|
406
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
407
407
|
return ret !== 0;
|
|
408
408
|
} finally {
|
|
409
409
|
heap[stack_pointer++] = undefined;
|
|
@@ -414,9 +414,9 @@ export function isDeriveKeyConnectorError(error) {
|
|
|
414
414
|
* @param {any} error
|
|
415
415
|
* @returns {boolean}
|
|
416
416
|
*/
|
|
417
|
-
export function
|
|
417
|
+
export function isDeriveKeyConnectorError(error) {
|
|
418
418
|
try {
|
|
419
|
-
const ret = wasm.
|
|
419
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
420
420
|
return ret !== 0;
|
|
421
421
|
} finally {
|
|
422
422
|
heap[stack_pointer++] = undefined;
|
|
@@ -553,9 +553,9 @@ export function isTypedReceiveError(error) {
|
|
|
553
553
|
* @param {any} error
|
|
554
554
|
* @returns {boolean}
|
|
555
555
|
*/
|
|
556
|
-
export function
|
|
556
|
+
export function isSubscribeError(error) {
|
|
557
557
|
try {
|
|
558
|
-
const ret = wasm.
|
|
558
|
+
const ret = wasm.isSubscribeError(addBorrowedObject(error));
|
|
559
559
|
return ret !== 0;
|
|
560
560
|
} finally {
|
|
561
561
|
heap[stack_pointer++] = undefined;
|
|
@@ -566,9 +566,9 @@ export function isReceiveError(error) {
|
|
|
566
566
|
* @param {any} error
|
|
567
567
|
* @returns {boolean}
|
|
568
568
|
*/
|
|
569
|
-
export function
|
|
569
|
+
export function isReceiveError(error) {
|
|
570
570
|
try {
|
|
571
|
-
const ret = wasm.
|
|
571
|
+
const ret = wasm.isReceiveError(addBorrowedObject(error));
|
|
572
572
|
return ret !== 0;
|
|
573
573
|
} finally {
|
|
574
574
|
heap[stack_pointer++] = undefined;
|
|
@@ -584,9 +584,9 @@ function _assertClass(instance, klass) {
|
|
|
584
584
|
* @param {any} error
|
|
585
585
|
* @returns {boolean}
|
|
586
586
|
*/
|
|
587
|
-
export function
|
|
587
|
+
export function isDeserializeError(error) {
|
|
588
588
|
try {
|
|
589
|
-
const ret = wasm.
|
|
589
|
+
const ret = wasm.isDeserializeError(addBorrowedObject(error));
|
|
590
590
|
return ret !== 0;
|
|
591
591
|
} finally {
|
|
592
592
|
heap[stack_pointer++] = undefined;
|
|
@@ -597,9 +597,9 @@ export function isChannelError(error) {
|
|
|
597
597
|
* @param {any} error
|
|
598
598
|
* @returns {boolean}
|
|
599
599
|
*/
|
|
600
|
-
export function
|
|
600
|
+
export function isChannelError(error) {
|
|
601
601
|
try {
|
|
602
|
-
const ret = wasm.
|
|
602
|
+
const ret = wasm.isChannelError(addBorrowedObject(error));
|
|
603
603
|
return ret !== 0;
|
|
604
604
|
} finally {
|
|
605
605
|
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 isSshKeyExportError(error) {
|
|
643
643
|
try {
|
|
644
|
-
const ret = wasm.
|
|
644
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
645
645
|
return ret !== 0;
|
|
646
646
|
} finally {
|
|
647
647
|
heap[stack_pointer++] = undefined;
|
|
@@ -652,9 +652,9 @@ export function isSshKeyImportError(error) {
|
|
|
652
652
|
* @param {any} error
|
|
653
653
|
* @returns {boolean}
|
|
654
654
|
*/
|
|
655
|
-
export function
|
|
655
|
+
export function isKeyGenerationError(error) {
|
|
656
656
|
try {
|
|
657
|
-
const ret = wasm.
|
|
657
|
+
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
658
658
|
return ret !== 0;
|
|
659
659
|
} finally {
|
|
660
660
|
heap[stack_pointer++] = undefined;
|
|
@@ -665,9 +665,9 @@ export function isSshKeyExportError(error) {
|
|
|
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;
|
|
@@ -743,9 +743,9 @@ export function isTotpError(error) {
|
|
|
743
743
|
* @param {any} error
|
|
744
744
|
* @returns {boolean}
|
|
745
745
|
*/
|
|
746
|
-
export function
|
|
746
|
+
export function isEncryptError(error) {
|
|
747
747
|
try {
|
|
748
|
-
const ret = wasm.
|
|
748
|
+
const ret = wasm.isEncryptError(addBorrowedObject(error));
|
|
749
749
|
return ret !== 0;
|
|
750
750
|
} finally {
|
|
751
751
|
heap[stack_pointer++] = undefined;
|
|
@@ -756,9 +756,9 @@ export function isDecryptError(error) {
|
|
|
756
756
|
* @param {any} error
|
|
757
757
|
* @returns {boolean}
|
|
758
758
|
*/
|
|
759
|
-
export function
|
|
759
|
+
export function isDecryptError(error) {
|
|
760
760
|
try {
|
|
761
|
-
const ret = wasm.
|
|
761
|
+
const ret = wasm.isDecryptError(addBorrowedObject(error));
|
|
762
762
|
return ret !== 0;
|
|
763
763
|
} finally {
|
|
764
764
|
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 isEncryptFileError(error) {
|
|
812
812
|
try {
|
|
813
|
-
const ret = wasm.
|
|
813
|
+
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
814
814
|
return ret !== 0;
|
|
815
815
|
} finally {
|
|
816
816
|
heap[stack_pointer++] = undefined;
|
|
@@ -821,9 +821,9 @@ export function isDecryptFileError(error) {
|
|
|
821
821
|
* @param {any} error
|
|
822
822
|
* @returns {boolean}
|
|
823
823
|
*/
|
|
824
|
-
export function
|
|
824
|
+
export function isDecryptFileError(error) {
|
|
825
825
|
try {
|
|
826
|
-
const ret = wasm.
|
|
826
|
+
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
827
827
|
return ret !== 0;
|
|
828
828
|
} finally {
|
|
829
829
|
heap[stack_pointer++] = undefined;
|
|
@@ -882,10 +882,18 @@ export function isGetFolderError(error) {
|
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
function
|
|
885
|
+
function wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(arg0, arg1, arg2) {
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(
|
|
887
|
+
arg0,
|
|
888
|
+
arg1,
|
|
889
|
+
addHeapObject(arg2),
|
|
890
|
+
);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
function wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(arg0, arg1, arg2) {
|
|
886
894
|
try {
|
|
887
895
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
888
|
-
wasm.
|
|
896
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(
|
|
889
897
|
retptr,
|
|
890
898
|
arg0,
|
|
891
899
|
arg1,
|
|
@@ -901,14 +909,6 @@ function wasm_bindgen__convert__closures_____invoke__h3cc396d089734e5b(arg0, arg
|
|
|
901
909
|
}
|
|
902
910
|
}
|
|
903
911
|
|
|
904
|
-
function wasm_bindgen__convert__closures_____invoke__h4c28727d20825f0e(arg0, arg1, arg2) {
|
|
905
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h4c28727d20825f0e(
|
|
906
|
-
arg0,
|
|
907
|
-
arg1,
|
|
908
|
-
addHeapObject(arg2),
|
|
909
|
-
);
|
|
910
|
-
}
|
|
911
|
-
|
|
912
912
|
function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
|
|
913
913
|
wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
|
|
914
914
|
}
|
|
@@ -4549,7 +4549,7 @@ export function __wbg_abort_e7eb059f72f9ed0c(arg0) {
|
|
|
4549
4549
|
getObject(arg0).abort();
|
|
4550
4550
|
}
|
|
4551
4551
|
|
|
4552
|
-
export function
|
|
4552
|
+
export function __wbg_addEventListener_2a32c0afd1525001(arg0, arg1, arg2, arg3) {
|
|
4553
4553
|
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4554
4554
|
}
|
|
4555
4555
|
|
|
@@ -4602,7 +4602,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4602
4602
|
}, arguments);
|
|
4603
4603
|
}
|
|
4604
4604
|
|
|
4605
|
-
export function
|
|
4605
|
+
export function __wbg_cipher_f2e574d68952d395(arg0) {
|
|
4606
4606
|
const ret = getObject(arg0).cipher;
|
|
4607
4607
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4608
4608
|
}
|
|
@@ -4695,7 +4695,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4695
4695
|
return addHeapObject(ret);
|
|
4696
4696
|
}
|
|
4697
4697
|
|
|
4698
|
-
export function
|
|
4698
|
+
export function __wbg_folder_0d97489c28d80f2c(arg0) {
|
|
4699
4699
|
const ret = getObject(arg0).folder;
|
|
4700
4700
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4701
4701
|
}
|
|
@@ -4728,7 +4728,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4728
4728
|
return ret;
|
|
4729
4729
|
}
|
|
4730
4730
|
|
|
4731
|
-
export function
|
|
4731
|
+
export function __wbg_get_38a0d33f5d8fe3e6() {
|
|
4732
4732
|
return handleError(function (arg0, arg1, arg2) {
|
|
4733
4733
|
let deferred0_0;
|
|
4734
4734
|
let deferred0_1;
|
|
@@ -4743,7 +4743,7 @@ export function __wbg_get_11943c0638e5fe5b() {
|
|
|
4743
4743
|
}, arguments);
|
|
4744
4744
|
}
|
|
4745
4745
|
|
|
4746
|
-
export function
|
|
4746
|
+
export function __wbg_get_63331cddb3c81318() {
|
|
4747
4747
|
return handleError(function (arg0, arg1, arg2) {
|
|
4748
4748
|
let deferred0_0;
|
|
4749
4749
|
let deferred0_1;
|
|
@@ -4763,7 +4763,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
4763
4763
|
return addHeapObject(ret);
|
|
4764
4764
|
}
|
|
4765
4765
|
|
|
4766
|
-
export function
|
|
4766
|
+
export function __wbg_get_access_token_ff492ff9ec7db859(arg0) {
|
|
4767
4767
|
const ret = getObject(arg0).get_access_token();
|
|
4768
4768
|
return addHeapObject(ret);
|
|
4769
4769
|
}
|
|
@@ -4959,14 +4959,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
4959
4959
|
return ret;
|
|
4960
4960
|
}
|
|
4961
4961
|
|
|
4962
|
-
export function
|
|
4962
|
+
export function __wbg_list_5785128899ac45b8() {
|
|
4963
4963
|
return handleError(function (arg0) {
|
|
4964
4964
|
const ret = getObject(arg0).list();
|
|
4965
4965
|
return addHeapObject(ret);
|
|
4966
4966
|
}, arguments);
|
|
4967
4967
|
}
|
|
4968
4968
|
|
|
4969
|
-
export function
|
|
4969
|
+
export function __wbg_list_81ad0e6d7a86f793() {
|
|
4970
4970
|
return handleError(function (arg0) {
|
|
4971
4971
|
const ret = getObject(arg0).list();
|
|
4972
4972
|
return addHeapObject(ret);
|
|
@@ -5019,6 +5019,19 @@ export function __wbg_new_0_f9740686d739025c() {
|
|
|
5019
5019
|
return addHeapObject(ret);
|
|
5020
5020
|
}
|
|
5021
5021
|
|
|
5022
|
+
export function __wbg_new_122699422a56c70d(arg0, arg1) {
|
|
5023
|
+
let deferred0_0;
|
|
5024
|
+
let deferred0_1;
|
|
5025
|
+
try {
|
|
5026
|
+
deferred0_0 = arg0;
|
|
5027
|
+
deferred0_1 = arg1;
|
|
5028
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5029
|
+
return addHeapObject(ret);
|
|
5030
|
+
} finally {
|
|
5031
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5032
|
+
}
|
|
5033
|
+
}
|
|
5034
|
+
|
|
5022
5035
|
export function __wbg_new_1acc0b6eea89d040() {
|
|
5023
5036
|
const ret = new Object();
|
|
5024
5037
|
return addHeapObject(ret);
|
|
@@ -5094,19 +5107,6 @@ export function __wbg_new_e17d9f43105b08be() {
|
|
|
5094
5107
|
return addHeapObject(ret);
|
|
5095
5108
|
}
|
|
5096
5109
|
|
|
5097
|
-
export function __wbg_new_f24b6d53abe5bc82(arg0, arg1) {
|
|
5098
|
-
let deferred0_0;
|
|
5099
|
-
let deferred0_1;
|
|
5100
|
-
try {
|
|
5101
|
-
deferred0_0 = arg0;
|
|
5102
|
-
deferred0_1 = arg1;
|
|
5103
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5104
|
-
return addHeapObject(ret);
|
|
5105
|
-
} finally {
|
|
5106
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5107
|
-
}
|
|
5108
|
-
}
|
|
5109
|
-
|
|
5110
5110
|
export function __wbg_new_from_slice_92f4d78ca282a2d2(arg0, arg1) {
|
|
5111
5111
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
5112
5112
|
return addHeapObject(ret);
|
|
@@ -5210,7 +5210,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5210
5210
|
}, arguments);
|
|
5211
5211
|
}
|
|
5212
5212
|
|
|
5213
|
-
export function
|
|
5213
|
+
export function __wbg_remove_177b181db8985dde() {
|
|
5214
5214
|
return handleError(function (arg0, arg1, arg2) {
|
|
5215
5215
|
let deferred0_0;
|
|
5216
5216
|
let deferred0_1;
|
|
@@ -5225,7 +5225,7 @@ export function __wbg_remove_3e40156c849a4a8a() {
|
|
|
5225
5225
|
}, arguments);
|
|
5226
5226
|
}
|
|
5227
5227
|
|
|
5228
|
-
export function
|
|
5228
|
+
export function __wbg_remove_1b0b59ed6aa183ee() {
|
|
5229
5229
|
return handleError(function (arg0, arg1, arg2) {
|
|
5230
5230
|
let deferred0_0;
|
|
5231
5231
|
let deferred0_1;
|
|
@@ -5259,7 +5259,7 @@ export function __wbg_result_25e75004b82b9830() {
|
|
|
5259
5259
|
}, arguments);
|
|
5260
5260
|
}
|
|
5261
5261
|
|
|
5262
|
-
export function
|
|
5262
|
+
export function __wbg_send_8b64d9aa7f1992ee() {
|
|
5263
5263
|
return handleError(function (arg0, arg1) {
|
|
5264
5264
|
const ret = getObject(arg0).send(OutgoingMessage.__wrap(arg1));
|
|
5265
5265
|
return addHeapObject(ret);
|
|
@@ -5271,11 +5271,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5271
5271
|
return addHeapObject(ret);
|
|
5272
5272
|
}
|
|
5273
5273
|
|
|
5274
|
-
export function
|
|
5275
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5276
|
-
}
|
|
5277
|
-
|
|
5278
|
-
export function __wbg_set_62a9cc649615f052() {
|
|
5274
|
+
export function __wbg_set_1e170041843aba75() {
|
|
5279
5275
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5280
5276
|
let deferred0_0;
|
|
5281
5277
|
let deferred0_1;
|
|
@@ -5290,7 +5286,7 @@ export function __wbg_set_62a9cc649615f052() {
|
|
|
5290
5286
|
}, arguments);
|
|
5291
5287
|
}
|
|
5292
5288
|
|
|
5293
|
-
export function
|
|
5289
|
+
export function __wbg_set_20c8942e7d6fc8d9() {
|
|
5294
5290
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5295
5291
|
let deferred0_0;
|
|
5296
5292
|
let deferred0_1;
|
|
@@ -5305,6 +5301,10 @@ export function __wbg_set_6a9e52fb6cbb2251() {
|
|
|
5305
5301
|
}, arguments);
|
|
5306
5302
|
}
|
|
5307
5303
|
|
|
5304
|
+
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5305
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
5308
|
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5309
5309
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5310
5310
|
return addHeapObject(ret);
|
|
@@ -5341,7 +5341,7 @@ export function __wbg_set_mode_52ef73cfa79639cb(arg0, arg1) {
|
|
|
5341
5341
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
5342
5342
|
}
|
|
5343
5343
|
|
|
5344
|
-
export function
|
|
5344
|
+
export function __wbg_set_name_f4b29c43a961f90e(arg0, arg1, arg2) {
|
|
5345
5345
|
let deferred0_0;
|
|
5346
5346
|
let deferred0_1;
|
|
5347
5347
|
try {
|
|
@@ -5373,7 +5373,7 @@ export function __wbg_set_type_63fa4c18251f6545(arg0, arg1, arg2) {
|
|
|
5373
5373
|
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
5374
5374
|
}
|
|
5375
5375
|
|
|
5376
|
-
export function
|
|
5376
|
+
export function __wbg_set_variant_753180e89ea29c02(arg0, arg1, arg2) {
|
|
5377
5377
|
let deferred0_0;
|
|
5378
5378
|
let deferred0_1;
|
|
5379
5379
|
try {
|
|
@@ -5504,8 +5504,8 @@ export function __wbindgen_cast_34ef3ce950757bdd(arg0, arg1) {
|
|
|
5504
5504
|
const ret = makeMutClosure(
|
|
5505
5505
|
arg0,
|
|
5506
5506
|
arg1,
|
|
5507
|
-
wasm.
|
|
5508
|
-
|
|
5507
|
+
wasm.wasm_bindgen__closure__destroy__h26a46d7b4587c5e7,
|
|
5508
|
+
wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff,
|
|
5509
5509
|
);
|
|
5510
5510
|
return addHeapObject(ret);
|
|
5511
5511
|
}
|
|
@@ -5515,8 +5515,19 @@ export function __wbindgen_cast_397295739b4135cd(arg0, arg1) {
|
|
|
5515
5515
|
const ret = makeMutClosure(
|
|
5516
5516
|
arg0,
|
|
5517
5517
|
arg1,
|
|
5518
|
-
wasm.
|
|
5519
|
-
|
|
5518
|
+
wasm.wasm_bindgen__closure__destroy__h26a46d7b4587c5e7,
|
|
5519
|
+
wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2,
|
|
5520
|
+
);
|
|
5521
|
+
return addHeapObject(ret);
|
|
5522
|
+
}
|
|
5523
|
+
|
|
5524
|
+
export function __wbindgen_cast_3fbb763e21ae0efe(arg0, arg1) {
|
|
5525
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5526
|
+
const ret = makeMutClosure(
|
|
5527
|
+
arg0,
|
|
5528
|
+
arg1,
|
|
5529
|
+
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5530
|
+
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5520
5531
|
);
|
|
5521
5532
|
return addHeapObject(ret);
|
|
5522
5533
|
}
|
|
@@ -5549,7 +5560,7 @@ export function __wbindgen_cast_930d054add031527(arg0, arg1) {
|
|
|
5549
5560
|
arg0,
|
|
5550
5561
|
arg1,
|
|
5551
5562
|
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5552
|
-
|
|
5563
|
+
wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff,
|
|
5553
5564
|
);
|
|
5554
5565
|
return addHeapObject(ret);
|
|
5555
5566
|
}
|
|
@@ -5560,17 +5571,6 @@ export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
|
5560
5571
|
return addHeapObject(ret);
|
|
5561
5572
|
}
|
|
5562
5573
|
|
|
5563
|
-
export function __wbindgen_cast_9b35fe50b76611f9(arg0, arg1) {
|
|
5564
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 552, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5565
|
-
const ret = makeMutClosure(
|
|
5566
|
-
arg0,
|
|
5567
|
-
arg1,
|
|
5568
|
-
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5569
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5570
|
-
);
|
|
5571
|
-
return addHeapObject(ret);
|
|
5572
|
-
}
|
|
5573
|
-
|
|
5574
5574
|
export function __wbindgen_cast_bfa5a190b0f2e981(arg0, arg1) {
|
|
5575
5575
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5576
5576
|
const ret = makeMutClosure(
|
|
Binary file
|
|
@@ -450,19 +450,19 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
450
450
|
export const __wbg_registrationclient_free: (a: number, b: number) => void;
|
|
451
451
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
452
452
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
453
|
-
export const
|
|
453
|
+
export const wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff: (
|
|
454
454
|
a: number,
|
|
455
455
|
b: number,
|
|
456
456
|
c: number,
|
|
457
|
-
d: number,
|
|
458
457
|
) => void;
|
|
459
|
-
export const
|
|
460
|
-
export const
|
|
458
|
+
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
459
|
+
export const wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2: (
|
|
461
460
|
a: number,
|
|
462
461
|
b: number,
|
|
463
462
|
c: number,
|
|
463
|
+
d: number,
|
|
464
464
|
) => void;
|
|
465
|
-
export const
|
|
465
|
+
export const wasm_bindgen__closure__destroy__h26a46d7b4587c5e7: (a: number, b: number) => void;
|
|
466
466
|
export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
|
|
467
467
|
a: number,
|
|
468
468
|
b: number,
|