@bitwarden/commercial-sdk-internal 0.2.0-main.466 → 0.2.0-main.468
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 +56 -56
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +9 -9
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +423 -423
- package/node/bitwarden_wasm_internal.js +52 -52
- 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
|
@@ -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,18 +976,18 @@ exports.isGetFolderError = function(error) {
|
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
-
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
980
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
981
|
-
}
|
|
982
|
-
|
|
983
979
|
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
984
980
|
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
985
981
|
}
|
|
986
982
|
|
|
987
|
-
function
|
|
983
|
+
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
984
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
|
|
988
988
|
try {
|
|
989
989
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
990
|
-
wasm.
|
|
990
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(retptr, arg0, arg1, addHeapObject(arg2));
|
|
991
991
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
992
992
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
993
993
|
if (r1) {
|
|
@@ -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_fe470fea985a8a6d = 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_d80c0868df28ac35 = function(arg0) {
|
|
4926
4926
|
const ret = getObject(arg0).folder;
|
|
4927
4927
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4928
4928
|
};
|
|
@@ -4954,7 +4954,17 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
|
4954
4954
|
return ret;
|
|
4955
4955
|
};
|
|
4956
4956
|
|
|
4957
|
-
exports.
|
|
4957
|
+
exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
4958
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4959
|
+
return addHeapObject(ret);
|
|
4960
|
+
};
|
|
4961
|
+
|
|
4962
|
+
exports.__wbg_get_access_token_b0b989f9f82971d5 = function(arg0) {
|
|
4963
|
+
const ret = getObject(arg0).get_access_token();
|
|
4964
|
+
return addHeapObject(ret);
|
|
4965
|
+
};
|
|
4966
|
+
|
|
4967
|
+
exports.__wbg_get_b26f0d5f6940c343 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4958
4968
|
let deferred0_0;
|
|
4959
4969
|
let deferred0_1;
|
|
4960
4970
|
try {
|
|
@@ -4967,22 +4977,7 @@ exports.__wbg_get_40c548812e9a6687 = function() { return handleError(function (a
|
|
|
4967
4977
|
}
|
|
4968
4978
|
}, arguments) };
|
|
4969
4979
|
|
|
4970
|
-
exports.
|
|
4971
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4972
|
-
return addHeapObject(ret);
|
|
4973
|
-
};
|
|
4974
|
-
|
|
4975
|
-
exports.__wbg_get_access_token_d05afa89e3f35a84 = function(arg0) {
|
|
4976
|
-
const ret = getObject(arg0).get_access_token();
|
|
4977
|
-
return addHeapObject(ret);
|
|
4978
|
-
};
|
|
4979
|
-
|
|
4980
|
-
exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
4981
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4982
|
-
return addHeapObject(ret);
|
|
4983
|
-
}, arguments) };
|
|
4984
|
-
|
|
4985
|
-
exports.__wbg_get_faa4bc9bc5a87090 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4980
|
+
exports.__wbg_get_d880898a1b9a4f5e = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4986
4981
|
let deferred0_0;
|
|
4987
4982
|
let deferred0_1;
|
|
4988
4983
|
try {
|
|
@@ -4995,6 +4990,11 @@ exports.__wbg_get_faa4bc9bc5a87090 = function() { return handleError(function (a
|
|
|
4995
4990
|
}
|
|
4996
4991
|
}, arguments) };
|
|
4997
4992
|
|
|
4993
|
+
exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
4994
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4995
|
+
return addHeapObject(ret);
|
|
4996
|
+
}, arguments) };
|
|
4997
|
+
|
|
4998
4998
|
exports.__wbg_get_fb1fa70beb44a754 = function() { return handleError(function (arg0, arg1) {
|
|
4999
4999
|
const ret = getObject(arg0).get(getObject(arg1));
|
|
5000
5000
|
return addHeapObject(ret);
|
|
@@ -5178,12 +5178,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
|
5178
5178
|
return ret;
|
|
5179
5179
|
};
|
|
5180
5180
|
|
|
5181
|
-
exports.
|
|
5181
|
+
exports.__wbg_list_4e9c3edceef562a8 = 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_7fd825f491677ed2 = 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_147d80aa9f8bf196 = 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_032f0b8b2f8a246d = function() { return handleError(function
|
|
|
5418
5418
|
}
|
|
5419
5419
|
}, arguments) };
|
|
5420
5420
|
|
|
5421
|
-
exports.
|
|
5421
|
+
exports.__wbg_remove_6e84f229c817351b = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5422
5422
|
let deferred0_0;
|
|
5423
5423
|
let deferred0_1;
|
|
5424
5424
|
try {
|
|
@@ -5460,7 +5460,12 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
|
5460
5460
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5461
5461
|
};
|
|
5462
5462
|
|
|
5463
|
-
exports.
|
|
5463
|
+
exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
5464
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5465
|
+
return addHeapObject(ret);
|
|
5466
|
+
};
|
|
5467
|
+
|
|
5468
|
+
exports.__wbg_set_967356a272c2b1cf = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5464
5469
|
let deferred0_0;
|
|
5465
5470
|
let deferred0_1;
|
|
5466
5471
|
try {
|
|
@@ -5473,7 +5478,7 @@ exports.__wbg_set_5fa4599341aab734 = function() { return handleError(function (a
|
|
|
5473
5478
|
}
|
|
5474
5479
|
}, arguments) };
|
|
5475
5480
|
|
|
5476
|
-
exports.
|
|
5481
|
+
exports.__wbg_set_b61c2fdb462c5452 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5477
5482
|
let deferred0_0;
|
|
5478
5483
|
let deferred0_1;
|
|
5479
5484
|
try {
|
|
@@ -5486,11 +5491,6 @@ exports.__wbg_set_7c976f937aff49d4 = function() { return handleError(function (a
|
|
|
5486
5491
|
}
|
|
5487
5492
|
}, arguments) };
|
|
5488
5493
|
|
|
5489
|
-
exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
5490
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5491
|
-
return addHeapObject(ret);
|
|
5492
|
-
};
|
|
5493
|
-
|
|
5494
5494
|
exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
5495
5495
|
getObject(arg0).body = getObject(arg1);
|
|
5496
5496
|
};
|
|
@@ -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,25 +513,25 @@ 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__ha638740cca0ef77d: (
|
|
517
517
|
a: number,
|
|
518
518
|
b: number,
|
|
519
|
-
c: number,
|
|
520
519
|
) => void;
|
|
521
|
-
export const
|
|
522
|
-
export const
|
|
523
|
-
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
520
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
521
|
+
export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
|
|
524
522
|
a: number,
|
|
525
523
|
b: number,
|
|
524
|
+
c: number,
|
|
526
525
|
) => void;
|
|
527
|
-
export const
|
|
528
|
-
export const
|
|
526
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
527
|
+
export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
528
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
529
|
+
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
529
530
|
a: number,
|
|
530
531
|
b: number,
|
|
531
532
|
c: number,
|
|
532
533
|
d: number,
|
|
533
534
|
) => void;
|
|
534
|
-
export const wasm_bindgen__closure__destroy__h7a79e3df9e7c7848: (a: number, b: number) => void;
|
|
535
535
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
536
536
|
a: number,
|
|
537
537
|
b: number,
|