@bitwarden/sdk-internal 0.2.0-main.187 → 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 CHANGED
@@ -1 +1 @@
1
- fc80849405e744728c4c465f9dd9777e7bc4a7a3
1
+ 307801c170010012ccd9d2afb9fb2165d8a71f22
@@ -113,7 +113,7 @@ export interface InitUserCryptoRequest {
113
113
  /**
114
114
  * The user\'s encrypted private key
115
115
  */
116
- privateKey: string;
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: string } }
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: string } };
138
+ | { keyConnector: { master_key: string; user_key: EncString } };
139
139
 
140
140
  /**
141
141
  * Auth requests supports multiple initialization methods.
@@ -3586,12 +3586,12 @@ export function __wbindgen_cb_drop(arg0) {
3586
3586
  return ret;
3587
3587
  }
3588
3588
 
3589
- export function __wbindgen_closure_wrapper3151(arg0, arg1, arg2) {
3589
+ export function __wbindgen_closure_wrapper3149(arg0, arg1, arg2) {
3590
3590
  const ret = makeMutClosure(arg0, arg1, 727, __wbg_adapter_50);
3591
3591
  return addHeapObject(ret);
3592
3592
  }
3593
3593
 
3594
- export function __wbindgen_closure_wrapper3546(arg0, arg1, arg2) {
3594
+ export function __wbindgen_closure_wrapper3544(arg0, arg1, arg2) {
3595
3595
  const ret = makeMutClosure(arg0, arg1, 849, __wbg_adapter_53);
3596
3596
  return addHeapObject(ret);
3597
3597
  }
Binary file