@bitwarden/commercial-sdk-internal 0.2.0-main.480 → 0.2.0-main.482
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 +41 -41
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +7 -7
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +2 -2
- package/node/bitwarden_wasm_internal.js +41 -41
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +6 -6
- 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
|
*/
|
|
@@ -976,14 +976,14 @@ exports.isGetFolderError = function(error) {
|
|
|
976
976
|
}
|
|
977
977
|
};
|
|
978
978
|
|
|
979
|
-
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
980
|
-
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
981
|
-
}
|
|
982
|
-
|
|
983
979
|
function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
|
|
984
980
|
wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
|
|
985
981
|
}
|
|
986
982
|
|
|
983
|
+
function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
|
|
984
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
985
|
+
}
|
|
986
|
+
|
|
987
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);
|
|
@@ -3889,7 +3889,7 @@ class PureCrypto {
|
|
|
3889
3889
|
}
|
|
3890
3890
|
}
|
|
3891
3891
|
/**
|
|
3892
|
-
* Decapsulates (decrypts) a symmetric key using an decapsulation
|
|
3892
|
+
* Decapsulates (decrypts) a symmetric key using an decapsulation-key/private-key in PKCS8
|
|
3893
3893
|
* DER format. Note: This is unsigned, so the sender's authenticity cannot be verified by the
|
|
3894
3894
|
* recipient.
|
|
3895
3895
|
* @param {string} encapsulated_key
|
|
@@ -3919,7 +3919,7 @@ class PureCrypto {
|
|
|
3919
3919
|
}
|
|
3920
3920
|
}
|
|
3921
3921
|
/**
|
|
3922
|
-
* Encapsulates (encrypts) a symmetric key using an
|
|
3922
|
+
* Encapsulates (encrypts) a symmetric key using an public-key/encapsulation-key
|
|
3923
3923
|
* in SPKI format, returning the encapsulated key as a string. Note: This is unsigned, so
|
|
3924
3924
|
* the sender's authenticity cannot be verified by the recipient.
|
|
3925
3925
|
* @param {Uint8Array} shared_key
|
|
@@ -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_fbaf9cf98ebf1f1d = 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_6ffc7829432b2d43 = function(arg0) {
|
|
4926
4926
|
const ret = getObject(arg0).folder;
|
|
4927
4927
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4928
4928
|
};
|
|
@@ -4959,7 +4959,12 @@ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
|
4959
4959
|
return addHeapObject(ret);
|
|
4960
4960
|
};
|
|
4961
4961
|
|
|
4962
|
-
exports.
|
|
4962
|
+
exports.__wbg_get_access_token_1ea7983c5f45a4b7 = function(arg0) {
|
|
4963
|
+
const ret = getObject(arg0).get_access_token();
|
|
4964
|
+
return addHeapObject(ret);
|
|
4965
|
+
};
|
|
4966
|
+
|
|
4967
|
+
exports.__wbg_get_bbeb4191e7cf6314 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4963
4968
|
let deferred0_0;
|
|
4964
4969
|
let deferred0_1;
|
|
4965
4970
|
try {
|
|
@@ -4972,7 +4977,7 @@ exports.__wbg_get_9dfbbfecb0bef84e = function() { return handleError(function (a
|
|
|
4972
4977
|
}
|
|
4973
4978
|
}, arguments) };
|
|
4974
4979
|
|
|
4975
|
-
exports.
|
|
4980
|
+
exports.__wbg_get_d6d73478618f1964 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
4976
4981
|
let deferred0_0;
|
|
4977
4982
|
let deferred0_1;
|
|
4978
4983
|
try {
|
|
@@ -4985,11 +4990,6 @@ exports.__wbg_get_a527fa8a26f5fbd8 = function() { return handleError(function (a
|
|
|
4985
4990
|
}
|
|
4986
4991
|
}, arguments) };
|
|
4987
4992
|
|
|
4988
|
-
exports.__wbg_get_access_token_d2bd959198bc6994 = function(arg0) {
|
|
4989
|
-
const ret = getObject(arg0).get_access_token();
|
|
4990
|
-
return addHeapObject(ret);
|
|
4991
|
-
};
|
|
4992
|
-
|
|
4993
4993
|
exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
|
|
4994
4994
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4995
4995
|
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_83342e0b1b0c874a = 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_8736e55b011935af = 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_32d3c7d7476fc2cc = 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_1cf050800db47d40 = function() { return handleError(function
|
|
|
5418
5418
|
}
|
|
5419
5419
|
}, arguments) };
|
|
5420
5420
|
|
|
5421
|
-
exports.
|
|
5421
|
+
exports.__wbg_remove_58d432564647c402 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5422
5422
|
let deferred0_0;
|
|
5423
5423
|
let deferred0_1;
|
|
5424
5424
|
try {
|
|
@@ -5456,7 +5456,16 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
|
|
|
5456
5456
|
return addHeapObject(ret);
|
|
5457
5457
|
};
|
|
5458
5458
|
|
|
5459
|
-
exports.
|
|
5459
|
+
exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
5460
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5461
|
+
};
|
|
5462
|
+
|
|
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_9494af7d789f5ccd = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5460
5469
|
let deferred0_0;
|
|
5461
5470
|
let deferred0_1;
|
|
5462
5471
|
try {
|
|
@@ -5469,14 +5478,18 @@ exports.__wbg_set_00139487764f574e = function() { return handleError(function (a
|
|
|
5469
5478
|
}
|
|
5470
5479
|
}, arguments) };
|
|
5471
5480
|
|
|
5472
|
-
exports.
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5481
|
+
exports.__wbg_set_b6ff5671ee98ec78 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5482
|
+
let deferred0_0;
|
|
5483
|
+
let deferred0_1;
|
|
5484
|
+
try {
|
|
5485
|
+
deferred0_0 = arg1;
|
|
5486
|
+
deferred0_1 = arg2;
|
|
5487
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5488
|
+
return addHeapObject(ret);
|
|
5489
|
+
} finally {
|
|
5490
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5491
|
+
}
|
|
5492
|
+
}, arguments) };
|
|
5480
5493
|
|
|
5481
5494
|
exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
5482
5495
|
getObject(arg0).body = getObject(arg1);
|
|
@@ -5495,19 +5508,6 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
|
|
|
5495
5508
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5496
5509
|
};
|
|
5497
5510
|
|
|
5498
|
-
exports.__wbg_set_ec1160ea962bd92d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5499
|
-
let deferred0_0;
|
|
5500
|
-
let deferred0_1;
|
|
5501
|
-
try {
|
|
5502
|
-
deferred0_0 = arg1;
|
|
5503
|
-
deferred0_1 = arg2;
|
|
5504
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5505
|
-
return addHeapObject(ret);
|
|
5506
|
-
} finally {
|
|
5507
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5508
|
-
}
|
|
5509
|
-
}, arguments) };
|
|
5510
|
-
|
|
5511
5511
|
exports.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
|
|
5512
5512
|
getObject(arg0).headers = getObject(arg1);
|
|
5513
5513
|
};
|
|
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
521
|
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
521
|
-
export const
|
|
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 wasm_bindgen__closure__destroy__h607bdcca11c93892: (a: number, b: number) => void;
|
|
527
|
+
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|
|
528
528
|
export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
|
|
529
529
|
a: number,
|
|
530
530
|
b: number,
|
|
531
531
|
c: number,
|
|
532
532
|
d: number,
|
|
533
533
|
) => void;
|
|
534
|
-
export const
|
|
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,
|