@bitwarden/commercial-sdk-internal 0.2.0-main.467 → 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 +62 -62
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +8 -8
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +423 -423
- 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
|
@@ -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,18 +986,18 @@ export function isGetFolderError(error) {
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
|
|
989
|
-
function
|
|
990
|
-
wasm.
|
|
989
|
+
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
990
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
-
function
|
|
994
|
-
wasm.
|
|
993
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
994
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
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_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,12 +4931,7 @@ export function __wbg_get_56e283668aa150cc() { 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_85d49d70c78f7756() { return handleError(function (arg0, arg1, arg2) {
|
|
4934
|
+
export function __wbg_get_d880898a1b9a4f5e() { return handleError(function (arg0, arg1, arg2) {
|
|
4930
4935
|
let deferred0_0;
|
|
4931
4936
|
let deferred0_1;
|
|
4932
4937
|
try {
|
|
@@ -4939,11 +4944,6 @@ export function __wbg_get_85d49d70c78f7756() { return handleError(function (arg0
|
|
|
4939
4944
|
}
|
|
4940
4945
|
}, arguments) };
|
|
4941
4946
|
|
|
4942
|
-
export function __wbg_get_access_token_895ab61dbd031ce9(arg0) {
|
|
4943
|
-
const ret = getObject(arg0).get_access_token();
|
|
4944
|
-
return addHeapObject(ret);
|
|
4945
|
-
};
|
|
4946
|
-
|
|
4947
4947
|
export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
|
|
4948
4948
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4949
4949
|
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_d70586e68150e441() { 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 {
|
|
@@ -5410,7 +5410,16 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5410
5410
|
return addHeapObject(ret);
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
-
export function
|
|
5413
|
+
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5414
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5415
|
+
};
|
|
5416
|
+
|
|
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) {
|
|
5414
5423
|
let deferred0_0;
|
|
5415
5424
|
let deferred0_1;
|
|
5416
5425
|
try {
|
|
@@ -5423,14 +5432,18 @@ export function __wbg_set_0ddd9352aed4d384() { return handleError(function (arg0
|
|
|
5423
5432
|
}
|
|
5424
5433
|
}, arguments) };
|
|
5425
5434
|
|
|
5426
|
-
export function
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5435
|
+
export function __wbg_set_b61c2fdb462c5452() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5436
|
+
let deferred0_0;
|
|
5437
|
+
let deferred0_1;
|
|
5438
|
+
try {
|
|
5439
|
+
deferred0_0 = arg1;
|
|
5440
|
+
deferred0_1 = arg2;
|
|
5441
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5442
|
+
return addHeapObject(ret);
|
|
5443
|
+
} finally {
|
|
5444
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5445
|
+
}
|
|
5446
|
+
}, arguments) };
|
|
5434
5447
|
|
|
5435
5448
|
export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
|
|
5436
5449
|
getObject(arg0).body = getObject(arg1);
|
|
@@ -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
|
|
@@ -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__h2d1acf2a4a5dec58: (
|
|
517
517
|
a: number,
|
|
518
518
|
b: number,
|
|
519
|
+
c: number,
|
|
519
520
|
) => void;
|
|
520
|
-
export const
|
|
521
|
-
export const
|
|
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;
|
|
523
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
522
524
|
a: number,
|
|
523
525
|
b: number,
|
|
524
|
-
c: number,
|
|
525
526
|
) => void;
|
|
526
|
-
export const
|
|
527
|
-
export const
|
|
527
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
528
|
+
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
528
529
|
a: number,
|
|
529
530
|
b: number,
|
|
530
531
|
c: number,
|
|
531
532
|
d: number,
|
|
532
533
|
) => void;
|
|
533
|
-
export const
|
|
534
|
-
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => 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,
|