@bitwarden/commercial-sdk-internal 0.2.0-main.467 → 0.2.0-main.469
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 +423 -423
- package/bitwarden_wasm_internal_bg.js +48 -48
- 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 +423 -423
- package/node/bitwarden_wasm_internal.js +50 -50
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +7 -7
- package/package.json +1 -1
|
@@ -395,9 +395,9 @@ exports.isAccountCryptographyInitializationError = function(error) {
|
|
|
395
395
|
* @param {any} error
|
|
396
396
|
* @returns {boolean}
|
|
397
397
|
*/
|
|
398
|
-
exports.
|
|
398
|
+
exports.isEnrollAdminPasswordResetError = function(error) {
|
|
399
399
|
try {
|
|
400
|
-
const ret = wasm.
|
|
400
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
401
401
|
return ret !== 0;
|
|
402
402
|
} finally {
|
|
403
403
|
heap[stack_pointer++] = undefined;
|
|
@@ -408,9 +408,9 @@ exports.isCryptoClientError = function(error) {
|
|
|
408
408
|
* @param {any} error
|
|
409
409
|
* @returns {boolean}
|
|
410
410
|
*/
|
|
411
|
-
exports.
|
|
411
|
+
exports.isMakeKeysError = function(error) {
|
|
412
412
|
try {
|
|
413
|
-
const ret = wasm.
|
|
413
|
+
const ret = wasm.isMakeKeysError(addBorrowedObject(error));
|
|
414
414
|
return ret !== 0;
|
|
415
415
|
} finally {
|
|
416
416
|
heap[stack_pointer++] = undefined;
|
|
@@ -421,9 +421,9 @@ exports.isEnrollAdminPasswordResetError = function(error) {
|
|
|
421
421
|
* @param {any} error
|
|
422
422
|
* @returns {boolean}
|
|
423
423
|
*/
|
|
424
|
-
exports.
|
|
424
|
+
exports.isDeriveKeyConnectorError = function(error) {
|
|
425
425
|
try {
|
|
426
|
-
const ret = wasm.
|
|
426
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
427
427
|
return ret !== 0;
|
|
428
428
|
} finally {
|
|
429
429
|
heap[stack_pointer++] = undefined;
|
|
@@ -434,9 +434,9 @@ exports.isMakeKeysError = function(error) {
|
|
|
434
434
|
* @param {any} error
|
|
435
435
|
* @returns {boolean}
|
|
436
436
|
*/
|
|
437
|
-
exports.
|
|
437
|
+
exports.isCryptoClientError = function(error) {
|
|
438
438
|
try {
|
|
439
|
-
const ret = wasm.
|
|
439
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
440
440
|
return ret !== 0;
|
|
441
441
|
} finally {
|
|
442
442
|
heap[stack_pointer++] = undefined;
|
|
@@ -642,9 +642,9 @@ exports.ipcRequestDiscover = function(ipc_client, destination, abort_signal) {
|
|
|
642
642
|
* @param {any} error
|
|
643
643
|
* @returns {boolean}
|
|
644
644
|
*/
|
|
645
|
-
exports.
|
|
645
|
+
exports.isSshKeyExportError = function(error) {
|
|
646
646
|
try {
|
|
647
|
-
const ret = wasm.
|
|
647
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
648
648
|
return ret !== 0;
|
|
649
649
|
} finally {
|
|
650
650
|
heap[stack_pointer++] = undefined;
|
|
@@ -668,9 +668,9 @@ exports.isKeyGenerationError = function(error) {
|
|
|
668
668
|
* @param {any} error
|
|
669
669
|
* @returns {boolean}
|
|
670
670
|
*/
|
|
671
|
-
exports.
|
|
671
|
+
exports.isSshKeyImportError = function(error) {
|
|
672
672
|
try {
|
|
673
|
-
const ret = wasm.
|
|
673
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
674
674
|
return ret !== 0;
|
|
675
675
|
} finally {
|
|
676
676
|
heap[stack_pointer++] = undefined;
|
|
@@ -976,10 +976,14 @@ exports.isGetFolderError = function(error) {
|
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
-
function
|
|
979
|
+
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
980
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
|
|
980
984
|
try {
|
|
981
985
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
982
|
-
wasm.
|
|
986
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(retptr, arg0, arg1, addHeapObject(arg2));
|
|
983
987
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
984
988
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
985
989
|
if (r1) {
|
|
@@ -994,10 +998,6 @@ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg
|
|
|
994
998
|
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
995
999
|
}
|
|
996
1000
|
|
|
997
|
-
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
998
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
1001
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1002
1002
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1003
1003
|
}
|
|
@@ -4830,7 +4830,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
|
|
|
4830
4830
|
return addHeapObject(ret);
|
|
4831
4831
|
}, arguments) };
|
|
4832
4832
|
|
|
4833
|
-
exports.
|
|
4833
|
+
exports.__wbg_cipher_2d4ed2050451fb68 = function(arg0) {
|
|
4834
4834
|
const ret = getObject(arg0).cipher;
|
|
4835
4835
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4836
4836
|
};
|
|
@@ -4922,7 +4922,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
|
4922
4922
|
return addHeapObject(ret);
|
|
4923
4923
|
};
|
|
4924
4924
|
|
|
4925
|
-
exports.
|
|
4925
|
+
exports.__wbg_folder_2ecd0840a56a1fc6 = function(arg0) {
|
|
4926
4926
|
const ret = getObject(arg0).folder;
|
|
4927
4927
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4928
4928
|
};
|
|
@@ -4954,7 +4954,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
|
4954
4954
|
return ret;
|
|
4955
4955
|
};
|
|
4956
4956
|
|
|
4957
|
-
exports.
|
|
4957
|
+
exports.__wbg_get_0cc6bb3949df4ac2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4958
4958
|
let deferred0_0;
|
|
4959
4959
|
let deferred0_1;
|
|
4960
4960
|
try {
|
|
@@ -4967,12 +4967,7 @@ exports.__wbg_get_56e283668aa150cc = function() { return handleError(function (a
|
|
|
4967
4967
|
}
|
|
4968
4968
|
}, arguments) };
|
|
4969
4969
|
|
|
4970
|
-
exports.
|
|
4971
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4972
|
-
return addHeapObject(ret);
|
|
4973
|
-
};
|
|
4974
|
-
|
|
4975
|
-
exports.__wbg_get_85d49d70c78f7756 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4970
|
+
exports.__wbg_get_79c4822ce7ab6745 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4976
4971
|
let deferred0_0;
|
|
4977
4972
|
let deferred0_1;
|
|
4978
4973
|
try {
|
|
@@ -4985,7 +4980,12 @@ exports.__wbg_get_85d49d70c78f7756 = function() { return handleError(function (a
|
|
|
4985
4980
|
}
|
|
4986
4981
|
}, arguments) };
|
|
4987
4982
|
|
|
4988
|
-
exports.
|
|
4983
|
+
exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
4984
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4985
|
+
return addHeapObject(ret);
|
|
4986
|
+
};
|
|
4987
|
+
|
|
4988
|
+
exports.__wbg_get_access_token_2d94948131a21b38 = function(arg0) {
|
|
4989
4989
|
const ret = getObject(arg0).get_access_token();
|
|
4990
4990
|
return addHeapObject(ret);
|
|
4991
4991
|
};
|
|
@@ -5178,12 +5178,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
|
5178
5178
|
return ret;
|
|
5179
5179
|
};
|
|
5180
5180
|
|
|
5181
|
-
exports.
|
|
5181
|
+
exports.__wbg_list_48a4957641f7fd07 = function() { return handleError(function (arg0) {
|
|
5182
5182
|
const ret = getObject(arg0).list();
|
|
5183
5183
|
return addHeapObject(ret);
|
|
5184
5184
|
}, arguments) };
|
|
5185
5185
|
|
|
5186
|
-
exports.
|
|
5186
|
+
exports.__wbg_list_5dfc70b12787e5aa = function() { return handleError(function (arg0) {
|
|
5187
5187
|
const ret = getObject(arg0).list();
|
|
5188
5188
|
return addHeapObject(ret);
|
|
5189
5189
|
}, arguments) };
|
|
@@ -5405,7 +5405,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
|
|
|
5405
5405
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5406
5406
|
}, arguments) };
|
|
5407
5407
|
|
|
5408
|
-
exports.
|
|
5408
|
+
exports.__wbg_remove_50fe1edb8d8c56fb = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5409
5409
|
let deferred0_0;
|
|
5410
5410
|
let deferred0_1;
|
|
5411
5411
|
try {
|
|
@@ -5418,7 +5418,7 @@ exports.__wbg_remove_d70586e68150e441 = function() { return handleError(function
|
|
|
5418
5418
|
}
|
|
5419
5419
|
}, arguments) };
|
|
5420
5420
|
|
|
5421
|
-
exports.
|
|
5421
|
+
exports.__wbg_remove_a88e07af57754253 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5422
5422
|
let deferred0_0;
|
|
5423
5423
|
let deferred0_1;
|
|
5424
5424
|
try {
|
|
@@ -5456,7 +5456,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
|
|
|
5456
5456
|
return addHeapObject(ret);
|
|
5457
5457
|
};
|
|
5458
5458
|
|
|
5459
|
-
exports.
|
|
5459
|
+
exports.__wbg_set_0fbe9e381bec3aaa = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5460
5460
|
let deferred0_0;
|
|
5461
5461
|
let deferred0_1;
|
|
5462
5462
|
try {
|
|
@@ -5473,6 +5473,19 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
|
5473
5473
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5474
5474
|
};
|
|
5475
5475
|
|
|
5476
|
+
exports.__wbg_set_7a95f793cbf6b234 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5477
|
+
let deferred0_0;
|
|
5478
|
+
let deferred0_1;
|
|
5479
|
+
try {
|
|
5480
|
+
deferred0_0 = arg1;
|
|
5481
|
+
deferred0_1 = arg2;
|
|
5482
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5483
|
+
return addHeapObject(ret);
|
|
5484
|
+
} finally {
|
|
5485
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5486
|
+
}
|
|
5487
|
+
}, arguments) };
|
|
5488
|
+
|
|
5476
5489
|
exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
5477
5490
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5478
5491
|
return addHeapObject(ret);
|
|
@@ -5495,19 +5508,6 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
|
|
|
5495
5508
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5496
5509
|
};
|
|
5497
5510
|
|
|
5498
|
-
exports.__wbg_set_e0db2947560ac344 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5499
|
-
let deferred0_0;
|
|
5500
|
-
let deferred0_1;
|
|
5501
|
-
try {
|
|
5502
|
-
deferred0_0 = arg1;
|
|
5503
|
-
deferred0_1 = arg2;
|
|
5504
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5505
|
-
return addHeapObject(ret);
|
|
5506
|
-
} finally {
|
|
5507
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5508
|
-
}
|
|
5509
|
-
}, arguments) };
|
|
5510
|
-
|
|
5511
5511
|
exports.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
|
|
5512
5512
|
getObject(arg0).headers = getObject(arg1);
|
|
5513
5513
|
};
|
|
@@ -5675,7 +5675,7 @@ exports.__wbg_warn_8f5b5437666d0885 = function(arg0, arg1, arg2, arg3) {
|
|
|
5675
5675
|
|
|
5676
5676
|
exports.__wbindgen_cast_06477b1f0804fc26 = function(arg0, arg1) {
|
|
5677
5677
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 331, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5678
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa,
|
|
5678
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
|
|
5679
5679
|
return addHeapObject(ret);
|
|
5680
5680
|
};
|
|
5681
5681
|
|
|
@@ -5693,13 +5693,13 @@ exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
|
5693
5693
|
|
|
5694
5694
|
exports.__wbindgen_cast_4042b341512ce63a = function(arg0, arg1) {
|
|
5695
5695
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5696
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5696
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h607bdcca11c93892, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
|
|
5697
5697
|
return addHeapObject(ret);
|
|
5698
5698
|
};
|
|
5699
5699
|
|
|
5700
5700
|
exports.__wbindgen_cast_452689ba5ee76b4b = function(arg0, arg1) {
|
|
5701
5701
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 325, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5702
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
|
|
5702
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
|
|
5703
5703
|
return addHeapObject(ret);
|
|
5704
5704
|
};
|
|
5705
5705
|
|
|
@@ -5745,7 +5745,7 @@ exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
|
5745
5745
|
|
|
5746
5746
|
exports.__wbindgen_cast_d49c305f67640cb1 = function(arg0, arg1) {
|
|
5747
5747
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5748
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5748
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h607bdcca11c93892, wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6);
|
|
5749
5749
|
return addHeapObject(ret);
|
|
5750
5750
|
};
|
|
5751
5751
|
|
|
Binary file
|
|
@@ -513,24 +513,24 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
513
513
|
export const vaultclient_attachments: (a: number) => number;
|
|
514
514
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
515
515
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
516
|
-
export const
|
|
516
|
+
export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
|
|
517
517
|
a: number,
|
|
518
518
|
b: number,
|
|
519
519
|
c: number,
|
|
520
|
-
d: number,
|
|
521
520
|
) => void;
|
|
522
|
-
export const
|
|
523
|
-
export const
|
|
521
|
+
export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
522
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
523
|
+
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
524
524
|
a: number,
|
|
525
525
|
b: number,
|
|
526
|
+
c: number,
|
|
527
|
+
d: number,
|
|
526
528
|
) => void;
|
|
527
529
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
528
|
-
export const
|
|
530
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
529
531
|
a: number,
|
|
530
532
|
b: number,
|
|
531
|
-
c: number,
|
|
532
533
|
) => void;
|
|
533
|
-
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
534
534
|
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
535
535
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
536
536
|
a: number,
|