@bitwarden/commercial-sdk-internal 0.2.0-main.481 → 0.2.0-main.483
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 +2 -2
- package/bitwarden_wasm_internal_bg.js +33 -33
- 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 +2 -2
- package/node/bitwarden_wasm_internal.js +25 -25
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2785,7 +2785,7 @@ export class PureCrypto {
|
|
|
2785
2785
|
*/
|
|
2786
2786
|
static symmetric_encrypt_bytes(plain: Uint8Array, key: Uint8Array): string;
|
|
2787
2787
|
/**
|
|
2788
|
-
* Decapsulates (decrypts) a symmetric key using an decapsulation
|
|
2788
|
+
* Decapsulates (decrypts) a symmetric key using an decapsulation-key/private-key in PKCS8
|
|
2789
2789
|
* DER format. Note: This is unsigned, so the sender's authenticity cannot be verified by the
|
|
2790
2790
|
* recipient.
|
|
2791
2791
|
*/
|
|
@@ -2794,7 +2794,7 @@ export class PureCrypto {
|
|
|
2794
2794
|
decapsulation_key: Uint8Array,
|
|
2795
2795
|
): Uint8Array;
|
|
2796
2796
|
/**
|
|
2797
|
-
* Encapsulates (encrypts) a symmetric key using an
|
|
2797
|
+
* Encapsulates (encrypts) a symmetric key using an public-key/encapsulation-key
|
|
2798
2798
|
* in SPKI format, returning the encapsulated key as a string. Note: This is unsigned, so
|
|
2799
2799
|
* the sender's authenticity cannot be verified by the recipient.
|
|
2800
2800
|
*/
|
|
@@ -986,14 +986,6 @@ export function isGetFolderError(error) {
|
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
|
|
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
989
|
function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
|
|
998
990
|
try {
|
|
999
991
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -1008,6 +1000,14 @@ function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg
|
|
|
1008
1000
|
}
|
|
1009
1001
|
}
|
|
1010
1002
|
|
|
1003
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
1004
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
1008
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
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
|
}
|
|
@@ -3855,7 +3855,7 @@ export class PureCrypto {
|
|
|
3855
3855
|
}
|
|
3856
3856
|
}
|
|
3857
3857
|
/**
|
|
3858
|
-
* Decapsulates (decrypts) a symmetric key using an decapsulation
|
|
3858
|
+
* Decapsulates (decrypts) a symmetric key using an decapsulation-key/private-key in PKCS8
|
|
3859
3859
|
* DER format. Note: This is unsigned, so the sender's authenticity cannot be verified by the
|
|
3860
3860
|
* recipient.
|
|
3861
3861
|
* @param {string} encapsulated_key
|
|
@@ -3885,7 +3885,7 @@ export class PureCrypto {
|
|
|
3885
3885
|
}
|
|
3886
3886
|
}
|
|
3887
3887
|
/**
|
|
3888
|
-
* Encapsulates (encrypts) a symmetric key using an
|
|
3888
|
+
* Encapsulates (encrypts) a symmetric key using an public-key/encapsulation-key
|
|
3889
3889
|
* in SPKI format, returning the encapsulated key as a string. Note: This is unsigned, so
|
|
3890
3890
|
* the sender's authenticity cannot be verified by the recipient.
|
|
3891
3891
|
* @param {Uint8Array} shared_key
|
|
@@ -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_8c87dec369ded626(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_93ecaa9aafcd4b61(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_3e47828a159062e6() { return handleError(function (arg0, arg1, arg2) {
|
|
4912
4912
|
let deferred0_0;
|
|
4913
4913
|
let deferred0_1;
|
|
4914
4914
|
try {
|
|
@@ -4926,12 +4926,12 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
4926
4926
|
return addHeapObject(ret);
|
|
4927
4927
|
};
|
|
4928
4928
|
|
|
4929
|
-
export function
|
|
4929
|
+
export function __wbg_get_access_token_ffeb4af72e08ee66(arg0) {
|
|
4930
4930
|
const ret = getObject(arg0).get_access_token();
|
|
4931
4931
|
return addHeapObject(ret);
|
|
4932
4932
|
};
|
|
4933
4933
|
|
|
4934
|
-
export function
|
|
4934
|
+
export function __wbg_get_b479bc1449c6b0db() { return handleError(function (arg0, arg1, arg2) {
|
|
4935
4935
|
let deferred0_0;
|
|
4936
4936
|
let deferred0_1;
|
|
4937
4937
|
try {
|
|
@@ -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_12a410492c9d1018() { 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_e805dc4a593030d3() { 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_8c103adc47e3025d() { 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_a8061a5c4e6069d0() { return handleError(function (a
|
|
|
5372
5372
|
}
|
|
5373
5373
|
}, arguments) };
|
|
5374
5374
|
|
|
5375
|
-
export function
|
|
5375
|
+
export function __wbg_remove_fe654efa2ec4419f() { return handleError(function (arg0, arg1, arg2) {
|
|
5376
5376
|
let deferred0_0;
|
|
5377
5377
|
let deferred0_1;
|
|
5378
5378
|
try {
|
|
@@ -5410,11 +5410,24 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5410
5410
|
return addHeapObject(ret);
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
+
export function __wbg_set_04b1658cadcd7431() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5414
|
+
let deferred0_0;
|
|
5415
|
+
let deferred0_1;
|
|
5416
|
+
try {
|
|
5417
|
+
deferred0_0 = arg1;
|
|
5418
|
+
deferred0_1 = arg2;
|
|
5419
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5420
|
+
return addHeapObject(ret);
|
|
5421
|
+
} finally {
|
|
5422
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5423
|
+
}
|
|
5424
|
+
}, arguments) };
|
|
5425
|
+
|
|
5413
5426
|
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5414
5427
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5415
5428
|
};
|
|
5416
5429
|
|
|
5417
|
-
export function
|
|
5430
|
+
export function __wbg_set_8f7a751de4437e9f() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5418
5431
|
let deferred0_0;
|
|
5419
5432
|
let deferred0_1;
|
|
5420
5433
|
try {
|
|
@@ -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_ef97946008ebf86d() { 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
|
};
|
|
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__hb102ba9d71e761f6: (
|
|
517
517
|
a: number,
|
|
518
518
|
b: number,
|
|
519
519
|
c: number,
|
|
520
|
+
d: number,
|
|
520
521
|
) => void;
|
|
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
522
|
export const wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
524
523
|
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
525
524
|
a: number,
|
|
526
525
|
b: number,
|
|
527
526
|
) => void;
|
|
528
527
|
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
529
|
-
export const
|
|
528
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
529
|
+
export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
|
|
530
530
|
a: number,
|
|
531
531
|
b: number,
|
|
532
532
|
c: number,
|
|
533
|
-
d: number,
|
|
534
533
|
) => void;
|
|
534
|
+
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
535
535
|
export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
|
|
536
536
|
a: number,
|
|
537
537
|
b: number,
|