@bitwarden/sdk-internal 0.2.0-main.187 → 0.2.0-main.189
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 +3 -3
- package/bitwarden_wasm_internal_bg.js +2 -2
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +2 -2
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +3 -3
- package/node/bitwarden_wasm_internal.js +2 -2
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
|
@@ -113,7 +113,7 @@ export interface InitUserCryptoRequest {
|
|
|
113
113
|
/**
|
|
114
114
|
* The user\'s encrypted private key
|
|
115
115
|
*/
|
|
116
|
-
privateKey:
|
|
116
|
+
privateKey: EncString;
|
|
117
117
|
/**
|
|
118
118
|
* The initialization method to use
|
|
119
119
|
*/
|
|
@@ -124,7 +124,7 @@ export interface InitUserCryptoRequest {
|
|
|
124
124
|
* The crypto method used to initialize the user cryptographic state.
|
|
125
125
|
*/
|
|
126
126
|
export type InitUserCryptoMethod =
|
|
127
|
-
| { password: { password: string; user_key:
|
|
127
|
+
| { password: { password: string; user_key: EncString } }
|
|
128
128
|
| { decryptedKey: { decrypted_user_key: string } }
|
|
129
129
|
| { pin: { pin: string; pin_protected_user_key: EncString } }
|
|
130
130
|
| { authRequest: { request_private_key: string; method: AuthRequestMethod } }
|
|
@@ -135,7 +135,7 @@ export type InitUserCryptoMethod =
|
|
|
135
135
|
device_protected_user_key: UnsignedSharedKey;
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
| { keyConnector: { master_key: string; user_key:
|
|
138
|
+
| { keyConnector: { master_key: string; user_key: EncString } };
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* Auth requests supports multiple initialization methods.
|
|
@@ -3597,12 +3597,12 @@ module.exports.__wbindgen_cb_drop = function (arg0) {
|
|
|
3597
3597
|
return ret;
|
|
3598
3598
|
};
|
|
3599
3599
|
|
|
3600
|
-
module.exports.
|
|
3600
|
+
module.exports.__wbindgen_closure_wrapper3149 = function (arg0, arg1, arg2) {
|
|
3601
3601
|
const ret = makeMutClosure(arg0, arg1, 727, __wbg_adapter_50);
|
|
3602
3602
|
return addHeapObject(ret);
|
|
3603
3603
|
};
|
|
3604
3604
|
|
|
3605
|
-
module.exports.
|
|
3605
|
+
module.exports.__wbindgen_closure_wrapper3544 = function (arg0, arg1, arg2) {
|
|
3606
3606
|
const ret = makeMutClosure(arg0, arg1, 849, __wbg_adapter_53);
|
|
3607
3607
|
return addHeapObject(ret);
|
|
3608
3608
|
};
|
|
Binary file
|
|
@@ -138,9 +138,9 @@ export const vaultclient_ciphers: (a: number) => number;
|
|
|
138
138
|
export const vaultclient_folders: (a: number) => number;
|
|
139
139
|
export const vaultclient_totp: (a: number) => number;
|
|
140
140
|
export const __wbg_vaultclient_free: (a: number, b: number) => void;
|
|
141
|
-
export const __wbg_totpclient_free: (a: number, b: number) => void;
|
|
142
|
-
export const __wbg_foldersclient_free: (a: number, b: number) => void;
|
|
143
141
|
export const __wbg_ciphersclient_free: (a: number, b: number) => void;
|
|
142
|
+
export const __wbg_foldersclient_free: (a: number, b: number) => void;
|
|
143
|
+
export const __wbg_totpclient_free: (a: number, b: number) => void;
|
|
144
144
|
export const __wbg_bitwardenclient_free: (a: number, b: number) => void;
|
|
145
145
|
export const bitwardenclient_new: (a: number) => number;
|
|
146
146
|
export const bitwardenclient_echo: (a: number, b: number, c: number, d: number) => void;
|