@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
|
@@ -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;
|
|
@@ -986,10 +986,18 @@ export function isGetFolderError(error) {
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
-
function
|
|
989
|
+
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
990
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
994
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
|
|
990
998
|
try {
|
|
991
999
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
992
|
-
wasm.
|
|
1000
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(retptr, arg0, arg1, addHeapObject(arg2));
|
|
993
1001
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
994
1002
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
995
1003
|
if (r1) {
|
|
@@ -1000,14 +1008,6 @@ function wasm_bindgen__convert__closures_____invoke__h6fa4a14c2e357000(arg0, arg
|
|
|
1000
1008
|
}
|
|
1001
1009
|
}
|
|
1002
1010
|
|
|
1003
|
-
function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
|
|
1004
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1008
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
1011
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1012
1012
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1013
1013
|
}
|
|
@@ -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_fe470fea985a8a6d(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_d80c0868df28ac35(arg0) {
|
|
4880
4880
|
const ret = getObject(arg0).folder;
|
|
4881
4881
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4882
4882
|
};
|
|
@@ -4908,7 +4908,17 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4908
4908
|
return ret;
|
|
4909
4909
|
};
|
|
4910
4910
|
|
|
4911
|
-
export function
|
|
4911
|
+
export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
4912
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4913
|
+
return addHeapObject(ret);
|
|
4914
|
+
};
|
|
4915
|
+
|
|
4916
|
+
export function __wbg_get_access_token_b0b989f9f82971d5(arg0) {
|
|
4917
|
+
const ret = getObject(arg0).get_access_token();
|
|
4918
|
+
return addHeapObject(ret);
|
|
4919
|
+
};
|
|
4920
|
+
|
|
4921
|
+
export function __wbg_get_b26f0d5f6940c343() { return handleError(function (arg0, arg1, arg2) {
|
|
4912
4922
|
let deferred0_0;
|
|
4913
4923
|
let deferred0_1;
|
|
4914
4924
|
try {
|
|
@@ -4921,22 +4931,7 @@ export function __wbg_get_40c548812e9a6687() { return handleError(function (arg0
|
|
|
4921
4931
|
}
|
|
4922
4932
|
}, arguments) };
|
|
4923
4933
|
|
|
4924
|
-
export function
|
|
4925
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4926
|
-
return addHeapObject(ret);
|
|
4927
|
-
};
|
|
4928
|
-
|
|
4929
|
-
export function __wbg_get_access_token_d05afa89e3f35a84(arg0) {
|
|
4930
|
-
const ret = getObject(arg0).get_access_token();
|
|
4931
|
-
return addHeapObject(ret);
|
|
4932
|
-
};
|
|
4933
|
-
|
|
4934
|
-
export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
|
|
4935
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4936
|
-
return addHeapObject(ret);
|
|
4937
|
-
}, arguments) };
|
|
4938
|
-
|
|
4939
|
-
export function __wbg_get_faa4bc9bc5a87090() { return handleError(function (arg0, arg1, arg2) {
|
|
4934
|
+
export function __wbg_get_d880898a1b9a4f5e() { return handleError(function (arg0, arg1, arg2) {
|
|
4940
4935
|
let deferred0_0;
|
|
4941
4936
|
let deferred0_1;
|
|
4942
4937
|
try {
|
|
@@ -4949,6 +4944,11 @@ export function __wbg_get_faa4bc9bc5a87090() { return handleError(function (arg0
|
|
|
4949
4944
|
}
|
|
4950
4945
|
}, arguments) };
|
|
4951
4946
|
|
|
4947
|
+
export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
|
|
4948
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4949
|
+
return addHeapObject(ret);
|
|
4950
|
+
}, arguments) };
|
|
4951
|
+
|
|
4952
4952
|
export function __wbg_get_fb1fa70beb44a754() { return handleError(function (arg0, arg1) {
|
|
4953
4953
|
const ret = getObject(arg0).get(getObject(arg1));
|
|
4954
4954
|
return addHeapObject(ret);
|
|
@@ -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_4e9c3edceef562a8() { 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_7fd825f491677ed2() { 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_147d80aa9f8bf196() { 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_032f0b8b2f8a246d() { return handleError(function (a
|
|
|
5372
5372
|
}
|
|
5373
5373
|
}, arguments) };
|
|
5374
5374
|
|
|
5375
|
-
export function
|
|
5375
|
+
export function __wbg_remove_6e84f229c817351b() { return handleError(function (arg0, arg1, arg2) {
|
|
5376
5376
|
let deferred0_0;
|
|
5377
5377
|
let deferred0_1;
|
|
5378
5378
|
try {
|
|
@@ -5414,7 +5414,12 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5414
5414
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5415
5415
|
};
|
|
5416
5416
|
|
|
5417
|
-
export function
|
|
5417
|
+
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5418
|
+
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5419
|
+
return addHeapObject(ret);
|
|
5420
|
+
};
|
|
5421
|
+
|
|
5422
|
+
export function __wbg_set_967356a272c2b1cf() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5418
5423
|
let deferred0_0;
|
|
5419
5424
|
let deferred0_1;
|
|
5420
5425
|
try {
|
|
@@ -5427,7 +5432,7 @@ export function __wbg_set_5fa4599341aab734() { return handleError(function (arg0
|
|
|
5427
5432
|
}
|
|
5428
5433
|
}, arguments) };
|
|
5429
5434
|
|
|
5430
|
-
export function
|
|
5435
|
+
export function __wbg_set_b61c2fdb462c5452() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5431
5436
|
let deferred0_0;
|
|
5432
5437
|
let deferred0_1;
|
|
5433
5438
|
try {
|
|
@@ -5440,11 +5445,6 @@ export function __wbg_set_7c976f937aff49d4() { return handleError(function (arg0
|
|
|
5440
5445
|
}
|
|
5441
5446
|
}, arguments) };
|
|
5442
5447
|
|
|
5443
|
-
export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
|
|
5444
|
-
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
5445
|
-
return addHeapObject(ret);
|
|
5446
|
-
};
|
|
5447
|
-
|
|
5448
5448
|
export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
|
|
5449
5449
|
getObject(arg0).body = getObject(arg1);
|
|
5450
5450
|
};
|
|
@@ -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
|
|
@@ -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
|
|
517
|
-
a: number,
|
|
518
|
-
b: number,
|
|
519
|
-
c: number,
|
|
520
|
-
d: number,
|
|
521
|
-
) => void;
|
|
522
|
-
export const wasm_bindgen__closure__destroy__h7a79e3df9e7c7848: (a: number, b: number) => void;
|
|
523
|
-
export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
|
|
516
|
+
export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
|
|
524
517
|
a: number,
|
|
525
518
|
b: number,
|
|
526
519
|
c: number,
|
|
527
520
|
) => void;
|
|
528
|
-
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
529
521
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
522
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
530
523
|
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
531
524
|
a: number,
|
|
532
525
|
b: number,
|
|
533
526
|
) => void;
|
|
534
527
|
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
528
|
+
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
529
|
+
a: number,
|
|
530
|
+
b: number,
|
|
531
|
+
c: number,
|
|
532
|
+
d: number,
|
|
533
|
+
) => void;
|
|
534
|
+
export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
535
535
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
536
536
|
a: number,
|
|
537
537
|
b: number,
|