@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
|
@@ -405,9 +405,9 @@ export function isAccountCryptographyInitializationError(error) {
|
|
|
405
405
|
* @param {any} error
|
|
406
406
|
* @returns {boolean}
|
|
407
407
|
*/
|
|
408
|
-
export function
|
|
408
|
+
export function isEnrollAdminPasswordResetError(error) {
|
|
409
409
|
try {
|
|
410
|
-
const ret = wasm.
|
|
410
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
411
411
|
return ret !== 0;
|
|
412
412
|
} finally {
|
|
413
413
|
heap[stack_pointer++] = undefined;
|
|
@@ -418,9 +418,9 @@ export function isCryptoClientError(error) {
|
|
|
418
418
|
* @param {any} error
|
|
419
419
|
* @returns {boolean}
|
|
420
420
|
*/
|
|
421
|
-
export function
|
|
421
|
+
export function isMakeKeysError(error) {
|
|
422
422
|
try {
|
|
423
|
-
const ret = wasm.
|
|
423
|
+
const ret = wasm.isMakeKeysError(addBorrowedObject(error));
|
|
424
424
|
return ret !== 0;
|
|
425
425
|
} finally {
|
|
426
426
|
heap[stack_pointer++] = undefined;
|
|
@@ -431,9 +431,9 @@ export function isEnrollAdminPasswordResetError(error) {
|
|
|
431
431
|
* @param {any} error
|
|
432
432
|
* @returns {boolean}
|
|
433
433
|
*/
|
|
434
|
-
export function
|
|
434
|
+
export function isDeriveKeyConnectorError(error) {
|
|
435
435
|
try {
|
|
436
|
-
const ret = wasm.
|
|
436
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
437
437
|
return ret !== 0;
|
|
438
438
|
} finally {
|
|
439
439
|
heap[stack_pointer++] = undefined;
|
|
@@ -444,9 +444,9 @@ export function isMakeKeysError(error) {
|
|
|
444
444
|
* @param {any} error
|
|
445
445
|
* @returns {boolean}
|
|
446
446
|
*/
|
|
447
|
-
export function
|
|
447
|
+
export function isCryptoClientError(error) {
|
|
448
448
|
try {
|
|
449
|
-
const ret = wasm.
|
|
449
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
450
450
|
return ret !== 0;
|
|
451
451
|
} finally {
|
|
452
452
|
heap[stack_pointer++] = undefined;
|
|
@@ -652,9 +652,9 @@ export function ipcRequestDiscover(ipc_client, destination, abort_signal) {
|
|
|
652
652
|
* @param {any} error
|
|
653
653
|
* @returns {boolean}
|
|
654
654
|
*/
|
|
655
|
-
export function
|
|
655
|
+
export function isSshKeyExportError(error) {
|
|
656
656
|
try {
|
|
657
|
-
const ret = wasm.
|
|
657
|
+
const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
|
|
658
658
|
return ret !== 0;
|
|
659
659
|
} finally {
|
|
660
660
|
heap[stack_pointer++] = undefined;
|
|
@@ -678,9 +678,9 @@ export function isKeyGenerationError(error) {
|
|
|
678
678
|
* @param {any} error
|
|
679
679
|
* @returns {boolean}
|
|
680
680
|
*/
|
|
681
|
-
export function
|
|
681
|
+
export function isSshKeyImportError(error) {
|
|
682
682
|
try {
|
|
683
|
-
const ret = wasm.
|
|
683
|
+
const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
|
|
684
684
|
return ret !== 0;
|
|
685
685
|
} finally {
|
|
686
686
|
heap[stack_pointer++] = undefined;
|
|
@@ -990,14 +990,14 @@ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg
|
|
|
990
990
|
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
-
function
|
|
994
|
-
wasm.
|
|
993
|
+
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
994
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
995
995
|
}
|
|
996
996
|
|
|
997
|
-
function
|
|
997
|
+
function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
|
|
998
998
|
try {
|
|
999
999
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1000
|
-
wasm.
|
|
1000
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1001
1001
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1002
1002
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1003
1003
|
if (r1) {
|
|
@@ -4784,7 +4784,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
|
|
|
4784
4784
|
return addHeapObject(ret);
|
|
4785
4785
|
}, arguments) };
|
|
4786
4786
|
|
|
4787
|
-
export function
|
|
4787
|
+
export function __wbg_cipher_2d4ed2050451fb68(arg0) {
|
|
4788
4788
|
const ret = getObject(arg0).cipher;
|
|
4789
4789
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4790
4790
|
};
|
|
@@ -4876,7 +4876,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4876
4876
|
return addHeapObject(ret);
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
-
export function
|
|
4879
|
+
export function __wbg_folder_2ecd0840a56a1fc6(arg0) {
|
|
4880
4880
|
const ret = getObject(arg0).folder;
|
|
4881
4881
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4882
4882
|
};
|
|
@@ -4908,7 +4908,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4908
4908
|
return ret;
|
|
4909
4909
|
};
|
|
4910
4910
|
|
|
4911
|
-
export function
|
|
4911
|
+
export function __wbg_get_0cc6bb3949df4ac2() { return handleError(function (arg0, arg1, arg2) {
|
|
4912
4912
|
let deferred0_0;
|
|
4913
4913
|
let deferred0_1;
|
|
4914
4914
|
try {
|
|
@@ -4921,12 +4921,7 @@ export function __wbg_get_56e283668aa150cc() { return handleError(function (arg0
|
|
|
4921
4921
|
}
|
|
4922
4922
|
}, arguments) };
|
|
4923
4923
|
|
|
4924
|
-
export function
|
|
4925
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4926
|
-
return addHeapObject(ret);
|
|
4927
|
-
};
|
|
4928
|
-
|
|
4929
|
-
export function __wbg_get_85d49d70c78f7756() { return handleError(function (arg0, arg1, arg2) {
|
|
4924
|
+
export function __wbg_get_79c4822ce7ab6745() { return handleError(function (arg0, arg1, arg2) {
|
|
4930
4925
|
let deferred0_0;
|
|
4931
4926
|
let deferred0_1;
|
|
4932
4927
|
try {
|
|
@@ -4939,7 +4934,12 @@ export function __wbg_get_85d49d70c78f7756() { return handleError(function (arg0
|
|
|
4939
4934
|
}
|
|
4940
4935
|
}, arguments) };
|
|
4941
4936
|
|
|
4942
|
-
export function
|
|
4937
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4938
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4939
|
+
return addHeapObject(ret);
|
|
4940
|
+
};
|
|
4941
|
+
|
|
4942
|
+
export function __wbg_get_access_token_2d94948131a21b38(arg0) {
|
|
4943
4943
|
const ret = getObject(arg0).get_access_token();
|
|
4944
4944
|
return addHeapObject(ret);
|
|
4945
4945
|
};
|
|
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
5132
5132
|
return ret;
|
|
5133
5133
|
};
|
|
5134
5134
|
|
|
5135
|
-
export function
|
|
5135
|
+
export function __wbg_list_48a4957641f7fd07() { return handleError(function (arg0) {
|
|
5136
5136
|
const ret = getObject(arg0).list();
|
|
5137
5137
|
return addHeapObject(ret);
|
|
5138
5138
|
}, arguments) };
|
|
5139
5139
|
|
|
5140
|
-
export function
|
|
5140
|
+
export function __wbg_list_5dfc70b12787e5aa() { return handleError(function (arg0) {
|
|
5141
5141
|
const ret = getObject(arg0).list();
|
|
5142
5142
|
return addHeapObject(ret);
|
|
5143
5143
|
}, arguments) };
|
|
@@ -5359,7 +5359,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
|
|
|
5359
5359
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5360
5360
|
}, arguments) };
|
|
5361
5361
|
|
|
5362
|
-
export function
|
|
5362
|
+
export function __wbg_remove_50fe1edb8d8c56fb() { return handleError(function (arg0, arg1, arg2) {
|
|
5363
5363
|
let deferred0_0;
|
|
5364
5364
|
let deferred0_1;
|
|
5365
5365
|
try {
|
|
@@ -5372,7 +5372,7 @@ export function __wbg_remove_d70586e68150e441() { return handleError(function (a
|
|
|
5372
5372
|
}
|
|
5373
5373
|
}, arguments) };
|
|
5374
5374
|
|
|
5375
|
-
export function
|
|
5375
|
+
export function __wbg_remove_a88e07af57754253() { return handleError(function (arg0, arg1, arg2) {
|
|
5376
5376
|
let deferred0_0;
|
|
5377
5377
|
let deferred0_1;
|
|
5378
5378
|
try {
|
|
@@ -5410,7 +5410,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5410
5410
|
return addHeapObject(ret);
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
-
export function
|
|
5413
|
+
export function __wbg_set_0fbe9e381bec3aaa() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5414
5414
|
let deferred0_0;
|
|
5415
5415
|
let deferred0_1;
|
|
5416
5416
|
try {
|
|
@@ -5427,6 +5427,19 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5427
5427
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5428
5428
|
};
|
|
5429
5429
|
|
|
5430
|
+
export function __wbg_set_7a95f793cbf6b234() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5431
|
+
let deferred0_0;
|
|
5432
|
+
let deferred0_1;
|
|
5433
|
+
try {
|
|
5434
|
+
deferred0_0 = arg1;
|
|
5435
|
+
deferred0_1 = arg2;
|
|
5436
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5437
|
+
return addHeapObject(ret);
|
|
5438
|
+
} finally {
|
|
5439
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5440
|
+
}
|
|
5441
|
+
}, arguments) };
|
|
5442
|
+
|
|
5430
5443
|
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5431
5444
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5432
5445
|
return addHeapObject(ret);
|
|
@@ -5449,19 +5462,6 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
|
|
|
5449
5462
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5450
5463
|
};
|
|
5451
5464
|
|
|
5452
|
-
export function __wbg_set_e0db2947560ac344() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5453
|
-
let deferred0_0;
|
|
5454
|
-
let deferred0_1;
|
|
5455
|
-
try {
|
|
5456
|
-
deferred0_0 = arg1;
|
|
5457
|
-
deferred0_1 = arg2;
|
|
5458
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5459
|
-
return addHeapObject(ret);
|
|
5460
|
-
} finally {
|
|
5461
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5462
|
-
}
|
|
5463
|
-
}, arguments) };
|
|
5464
|
-
|
|
5465
5465
|
export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
|
|
5466
5466
|
getObject(arg0).headers = getObject(arg1);
|
|
5467
5467
|
};
|
|
@@ -5629,7 +5629,7 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5629
5629
|
|
|
5630
5630
|
export function __wbindgen_cast_06477b1f0804fc26(arg0, arg1) {
|
|
5631
5631
|
// 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`.
|
|
5632
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa,
|
|
5632
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
|
|
5633
5633
|
return addHeapObject(ret);
|
|
5634
5634
|
};
|
|
5635
5635
|
|
|
@@ -5647,13 +5647,13 @@ export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
|
5647
5647
|
|
|
5648
5648
|
export function __wbindgen_cast_4042b341512ce63a(arg0, arg1) {
|
|
5649
5649
|
// 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`.
|
|
5650
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5650
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h607bdcca11c93892, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
|
|
5651
5651
|
return addHeapObject(ret);
|
|
5652
5652
|
};
|
|
5653
5653
|
|
|
5654
5654
|
export function __wbindgen_cast_452689ba5ee76b4b(arg0, arg1) {
|
|
5655
5655
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 325, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5656
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
|
|
5656
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58);
|
|
5657
5657
|
return addHeapObject(ret);
|
|
5658
5658
|
};
|
|
5659
5659
|
|
|
@@ -5699,7 +5699,7 @@ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
|
|
|
5699
5699
|
|
|
5700
5700
|
export function __wbindgen_cast_d49c305f67640cb1(arg0, arg1) {
|
|
5701
5701
|
// 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`.
|
|
5702
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5702
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h607bdcca11c93892, wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6);
|
|
5703
5703
|
return addHeapObject(ret);
|
|
5704
5704
|
};
|
|
5705
5705
|
|
|
Binary file
|
|
@@ -518,20 +518,20 @@ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
|
518
518
|
b: number,
|
|
519
519
|
) => void;
|
|
520
520
|
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
521
|
-
export const
|
|
521
|
+
export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
|
|
522
522
|
a: number,
|
|
523
523
|
b: number,
|
|
524
524
|
c: number,
|
|
525
525
|
) => void;
|
|
526
|
-
export const
|
|
527
|
-
export const
|
|
526
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (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__hc71695a401114797: (a: number, b: number) => void;
|
|
529
|
+
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
528
530
|
a: number,
|
|
529
531
|
b: number,
|
|
530
532
|
c: number,
|
|
531
533
|
d: number,
|
|
532
534
|
) => void;
|
|
533
|
-
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
534
|
-
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
535
535
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
536
536
|
a: number,
|
|
537
537
|
b: number,
|