@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
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b9cf7b78b23f308dde113374161bee863fa23236
|
|
@@ -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 =
|
|
@@ -908,10 +908,6 @@ export function isGetFolderError(error) {
|
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
910
|
|
|
911
|
-
function wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1) {
|
|
912
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1);
|
|
913
|
-
}
|
|
914
|
-
|
|
915
911
|
function wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92(arg0, arg1, arg2) {
|
|
916
912
|
wasm.wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92(
|
|
917
913
|
arg0,
|
|
@@ -920,6 +916,10 @@ function wasm_bindgen__convert__closures_____invoke__h5cc2c3c66229bc92(arg0, arg
|
|
|
920
916
|
);
|
|
921
917
|
}
|
|
922
918
|
|
|
919
|
+
function wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1) {
|
|
920
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
923
|
function wasm_bindgen__convert__closures_____invoke__h55c4ad30869c1fdd(arg0, arg1, arg2) {
|
|
924
924
|
try {
|
|
925
925
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -4641,7 +4641,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4641
4641
|
}, arguments);
|
|
4642
4642
|
}
|
|
4643
4643
|
|
|
4644
|
-
export function
|
|
4644
|
+
export function __wbg_cipher_5428356b48319c55(arg0) {
|
|
4645
4645
|
const ret = getObject(arg0).cipher;
|
|
4646
4646
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4647
4647
|
}
|
|
@@ -4734,7 +4734,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4734
4734
|
return addHeapObject(ret);
|
|
4735
4735
|
}
|
|
4736
4736
|
|
|
4737
|
-
export function
|
|
4737
|
+
export function __wbg_folder_9f9016f040227b38(arg0) {
|
|
4738
4738
|
const ret = getObject(arg0).folder;
|
|
4739
4739
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4740
4740
|
}
|
|
@@ -4767,7 +4767,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4767
4767
|
return ret;
|
|
4768
4768
|
}
|
|
4769
4769
|
|
|
4770
|
-
export function
|
|
4770
|
+
export function __wbg_get_414006ab2e508ab5() {
|
|
4771
4771
|
return handleError(function (arg0, arg1, arg2) {
|
|
4772
4772
|
let deferred0_0;
|
|
4773
4773
|
let deferred0_1;
|
|
@@ -4787,12 +4787,12 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
4787
4787
|
return addHeapObject(ret);
|
|
4788
4788
|
}
|
|
4789
4789
|
|
|
4790
|
-
export function
|
|
4790
|
+
export function __wbg_get_access_token_09c7a457de1a7959(arg0) {
|
|
4791
4791
|
const ret = getObject(arg0).get_access_token();
|
|
4792
4792
|
return addHeapObject(ret);
|
|
4793
4793
|
}
|
|
4794
4794
|
|
|
4795
|
-
export function
|
|
4795
|
+
export function __wbg_get_da93f1edfb2dd62f() {
|
|
4796
4796
|
return handleError(function (arg0, arg1, arg2) {
|
|
4797
4797
|
let deferred0_0;
|
|
4798
4798
|
let deferred0_1;
|
|
@@ -4998,14 +4998,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
4998
4998
|
return ret;
|
|
4999
4999
|
}
|
|
5000
5000
|
|
|
5001
|
-
export function
|
|
5001
|
+
export function __wbg_list_2d026d2e453d2556() {
|
|
5002
5002
|
return handleError(function (arg0) {
|
|
5003
5003
|
const ret = getObject(arg0).list();
|
|
5004
5004
|
return addHeapObject(ret);
|
|
5005
5005
|
}, arguments);
|
|
5006
5006
|
}
|
|
5007
5007
|
|
|
5008
|
-
export function
|
|
5008
|
+
export function __wbg_list_cff51aafd15e21c5() {
|
|
5009
5009
|
return handleError(function (arg0) {
|
|
5010
5010
|
const ret = getObject(arg0).list();
|
|
5011
5011
|
return addHeapObject(ret);
|
|
@@ -5249,7 +5249,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5249
5249
|
}, arguments);
|
|
5250
5250
|
}
|
|
5251
5251
|
|
|
5252
|
-
export function
|
|
5252
|
+
export function __wbg_remove_351ba01caa371905() {
|
|
5253
5253
|
return handleError(function (arg0, arg1, arg2) {
|
|
5254
5254
|
let deferred0_0;
|
|
5255
5255
|
let deferred0_1;
|
|
@@ -5264,7 +5264,7 @@ export function __wbg_remove_13a388135a4b8c62() {
|
|
|
5264
5264
|
}, arguments);
|
|
5265
5265
|
}
|
|
5266
5266
|
|
|
5267
|
-
export function
|
|
5267
|
+
export function __wbg_remove_7a179ced0c02f42c() {
|
|
5268
5268
|
return handleError(function (arg0, arg1, arg2) {
|
|
5269
5269
|
let deferred0_0;
|
|
5270
5270
|
let deferred0_1;
|
|
@@ -5310,7 +5310,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5310
5310
|
return addHeapObject(ret);
|
|
5311
5311
|
}
|
|
5312
5312
|
|
|
5313
|
-
export function
|
|
5313
|
+
export function __wbg_set_3a5516d5a0e11acd() {
|
|
5314
5314
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5315
5315
|
let deferred0_0;
|
|
5316
5316
|
let deferred0_1;
|
|
@@ -5329,7 +5329,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
|
5329
5329
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5330
5330
|
}
|
|
5331
5331
|
|
|
5332
|
-
export function
|
|
5332
|
+
export function __wbg_set_56b83a84f772734b() {
|
|
5333
5333
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5334
5334
|
let deferred0_0;
|
|
5335
5335
|
let deferred0_1;
|
|
Binary file
|
|
@@ -453,17 +453,16 @@ 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
|
+
c: number,
|
|
459
460
|
) => void;
|
|
460
461
|
export const wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd: (a: number, b: number) => void;
|
|
461
|
-
export const
|
|
462
|
+
export const wasm_bindgen__convert__closures_____invoke__h62b881a194105b80: (
|
|
462
463
|
a: number,
|
|
463
464
|
b: number,
|
|
464
|
-
c: number,
|
|
465
465
|
) => void;
|
|
466
|
-
export const wasm_bindgen__closure__destroy__h541fb5a7c811e354: (a: number, b: number) => void;
|
|
467
466
|
export const wasm_bindgen__closure__destroy__he95e920b8d9de938: (a: number, b: number) => void;
|
|
468
467
|
export const wasm_bindgen__convert__closures_____invoke__h55c4ad30869c1fdd: (
|
|
469
468
|
a: number,
|
|
@@ -471,6 +470,7 @@ export const wasm_bindgen__convert__closures_____invoke__h55c4ad30869c1fdd: (
|
|
|
471
470
|
c: number,
|
|
472
471
|
d: number,
|
|
473
472
|
) => void;
|
|
473
|
+
export const wasm_bindgen__closure__destroy__h541fb5a7c811e354: (a: number, b: number) => void;
|
|
474
474
|
export const wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2: (
|
|
475
475
|
a: number,
|
|
476
476
|
b: number,
|