@bitwarden/sdk-internal 0.2.0-main.420 → 0.2.0-main.421
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 +437 -437
- package/bitwarden_wasm_internal_bg.js +135 -135
- 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 +437 -437
- package/node/bitwarden_wasm_internal.js +125 -125
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +4 -4
- package/package.json +1 -1
|
@@ -254,33 +254,21 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
254
254
|
return ptr;
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
257
|
-
*
|
|
258
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
257
|
+
* Generate a new SSH key pair
|
|
259
258
|
*
|
|
260
259
|
* # Arguments
|
|
261
|
-
* - `
|
|
262
|
-
* - `password` - The password to use for decrypting the key
|
|
260
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
263
261
|
*
|
|
264
262
|
* # Returns
|
|
265
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
266
|
-
* - `Err(
|
|
267
|
-
*
|
|
268
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
269
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
270
|
-
* @param {string} imported_key
|
|
271
|
-
* @param {string | null} [password]
|
|
263
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
264
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
265
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
272
266
|
* @returns {SshKeyView}
|
|
273
267
|
*/
|
|
274
|
-
exports.
|
|
268
|
+
exports.generate_ssh_key = function (key_algorithm) {
|
|
275
269
|
try {
|
|
276
270
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
277
|
-
|
|
278
|
-
const len0 = WASM_VECTOR_LEN;
|
|
279
|
-
var ptr1 = isLikeNone(password)
|
|
280
|
-
? 0
|
|
281
|
-
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
282
|
-
var len1 = WASM_VECTOR_LEN;
|
|
283
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
271
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
284
272
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
285
273
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
286
274
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -294,21 +282,33 @@ exports.import_ssh_key = function (imported_key, password) {
|
|
|
294
282
|
};
|
|
295
283
|
|
|
296
284
|
/**
|
|
297
|
-
*
|
|
285
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
286
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
298
287
|
*
|
|
299
288
|
* # Arguments
|
|
300
|
-
* - `
|
|
289
|
+
* - `imported_key` - The private key to convert
|
|
290
|
+
* - `password` - The password to use for decrypting the key
|
|
301
291
|
*
|
|
302
292
|
* # Returns
|
|
303
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
304
|
-
* - `Err(
|
|
305
|
-
*
|
|
293
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
294
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
295
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
296
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
297
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
298
|
+
* @param {string} imported_key
|
|
299
|
+
* @param {string | null} [password]
|
|
306
300
|
* @returns {SshKeyView}
|
|
307
301
|
*/
|
|
308
|
-
exports.
|
|
302
|
+
exports.import_ssh_key = function (imported_key, password) {
|
|
309
303
|
try {
|
|
310
304
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
311
|
-
wasm.
|
|
305
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
306
|
+
const len0 = WASM_VECTOR_LEN;
|
|
307
|
+
var ptr1 = isLikeNone(password)
|
|
308
|
+
? 0
|
|
309
|
+
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
310
|
+
var len1 = WASM_VECTOR_LEN;
|
|
311
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
312
312
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
313
313
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
314
314
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -391,9 +391,9 @@ exports.isAccountCryptographyInitializationError = function (error) {
|
|
|
391
391
|
* @param {any} error
|
|
392
392
|
* @returns {boolean}
|
|
393
393
|
*/
|
|
394
|
-
exports.
|
|
394
|
+
exports.isCryptoClientError = function (error) {
|
|
395
395
|
try {
|
|
396
|
-
const ret = wasm.
|
|
396
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
397
397
|
return ret !== 0;
|
|
398
398
|
} finally {
|
|
399
399
|
heap[stack_pointer++] = undefined;
|
|
@@ -404,9 +404,9 @@ exports.isDeriveKeyConnectorError = function (error) {
|
|
|
404
404
|
* @param {any} error
|
|
405
405
|
* @returns {boolean}
|
|
406
406
|
*/
|
|
407
|
-
exports.
|
|
407
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
408
408
|
try {
|
|
409
|
-
const ret = wasm.
|
|
409
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
410
410
|
return ret !== 0;
|
|
411
411
|
} finally {
|
|
412
412
|
heap[stack_pointer++] = undefined;
|
|
@@ -543,9 +543,9 @@ exports.isTypedReceiveError = function (error) {
|
|
|
543
543
|
* @param {any} error
|
|
544
544
|
* @returns {boolean}
|
|
545
545
|
*/
|
|
546
|
-
exports.
|
|
546
|
+
exports.isSubscribeError = function (error) {
|
|
547
547
|
try {
|
|
548
|
-
const ret = wasm.
|
|
548
|
+
const ret = wasm.isSubscribeError(addBorrowedObject(error));
|
|
549
549
|
return ret !== 0;
|
|
550
550
|
} finally {
|
|
551
551
|
heap[stack_pointer++] = undefined;
|
|
@@ -556,9 +556,9 @@ exports.isReceiveError = function (error) {
|
|
|
556
556
|
* @param {any} error
|
|
557
557
|
* @returns {boolean}
|
|
558
558
|
*/
|
|
559
|
-
exports.
|
|
559
|
+
exports.isReceiveError = function (error) {
|
|
560
560
|
try {
|
|
561
|
-
const ret = wasm.
|
|
561
|
+
const ret = wasm.isReceiveError(addBorrowedObject(error));
|
|
562
562
|
return ret !== 0;
|
|
563
563
|
} finally {
|
|
564
564
|
heap[stack_pointer++] = undefined;
|
|
@@ -574,9 +574,9 @@ function _assertClass(instance, klass) {
|
|
|
574
574
|
* @param {any} error
|
|
575
575
|
* @returns {boolean}
|
|
576
576
|
*/
|
|
577
|
-
exports.
|
|
577
|
+
exports.isDeserializeError = function (error) {
|
|
578
578
|
try {
|
|
579
|
-
const ret = wasm.
|
|
579
|
+
const ret = wasm.isDeserializeError(addBorrowedObject(error));
|
|
580
580
|
return ret !== 0;
|
|
581
581
|
} finally {
|
|
582
582
|
heap[stack_pointer++] = undefined;
|
|
@@ -587,9 +587,9 @@ exports.isChannelError = function (error) {
|
|
|
587
587
|
* @param {any} error
|
|
588
588
|
* @returns {boolean}
|
|
589
589
|
*/
|
|
590
|
-
exports.
|
|
590
|
+
exports.isChannelError = function (error) {
|
|
591
591
|
try {
|
|
592
|
-
const ret = wasm.
|
|
592
|
+
const ret = wasm.isChannelError(addBorrowedObject(error));
|
|
593
593
|
return ret !== 0;
|
|
594
594
|
} finally {
|
|
595
595
|
heap[stack_pointer++] = undefined;
|
|
@@ -629,9 +629,9 @@ exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
|
629
629
|
* @param {any} error
|
|
630
630
|
* @returns {boolean}
|
|
631
631
|
*/
|
|
632
|
-
exports.
|
|
632
|
+
exports.isSshKeyExportError = function (error) {
|
|
633
633
|
try {
|
|
634
|
-
const ret = wasm.
|
|
634
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
635
635
|
return ret !== 0;
|
|
636
636
|
} finally {
|
|
637
637
|
heap[stack_pointer++] = undefined;
|
|
@@ -642,9 +642,9 @@ exports.isSshKeyImportError = function (error) {
|
|
|
642
642
|
* @param {any} error
|
|
643
643
|
* @returns {boolean}
|
|
644
644
|
*/
|
|
645
|
-
exports.
|
|
645
|
+
exports.isKeyGenerationError = function (error) {
|
|
646
646
|
try {
|
|
647
|
-
const ret = wasm.
|
|
647
|
+
const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
|
|
648
648
|
return ret !== 0;
|
|
649
649
|
} finally {
|
|
650
650
|
heap[stack_pointer++] = undefined;
|
|
@@ -655,9 +655,9 @@ exports.isSshKeyExportError = function (error) {
|
|
|
655
655
|
* @param {any} error
|
|
656
656
|
* @returns {boolean}
|
|
657
657
|
*/
|
|
658
|
-
exports.
|
|
658
|
+
exports.isSshKeyImportError = function (error) {
|
|
659
659
|
try {
|
|
660
|
-
const ret = wasm.
|
|
660
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
661
661
|
return ret !== 0;
|
|
662
662
|
} finally {
|
|
663
663
|
heap[stack_pointer++] = undefined;
|
|
@@ -733,9 +733,9 @@ exports.isTotpError = function (error) {
|
|
|
733
733
|
* @param {any} error
|
|
734
734
|
* @returns {boolean}
|
|
735
735
|
*/
|
|
736
|
-
exports.
|
|
736
|
+
exports.isEncryptError = function (error) {
|
|
737
737
|
try {
|
|
738
|
-
const ret = wasm.
|
|
738
|
+
const ret = wasm.isEncryptError(addBorrowedObject(error));
|
|
739
739
|
return ret !== 0;
|
|
740
740
|
} finally {
|
|
741
741
|
heap[stack_pointer++] = undefined;
|
|
@@ -746,9 +746,9 @@ exports.isDecryptError = function (error) {
|
|
|
746
746
|
* @param {any} error
|
|
747
747
|
* @returns {boolean}
|
|
748
748
|
*/
|
|
749
|
-
exports.
|
|
749
|
+
exports.isDecryptError = function (error) {
|
|
750
750
|
try {
|
|
751
|
-
const ret = wasm.
|
|
751
|
+
const ret = wasm.isDecryptError(addBorrowedObject(error));
|
|
752
752
|
return ret !== 0;
|
|
753
753
|
} finally {
|
|
754
754
|
heap[stack_pointer++] = undefined;
|
|
@@ -798,9 +798,9 @@ exports.isCreateCipherError = function (error) {
|
|
|
798
798
|
* @param {any} error
|
|
799
799
|
* @returns {boolean}
|
|
800
800
|
*/
|
|
801
|
-
exports.
|
|
801
|
+
exports.isEncryptFileError = function (error) {
|
|
802
802
|
try {
|
|
803
|
-
const ret = wasm.
|
|
803
|
+
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
804
804
|
return ret !== 0;
|
|
805
805
|
} finally {
|
|
806
806
|
heap[stack_pointer++] = undefined;
|
|
@@ -811,9 +811,9 @@ exports.isDecryptFileError = function (error) {
|
|
|
811
811
|
* @param {any} error
|
|
812
812
|
* @returns {boolean}
|
|
813
813
|
*/
|
|
814
|
-
exports.
|
|
814
|
+
exports.isDecryptFileError = function (error) {
|
|
815
815
|
try {
|
|
816
|
-
const ret = wasm.
|
|
816
|
+
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
817
817
|
return ret !== 0;
|
|
818
818
|
} finally {
|
|
819
819
|
heap[stack_pointer++] = undefined;
|
|
@@ -876,18 +876,18 @@ function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg
|
|
|
876
876
|
wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
function
|
|
880
|
-
wasm.
|
|
879
|
+
function wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(arg0, arg1, arg2) {
|
|
880
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff(
|
|
881
881
|
arg0,
|
|
882
882
|
arg1,
|
|
883
883
|
addHeapObject(arg2),
|
|
884
884
|
);
|
|
885
885
|
}
|
|
886
886
|
|
|
887
|
-
function
|
|
887
|
+
function wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(arg0, arg1, arg2) {
|
|
888
888
|
try {
|
|
889
889
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
890
|
-
wasm.
|
|
890
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2(
|
|
891
891
|
retptr,
|
|
892
892
|
arg0,
|
|
893
893
|
arg1,
|
|
@@ -4589,7 +4589,7 @@ exports.__wbg_abort_e7eb059f72f9ed0c = function (arg0) {
|
|
|
4589
4589
|
getObject(arg0).abort();
|
|
4590
4590
|
};
|
|
4591
4591
|
|
|
4592
|
-
exports.
|
|
4592
|
+
exports.__wbg_addEventListener_2a32c0afd1525001 = function (arg0, arg1, arg2, arg3) {
|
|
4593
4593
|
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
4594
4594
|
};
|
|
4595
4595
|
|
|
@@ -4642,7 +4642,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4642
4642
|
}, arguments);
|
|
4643
4643
|
};
|
|
4644
4644
|
|
|
4645
|
-
exports.
|
|
4645
|
+
exports.__wbg_cipher_a8e5bca3fa535748 = function (arg0) {
|
|
4646
4646
|
const ret = getObject(arg0).cipher;
|
|
4647
4647
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4648
4648
|
};
|
|
@@ -4735,7 +4735,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4735
4735
|
return addHeapObject(ret);
|
|
4736
4736
|
};
|
|
4737
4737
|
|
|
4738
|
-
exports.
|
|
4738
|
+
exports.__wbg_folder_0d17faa11eda84be = function (arg0) {
|
|
4739
4739
|
const ret = getObject(arg0).folder;
|
|
4740
4740
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4741
4741
|
};
|
|
@@ -4768,7 +4768,12 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4768
4768
|
return ret;
|
|
4769
4769
|
};
|
|
4770
4770
|
|
|
4771
|
-
exports.
|
|
4771
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4772
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4773
|
+
return addHeapObject(ret);
|
|
4774
|
+
};
|
|
4775
|
+
|
|
4776
|
+
exports.__wbg_get_906612b83779a7a5 = function () {
|
|
4772
4777
|
return handleError(function (arg0, arg1, arg2) {
|
|
4773
4778
|
let deferred0_0;
|
|
4774
4779
|
let deferred0_1;
|
|
@@ -4783,7 +4788,19 @@ exports.__wbg_get_11943c0638e5fe5b = function () {
|
|
|
4783
4788
|
}, arguments);
|
|
4784
4789
|
};
|
|
4785
4790
|
|
|
4786
|
-
exports.
|
|
4791
|
+
exports.__wbg_get_access_token_3d47691e30d95b50 = function (arg0) {
|
|
4792
|
+
const ret = getObject(arg0).get_access_token();
|
|
4793
|
+
return addHeapObject(ret);
|
|
4794
|
+
};
|
|
4795
|
+
|
|
4796
|
+
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4797
|
+
return handleError(function (arg0, arg1) {
|
|
4798
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4799
|
+
return addHeapObject(ret);
|
|
4800
|
+
}, arguments);
|
|
4801
|
+
};
|
|
4802
|
+
|
|
4803
|
+
exports.__wbg_get_f2b4178b803b7230 = function () {
|
|
4787
4804
|
return handleError(function (arg0, arg1, arg2) {
|
|
4788
4805
|
let deferred0_0;
|
|
4789
4806
|
let deferred0_1;
|
|
@@ -4798,23 +4815,6 @@ exports.__wbg_get_505b6c457773bb23 = function () {
|
|
|
4798
4815
|
}, arguments);
|
|
4799
4816
|
};
|
|
4800
4817
|
|
|
4801
|
-
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4802
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4803
|
-
return addHeapObject(ret);
|
|
4804
|
-
};
|
|
4805
|
-
|
|
4806
|
-
exports.__wbg_get_access_token_aab04c074ce3ec84 = function (arg0) {
|
|
4807
|
-
const ret = getObject(arg0).get_access_token();
|
|
4808
|
-
return addHeapObject(ret);
|
|
4809
|
-
};
|
|
4810
|
-
|
|
4811
|
-
exports.__wbg_get_efcb449f58ec27c2 = function () {
|
|
4812
|
-
return handleError(function (arg0, arg1) {
|
|
4813
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4814
|
-
return addHeapObject(ret);
|
|
4815
|
-
}, arguments);
|
|
4816
|
-
};
|
|
4817
|
-
|
|
4818
4818
|
exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
|
|
4819
4819
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4820
4820
|
return addHeapObject(ret);
|
|
@@ -4999,14 +4999,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
4999
4999
|
return ret;
|
|
5000
5000
|
};
|
|
5001
5001
|
|
|
5002
|
-
exports.
|
|
5002
|
+
exports.__wbg_list_1032c4807ee9c2ce = function () {
|
|
5003
5003
|
return handleError(function (arg0) {
|
|
5004
5004
|
const ret = getObject(arg0).list();
|
|
5005
5005
|
return addHeapObject(ret);
|
|
5006
5006
|
}, arguments);
|
|
5007
5007
|
};
|
|
5008
5008
|
|
|
5009
|
-
exports.
|
|
5009
|
+
exports.__wbg_list_a655c254b723e34b = function () {
|
|
5010
5010
|
return handleError(function (arg0) {
|
|
5011
5011
|
const ret = getObject(arg0).list();
|
|
5012
5012
|
return addHeapObject(ret);
|
|
@@ -5059,6 +5059,19 @@ exports.__wbg_new_0_f9740686d739025c = function () {
|
|
|
5059
5059
|
return addHeapObject(ret);
|
|
5060
5060
|
};
|
|
5061
5061
|
|
|
5062
|
+
exports.__wbg_new_122699422a56c70d = function (arg0, arg1) {
|
|
5063
|
+
let deferred0_0;
|
|
5064
|
+
let deferred0_1;
|
|
5065
|
+
try {
|
|
5066
|
+
deferred0_0 = arg0;
|
|
5067
|
+
deferred0_1 = arg1;
|
|
5068
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5069
|
+
return addHeapObject(ret);
|
|
5070
|
+
} finally {
|
|
5071
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5072
|
+
}
|
|
5073
|
+
};
|
|
5074
|
+
|
|
5062
5075
|
exports.__wbg_new_1acc0b6eea89d040 = function () {
|
|
5063
5076
|
const ret = new Object();
|
|
5064
5077
|
return addHeapObject(ret);
|
|
@@ -5134,19 +5147,6 @@ exports.__wbg_new_e17d9f43105b08be = function () {
|
|
|
5134
5147
|
return addHeapObject(ret);
|
|
5135
5148
|
};
|
|
5136
5149
|
|
|
5137
|
-
exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
|
|
5138
|
-
let deferred0_0;
|
|
5139
|
-
let deferred0_1;
|
|
5140
|
-
try {
|
|
5141
|
-
deferred0_0 = arg0;
|
|
5142
|
-
deferred0_1 = arg1;
|
|
5143
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
5144
|
-
return addHeapObject(ret);
|
|
5145
|
-
} finally {
|
|
5146
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5147
|
-
}
|
|
5148
|
-
};
|
|
5149
|
-
|
|
5150
5150
|
exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function (arg0, arg1) {
|
|
5151
5151
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
5152
5152
|
return addHeapObject(ret);
|
|
@@ -5250,7 +5250,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5250
5250
|
}, arguments);
|
|
5251
5251
|
};
|
|
5252
5252
|
|
|
5253
|
-
exports.
|
|
5253
|
+
exports.__wbg_remove_4bd5c377165db91f = function () {
|
|
5254
5254
|
return handleError(function (arg0, arg1, arg2) {
|
|
5255
5255
|
let deferred0_0;
|
|
5256
5256
|
let deferred0_1;
|
|
@@ -5265,7 +5265,7 @@ exports.__wbg_remove_3e40156c849a4a8a = function () {
|
|
|
5265
5265
|
}, arguments);
|
|
5266
5266
|
};
|
|
5267
5267
|
|
|
5268
|
-
exports.
|
|
5268
|
+
exports.__wbg_remove_70f6b26ca7135eb7 = function () {
|
|
5269
5269
|
return handleError(function (arg0, arg1, arg2) {
|
|
5270
5270
|
let deferred0_0;
|
|
5271
5271
|
let deferred0_1;
|
|
@@ -5299,7 +5299,7 @@ exports.__wbg_result_25e75004b82b9830 = function () {
|
|
|
5299
5299
|
}, arguments);
|
|
5300
5300
|
};
|
|
5301
5301
|
|
|
5302
|
-
exports.
|
|
5302
|
+
exports.__wbg_send_8b64d9aa7f1992ee = function () {
|
|
5303
5303
|
return handleError(function (arg0, arg1) {
|
|
5304
5304
|
const ret = getObject(arg0).send(OutgoingMessage.__wrap(arg1));
|
|
5305
5305
|
return addHeapObject(ret);
|
|
@@ -5311,11 +5311,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
5311
5311
|
return addHeapObject(ret);
|
|
5312
5312
|
};
|
|
5313
5313
|
|
|
5314
|
-
exports.
|
|
5315
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5316
|
-
};
|
|
5317
|
-
|
|
5318
|
-
exports.__wbg_set_62a9cc649615f052 = function () {
|
|
5314
|
+
exports.__wbg_set_11a079cace77951c = function () {
|
|
5319
5315
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5320
5316
|
let deferred0_0;
|
|
5321
5317
|
let deferred0_1;
|
|
@@ -5330,7 +5326,16 @@ exports.__wbg_set_62a9cc649615f052 = function () {
|
|
|
5330
5326
|
}, arguments);
|
|
5331
5327
|
};
|
|
5332
5328
|
|
|
5333
|
-
exports.
|
|
5329
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5330
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5331
|
+
};
|
|
5332
|
+
|
|
5333
|
+
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5334
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5335
|
+
return addHeapObject(ret);
|
|
5336
|
+
};
|
|
5337
|
+
|
|
5338
|
+
exports.__wbg_set_95709825d99cadb3 = function () {
|
|
5334
5339
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5335
5340
|
let deferred0_0;
|
|
5336
5341
|
let deferred0_1;
|
|
@@ -5345,11 +5350,6 @@ exports.__wbg_set_6a9e52fb6cbb2251 = function () {
|
|
|
5345
5350
|
}, arguments);
|
|
5346
5351
|
};
|
|
5347
5352
|
|
|
5348
|
-
exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
|
|
5349
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5350
|
-
return addHeapObject(ret);
|
|
5351
|
-
};
|
|
5352
|
-
|
|
5353
5353
|
exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
|
|
5354
5354
|
getObject(arg0).body = getObject(arg1);
|
|
5355
5355
|
};
|
|
@@ -5381,7 +5381,7 @@ exports.__wbg_set_mode_52ef73cfa79639cb = function (arg0, arg1) {
|
|
|
5381
5381
|
getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
|
|
5382
5382
|
};
|
|
5383
5383
|
|
|
5384
|
-
exports.
|
|
5384
|
+
exports.__wbg_set_name_f4b29c43a961f90e = function (arg0, arg1, arg2) {
|
|
5385
5385
|
let deferred0_0;
|
|
5386
5386
|
let deferred0_1;
|
|
5387
5387
|
try {
|
|
@@ -5413,7 +5413,7 @@ exports.__wbg_set_type_63fa4c18251f6545 = function (arg0, arg1, arg2) {
|
|
|
5413
5413
|
getObject(arg0).type = getStringFromWasm0(arg1, arg2);
|
|
5414
5414
|
};
|
|
5415
5415
|
|
|
5416
|
-
exports.
|
|
5416
|
+
exports.__wbg_set_variant_753180e89ea29c02 = function (arg0, arg1, arg2) {
|
|
5417
5417
|
let deferred0_0;
|
|
5418
5418
|
let deferred0_1;
|
|
5419
5419
|
try {
|
|
@@ -5544,8 +5544,8 @@ exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
|
|
|
5544
5544
|
const ret = makeMutClosure(
|
|
5545
5545
|
arg0,
|
|
5546
5546
|
arg1,
|
|
5547
|
-
wasm.
|
|
5548
|
-
|
|
5547
|
+
wasm.wasm_bindgen__closure__destroy__h26a46d7b4587c5e7,
|
|
5548
|
+
wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff,
|
|
5549
5549
|
);
|
|
5550
5550
|
return addHeapObject(ret);
|
|
5551
5551
|
};
|
|
@@ -5555,8 +5555,19 @@ exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
|
|
|
5555
5555
|
const ret = makeMutClosure(
|
|
5556
5556
|
arg0,
|
|
5557
5557
|
arg1,
|
|
5558
|
-
wasm.
|
|
5559
|
-
|
|
5558
|
+
wasm.wasm_bindgen__closure__destroy__h26a46d7b4587c5e7,
|
|
5559
|
+
wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2,
|
|
5560
|
+
);
|
|
5561
|
+
return addHeapObject(ret);
|
|
5562
|
+
};
|
|
5563
|
+
|
|
5564
|
+
exports.__wbindgen_cast_3fbb763e21ae0efe = function (arg0, arg1) {
|
|
5565
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5566
|
+
const ret = makeMutClosure(
|
|
5567
|
+
arg0,
|
|
5568
|
+
arg1,
|
|
5569
|
+
wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
|
|
5570
|
+
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5560
5571
|
);
|
|
5561
5572
|
return addHeapObject(ret);
|
|
5562
5573
|
};
|
|
@@ -5589,7 +5600,7 @@ exports.__wbindgen_cast_930d054add031527 = function (arg0, arg1) {
|
|
|
5589
5600
|
arg0,
|
|
5590
5601
|
arg1,
|
|
5591
5602
|
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5592
|
-
|
|
5603
|
+
wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff,
|
|
5593
5604
|
);
|
|
5594
5605
|
return addHeapObject(ret);
|
|
5595
5606
|
};
|
|
@@ -5600,17 +5611,6 @@ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
|
5600
5611
|
return addHeapObject(ret);
|
|
5601
5612
|
};
|
|
5602
5613
|
|
|
5603
|
-
exports.__wbindgen_cast_9b35fe50b76611f9 = function (arg0, arg1) {
|
|
5604
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 552, 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,
|
|
5610
|
-
);
|
|
5611
|
-
return addHeapObject(ret);
|
|
5612
|
-
};
|
|
5613
|
-
|
|
5614
5614
|
exports.__wbindgen_cast_bfa5a190b0f2e981 = function (arg0, arg1) {
|
|
5615
5615
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5616
5616
|
const ret = makeMutClosure(
|
|
Binary file
|
|
@@ -455,14 +455,14 @@ export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
|
|
|
455
455
|
b: number,
|
|
456
456
|
) => void;
|
|
457
457
|
export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
|
|
458
|
-
export const
|
|
458
|
+
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
459
|
+
export const wasm_bindgen__convert__closures_____invoke__h5dc58f913e716aff: (
|
|
459
460
|
a: number,
|
|
460
461
|
b: number,
|
|
461
462
|
c: number,
|
|
462
463
|
) => void;
|
|
463
|
-
export const
|
|
464
|
-
export const
|
|
465
|
-
export const wasm_bindgen__convert__closures_____invoke__h3cc396d089734e5b: (
|
|
464
|
+
export const wasm_bindgen__closure__destroy__h26a46d7b4587c5e7: (a: number, b: number) => void;
|
|
465
|
+
export const wasm_bindgen__convert__closures_____invoke__h280b016db3e219a2: (
|
|
466
466
|
a: number,
|
|
467
467
|
b: number,
|
|
468
468
|
c: number,
|