@bitwarden/sdk-internal 0.2.0-main.440 → 0.2.0-main.441
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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +12 -1
- package/bitwarden_wasm_internal_bg.js +15 -15
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +4 -4
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +12 -1
- package/node/bitwarden_wasm_internal.js +23 -23
- 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
|
@@ -777,6 +777,8 @@ export function isStatefulCryptoError(error: any): error is StatefulCryptoError;
|
|
|
777
777
|
* user_agent: \"Bitwarden Rust-SDK\".to_string(),
|
|
778
778
|
* device_type: DeviceType::SDK,
|
|
779
779
|
* bitwarden_client_version: None,
|
|
780
|
+
* bitwarden_package_type: None,
|
|
781
|
+
* device_identifier: None,
|
|
780
782
|
* };
|
|
781
783
|
* let default = ClientSettings::default();
|
|
782
784
|
* ```
|
|
@@ -799,9 +801,18 @@ export interface ClientSettings {
|
|
|
799
801
|
*/
|
|
800
802
|
deviceType?: DeviceType;
|
|
801
803
|
/**
|
|
802
|
-
*
|
|
804
|
+
* Device identifier to send to Bitwarden. Optional for now in transition period.
|
|
805
|
+
*/
|
|
806
|
+
deviceIdentifier?: string | undefined;
|
|
807
|
+
/**
|
|
808
|
+
* Bitwarden Client Version to send to Bitwarden. Optional for now in transition period.
|
|
803
809
|
*/
|
|
804
810
|
bitwardenClientVersion?: string | undefined;
|
|
811
|
+
/**
|
|
812
|
+
* Bitwarden Package Type to send to Bitwarden. We should evaluate this field to see if it
|
|
813
|
+
* should be optional later.
|
|
814
|
+
*/
|
|
815
|
+
bitwardenPackageType?: string | undefined;
|
|
805
816
|
}
|
|
806
817
|
|
|
807
818
|
export type DeviceType =
|
|
@@ -898,6 +898,18 @@ exports.isGetFolderError = function (error) {
|
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
900
|
|
|
901
|
+
function wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92(arg0, arg1, arg2) {
|
|
902
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92(
|
|
903
|
+
arg0,
|
|
904
|
+
arg1,
|
|
905
|
+
addHeapObject(arg2),
|
|
906
|
+
);
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
function wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1) {
|
|
910
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1);
|
|
911
|
+
}
|
|
912
|
+
|
|
901
913
|
function wasm_bindgen__convert__closures_____invoke__h55c4ad30869c1fdd(arg0, arg1, arg2) {
|
|
902
914
|
try {
|
|
903
915
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -917,18 +929,6 @@ function wasm_bindgen__convert__closures_____invoke__h55c4ad30869c1fdd(arg0, arg
|
|
|
917
929
|
}
|
|
918
930
|
}
|
|
919
931
|
|
|
920
|
-
function wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92(arg0, arg1, arg2) {
|
|
921
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92(
|
|
922
|
-
arg0,
|
|
923
|
-
arg1,
|
|
924
|
-
addHeapObject(arg2),
|
|
925
|
-
);
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
function wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1) {
|
|
929
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1);
|
|
930
|
-
}
|
|
931
|
-
|
|
932
932
|
function wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(arg0, arg1, arg2, arg3) {
|
|
933
933
|
wasm.wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(
|
|
934
934
|
arg0,
|
|
@@ -4681,7 +4681,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4681
4681
|
}, arguments);
|
|
4682
4682
|
};
|
|
4683
4683
|
|
|
4684
|
-
exports.
|
|
4684
|
+
exports.__wbg_cipher_5428356b48319c55 = function (arg0) {
|
|
4685
4685
|
const ret = getObject(arg0).cipher;
|
|
4686
4686
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4687
4687
|
};
|
|
@@ -4774,7 +4774,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4774
4774
|
return addHeapObject(ret);
|
|
4775
4775
|
};
|
|
4776
4776
|
|
|
4777
|
-
exports.
|
|
4777
|
+
exports.__wbg_folder_9f9016f040227b38 = function (arg0) {
|
|
4778
4778
|
const ret = getObject(arg0).folder;
|
|
4779
4779
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4780
4780
|
};
|
|
@@ -4807,7 +4807,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4807
4807
|
return ret;
|
|
4808
4808
|
};
|
|
4809
4809
|
|
|
4810
|
-
exports.
|
|
4810
|
+
exports.__wbg_get_414006ab2e508ab5 = function () {
|
|
4811
4811
|
return handleError(function (arg0, arg1, arg2) {
|
|
4812
4812
|
let deferred0_0;
|
|
4813
4813
|
let deferred0_1;
|
|
@@ -4827,12 +4827,12 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
|
4827
4827
|
return addHeapObject(ret);
|
|
4828
4828
|
};
|
|
4829
4829
|
|
|
4830
|
-
exports.
|
|
4830
|
+
exports.__wbg_get_access_token_09c7a457de1a7959 = function (arg0) {
|
|
4831
4831
|
const ret = getObject(arg0).get_access_token();
|
|
4832
4832
|
return addHeapObject(ret);
|
|
4833
4833
|
};
|
|
4834
4834
|
|
|
4835
|
-
exports.
|
|
4835
|
+
exports.__wbg_get_da93f1edfb2dd62f = function () {
|
|
4836
4836
|
return handleError(function (arg0, arg1, arg2) {
|
|
4837
4837
|
let deferred0_0;
|
|
4838
4838
|
let deferred0_1;
|
|
@@ -5038,14 +5038,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
5038
5038
|
return ret;
|
|
5039
5039
|
};
|
|
5040
5040
|
|
|
5041
|
-
exports.
|
|
5041
|
+
exports.__wbg_list_2d026d2e453d2556 = function () {
|
|
5042
5042
|
return handleError(function (arg0) {
|
|
5043
5043
|
const ret = getObject(arg0).list();
|
|
5044
5044
|
return addHeapObject(ret);
|
|
5045
5045
|
}, arguments);
|
|
5046
5046
|
};
|
|
5047
5047
|
|
|
5048
|
-
exports.
|
|
5048
|
+
exports.__wbg_list_cff51aafd15e21c5 = function () {
|
|
5049
5049
|
return handleError(function (arg0) {
|
|
5050
5050
|
const ret = getObject(arg0).list();
|
|
5051
5051
|
return addHeapObject(ret);
|
|
@@ -5289,7 +5289,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5289
5289
|
}, arguments);
|
|
5290
5290
|
};
|
|
5291
5291
|
|
|
5292
|
-
exports.
|
|
5292
|
+
exports.__wbg_remove_351ba01caa371905 = function () {
|
|
5293
5293
|
return handleError(function (arg0, arg1, arg2) {
|
|
5294
5294
|
let deferred0_0;
|
|
5295
5295
|
let deferred0_1;
|
|
@@ -5304,7 +5304,7 @@ exports.__wbg_remove_13a388135a4b8c62 = function () {
|
|
|
5304
5304
|
}, arguments);
|
|
5305
5305
|
};
|
|
5306
5306
|
|
|
5307
|
-
exports.
|
|
5307
|
+
exports.__wbg_remove_7a179ced0c02f42c = function () {
|
|
5308
5308
|
return handleError(function (arg0, arg1, arg2) {
|
|
5309
5309
|
let deferred0_0;
|
|
5310
5310
|
let deferred0_1;
|
|
@@ -5350,7 +5350,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
5350
5350
|
return addHeapObject(ret);
|
|
5351
5351
|
};
|
|
5352
5352
|
|
|
5353
|
-
exports.
|
|
5353
|
+
exports.__wbg_set_3a5516d5a0e11acd = function () {
|
|
5354
5354
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5355
5355
|
let deferred0_0;
|
|
5356
5356
|
let deferred0_1;
|
|
@@ -5369,7 +5369,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
|
5369
5369
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5370
5370
|
};
|
|
5371
5371
|
|
|
5372
|
-
exports.
|
|
5372
|
+
exports.__wbg_set_56b83a84f772734b = function () {
|
|
5373
5373
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5374
5374
|
let deferred0_0;
|
|
5375
5375
|
let deferred0_1;
|
|
Binary file
|
|
@@ -453,24 +453,24 @@ export const __wbg_vaultclient_free: (a: number, b: number) => void;
|
|
|
453
453
|
export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
454
454
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
455
455
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
456
|
-
export const
|
|
456
|
+
export const wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92: (
|
|
457
457
|
a: number,
|
|
458
458
|
b: number,
|
|
459
459
|
c: number,
|
|
460
|
-
d: number,
|
|
461
460
|
) => void;
|
|
462
461
|
export const wasm_bindgen__closure__destroy__h541fb5a7c811e354: (a: number, b: number) => void;
|
|
463
|
-
export const
|
|
462
|
+
export const wasm_bindgen__convert__closures_____invoke__h62b881a194105b80: (
|
|
464
463
|
a: number,
|
|
465
464
|
b: number,
|
|
466
|
-
c: number,
|
|
467
465
|
) => void;
|
|
468
|
-
export const
|
|
466
|
+
export const wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd: (a: number, b: number) => void;
|
|
467
|
+
export const wasm_bindgen__convert__closures_____invoke__h55c4ad30869c1fdd: (
|
|
469
468
|
a: number,
|
|
470
469
|
b: number,
|
|
470
|
+
c: number,
|
|
471
|
+
d: number,
|
|
471
472
|
) => void;
|
|
472
473
|
export const wasm_bindgen__closure__destroy__he95e920b8d9de938: (a: number, b: number) => void;
|
|
473
|
-
export const wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd: (a: number, b: number) => void;
|
|
474
474
|
export const wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2: (
|
|
475
475
|
a: number,
|
|
476
476
|
b: number,
|