@bitwarden/sdk-internal 0.2.0-main.186 → 0.2.0-main.188
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.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/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
|