@bitwarden/sdk-internal 0.2.0-main.425 → 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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +468 -468
- package/bitwarden_wasm_internal_bg.js +70 -70
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +7 -7
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +468 -468
- package/node/bitwarden_wasm_internal.js +66 -66
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +8 -8
- package/package.json +1 -1
|
@@ -391,9 +391,9 @@ exports.isAccountCryptographyInitializationError = function (error) {
|
|
|
391
391
|
* @param {any} error
|
|
392
392
|
* @returns {boolean}
|
|
393
393
|
*/
|
|
394
|
-
exports.
|
|
394
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
395
395
|
try {
|
|
396
|
-
const ret = wasm.
|
|
396
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
397
397
|
return ret !== 0;
|
|
398
398
|
} finally {
|
|
399
399
|
heap[stack_pointer++] = undefined;
|
|
@@ -417,9 +417,9 @@ exports.isEnrollAdminPasswordResetError = function (error) {
|
|
|
417
417
|
* @param {any} error
|
|
418
418
|
* @returns {boolean}
|
|
419
419
|
*/
|
|
420
|
-
exports.
|
|
420
|
+
exports.isCryptoClientError = function (error) {
|
|
421
421
|
try {
|
|
422
|
-
const ret = wasm.
|
|
422
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
423
423
|
return ret !== 0;
|
|
424
424
|
} finally {
|
|
425
425
|
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.isSshKeyExportError = function (error) {
|
|
659
659
|
try {
|
|
660
|
-
const ret = wasm.
|
|
660
|
+
const ret = wasm.isSshKeyExportError(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.isDecryptFileError = function (error) {
|
|
802
802
|
try {
|
|
803
|
-
const ret = wasm.
|
|
803
|
+
const ret = wasm.isDecryptFileError(addBorrowedObject(error));
|
|
804
804
|
return ret !== 0;
|
|
805
805
|
} finally {
|
|
806
806
|
heap[stack_pointer++] = undefined;
|
|
@@ -811,9 +811,9 @@ exports.isEncryptFileError = function (error) {
|
|
|
811
811
|
* @param {any} error
|
|
812
812
|
* @returns {boolean}
|
|
813
813
|
*/
|
|
814
|
-
exports.
|
|
814
|
+
exports.isEncryptFileError = function (error) {
|
|
815
815
|
try {
|
|
816
|
-
const ret = wasm.
|
|
816
|
+
const ret = wasm.isEncryptFileError(addBorrowedObject(error));
|
|
817
817
|
return ret !== 0;
|
|
818
818
|
} finally {
|
|
819
819
|
heap[stack_pointer++] = undefined;
|
|
@@ -872,22 +872,18 @@ exports.isGetFolderError = function (error) {
|
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
|
|
875
|
-
function
|
|
876
|
-
wasm.
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
function wasm_bindgen__convert__closures_____invoke__h0e054f67fdf6fa61(arg0, arg1, arg2) {
|
|
880
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h0e054f67fdf6fa61(
|
|
875
|
+
function wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(arg0, arg1, arg2) {
|
|
876
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820(
|
|
881
877
|
arg0,
|
|
882
878
|
arg1,
|
|
883
879
|
addHeapObject(arg2),
|
|
884
880
|
);
|
|
885
881
|
}
|
|
886
882
|
|
|
887
|
-
function
|
|
883
|
+
function wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b(arg0, arg1, arg2) {
|
|
888
884
|
try {
|
|
889
885
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
890
|
-
wasm.
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b(
|
|
891
887
|
retptr,
|
|
892
888
|
arg0,
|
|
893
889
|
arg1,
|
|
@@ -903,6 +899,10 @@ function wasm_bindgen__convert__closures_____invoke__he7d072dd274b3928(arg0, arg
|
|
|
903
899
|
}
|
|
904
900
|
}
|
|
905
901
|
|
|
902
|
+
function wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1) {
|
|
903
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373(arg0, arg1);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
906
|
function wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(arg0, arg1, arg2, arg3) {
|
|
907
907
|
wasm.wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(
|
|
908
908
|
arg0,
|
|
@@ -4642,7 +4642,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4642
4642
|
}, arguments);
|
|
4643
4643
|
};
|
|
4644
4644
|
|
|
4645
|
-
exports.
|
|
4645
|
+
exports.__wbg_cipher_dca8572b1d6cb130 = 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_8c6c22f085c648d5 = function (arg0) {
|
|
4739
4739
|
const ret = getObject(arg0).folder;
|
|
4740
4740
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4741
4741
|
};
|
|
@@ -4768,17 +4768,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4768
4768
|
return ret;
|
|
4769
4769
|
};
|
|
4770
4770
|
|
|
4771
|
-
exports.
|
|
4772
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4773
|
-
return addHeapObject(ret);
|
|
4774
|
-
};
|
|
4775
|
-
|
|
4776
|
-
exports.__wbg_get_access_token_e2133519f41a6ac7 = function (arg0) {
|
|
4777
|
-
const ret = getObject(arg0).get_access_token();
|
|
4778
|
-
return addHeapObject(ret);
|
|
4779
|
-
};
|
|
4780
|
-
|
|
4781
|
-
exports.__wbg_get_cd62268d8c087001 = function () {
|
|
4771
|
+
exports.__wbg_get_1747ea6e550a3680 = function () {
|
|
4782
4772
|
return handleError(function (arg0, arg1, arg2) {
|
|
4783
4773
|
let deferred0_0;
|
|
4784
4774
|
let deferred0_1;
|
|
@@ -4793,7 +4783,17 @@ exports.__wbg_get_cd62268d8c087001 = function () {
|
|
|
4793
4783
|
}, arguments);
|
|
4794
4784
|
};
|
|
4795
4785
|
|
|
4796
|
-
exports.
|
|
4786
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4787
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4788
|
+
return addHeapObject(ret);
|
|
4789
|
+
};
|
|
4790
|
+
|
|
4791
|
+
exports.__wbg_get_access_token_37b176ffb3668729 = function (arg0) {
|
|
4792
|
+
const ret = getObject(arg0).get_access_token();
|
|
4793
|
+
return addHeapObject(ret);
|
|
4794
|
+
};
|
|
4795
|
+
|
|
4796
|
+
exports.__wbg_get_c0f7e010f25b83b7 = function () {
|
|
4797
4797
|
return handleError(function (arg0, arg1, arg2) {
|
|
4798
4798
|
let deferred0_0;
|
|
4799
4799
|
let deferred0_1;
|
|
@@ -4999,14 +4999,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
4999
4999
|
return ret;
|
|
5000
5000
|
};
|
|
5001
5001
|
|
|
5002
|
-
exports.
|
|
5002
|
+
exports.__wbg_list_7cbae88b8c1f2846 = 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_cbd6655ebbf2aaaf = function () {
|
|
5010
5010
|
return handleError(function (arg0) {
|
|
5011
5011
|
const ret = getObject(arg0).list();
|
|
5012
5012
|
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_97eba017d94cfbe1 = 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_486de06f6037d12d = function () {
|
|
|
5265
5265
|
}, arguments);
|
|
5266
5266
|
};
|
|
5267
5267
|
|
|
5268
|
-
exports.
|
|
5268
|
+
exports.__wbg_remove_e963b2cd3de803fb = function () {
|
|
5269
5269
|
return handleError(function (arg0, arg1, arg2) {
|
|
5270
5270
|
let deferred0_0;
|
|
5271
5271
|
let deferred0_1;
|
|
@@ -5339,7 +5339,7 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
|
|
|
5339
5339
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5340
5340
|
};
|
|
5341
5341
|
|
|
5342
|
-
exports.
|
|
5342
|
+
exports.__wbg_set_d9516e26a6ff5fe9 = function () {
|
|
5343
5343
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5344
5344
|
let deferred0_0;
|
|
5345
5345
|
let deferred0_1;
|
|
@@ -5354,7 +5354,7 @@ exports.__wbg_set_d16463df2409068d = function () {
|
|
|
5354
5354
|
}, arguments);
|
|
5355
5355
|
};
|
|
5356
5356
|
|
|
5357
|
-
exports.
|
|
5357
|
+
exports.__wbg_set_f1e6b0194d67f6ad = function () {
|
|
5358
5358
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5359
5359
|
let deferred0_0;
|
|
5360
5360
|
let deferred0_1;
|
|
@@ -5533,6 +5533,17 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
|
5533
5533
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5534
5534
|
};
|
|
5535
5535
|
|
|
5536
|
+
exports.__wbindgen_cast_18e7d5b03ebc0b46 = function (arg0, arg1) {
|
|
5537
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5538
|
+
const ret = makeMutClosure(
|
|
5539
|
+
arg0,
|
|
5540
|
+
arg1,
|
|
5541
|
+
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5542
|
+
wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
|
|
5543
|
+
);
|
|
5544
|
+
return addHeapObject(ret);
|
|
5545
|
+
};
|
|
5546
|
+
|
|
5536
5547
|
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5537
5548
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5538
5549
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
@@ -5544,8 +5555,8 @@ exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
|
|
|
5544
5555
|
const ret = makeMutClosure(
|
|
5545
5556
|
arg0,
|
|
5546
5557
|
arg1,
|
|
5547
|
-
wasm.
|
|
5548
|
-
|
|
5558
|
+
wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
|
|
5559
|
+
wasm_bindgen__convert__closures_____invoke__h4c674a07d62b8820,
|
|
5549
5560
|
);
|
|
5550
5561
|
return addHeapObject(ret);
|
|
5551
5562
|
};
|
|
@@ -5555,8 +5566,8 @@ exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
|
|
|
5555
5566
|
const ret = makeMutClosure(
|
|
5556
5567
|
arg0,
|
|
5557
5568
|
arg1,
|
|
5558
|
-
wasm.
|
|
5559
|
-
|
|
5569
|
+
wasm.wasm_bindgen__closure__destroy__h563da61d09f48819,
|
|
5570
|
+
wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b,
|
|
5560
5571
|
);
|
|
5561
5572
|
return addHeapObject(ret);
|
|
5562
5573
|
};
|
|
@@ -5575,13 +5586,13 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
|
5575
5586
|
return addHeapObject(ret);
|
|
5576
5587
|
};
|
|
5577
5588
|
|
|
5578
|
-
exports.
|
|
5579
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx:
|
|
5589
|
+
exports.__wbindgen_cast_6e095a3d144cfbd7 = function (arg0, arg1) {
|
|
5590
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 554, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5580
5591
|
const ret = makeMutClosure(
|
|
5581
5592
|
arg0,
|
|
5582
5593
|
arg1,
|
|
5583
|
-
wasm.
|
|
5584
|
-
|
|
5594
|
+
wasm.wasm_bindgen__closure__destroy__h602c026e8307a31b,
|
|
5595
|
+
wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
|
|
5585
5596
|
);
|
|
5586
5597
|
return addHeapObject(ret);
|
|
5587
5598
|
};
|
|
@@ -5594,13 +5605,13 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
|
5594
5605
|
return addHeapObject(ret);
|
|
5595
5606
|
};
|
|
5596
5607
|
|
|
5597
|
-
exports.
|
|
5598
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5608
|
+
exports.__wbindgen_cast_8340b5b160d85933 = function (arg0, arg1) {
|
|
5609
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [], shim_idx: 305, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5599
5610
|
const ret = makeMutClosure(
|
|
5600
5611
|
arg0,
|
|
5601
5612
|
arg1,
|
|
5602
5613
|
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5603
|
-
|
|
5614
|
+
wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373,
|
|
5604
5615
|
);
|
|
5605
5616
|
return addHeapObject(ret);
|
|
5606
5617
|
};
|
|
@@ -5611,17 +5622,6 @@ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
|
5611
5622
|
return addHeapObject(ret);
|
|
5612
5623
|
};
|
|
5613
5624
|
|
|
5614
|
-
exports.__wbindgen_cast_bfa5a190b0f2e981 = function (arg0, arg1) {
|
|
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
|
-
const ret = makeMutClosure(
|
|
5617
|
-
arg0,
|
|
5618
|
-
arg1,
|
|
5619
|
-
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5620
|
-
wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
|
|
5621
|
-
);
|
|
5622
|
-
return addHeapObject(ret);
|
|
5623
|
-
};
|
|
5624
|
-
|
|
5625
5625
|
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5626
5626
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5627
5627
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
Binary file
|
|
@@ -450,24 +450,24 @@ 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__h4c674a07d62b8820: (
|
|
454
454
|
a: number,
|
|
455
455
|
b: number,
|
|
456
|
+
c: number,
|
|
456
457
|
) => void;
|
|
457
|
-
export const
|
|
458
|
-
export const
|
|
458
|
+
export const wasm_bindgen__closure__destroy__h563da61d09f48819: (a: number, b: number) => void;
|
|
459
|
+
export const wasm_bindgen__convert__closures_____invoke__hea2276c16b64824b: (
|
|
459
460
|
a: number,
|
|
460
461
|
b: number,
|
|
461
462
|
c: number,
|
|
463
|
+
d: number,
|
|
462
464
|
) => void;
|
|
463
|
-
export const
|
|
464
|
-
export const wasm_bindgen__convert__closures_____invoke__he7d072dd274b3928: (
|
|
465
|
+
export const wasm_bindgen__convert__closures_____invoke__h1920d8a7b3007373: (
|
|
465
466
|
a: number,
|
|
466
467
|
b: number,
|
|
467
|
-
c: number,
|
|
468
|
-
d: number,
|
|
469
468
|
) => void;
|
|
470
|
-
export const
|
|
469
|
+
export const wasm_bindgen__closure__destroy__h602c026e8307a31b: (a: number, b: number) => void;
|
|
470
|
+
export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
|
|
471
471
|
export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
|
|
472
472
|
a: number,
|
|
473
473
|
b: number,
|