@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 CHANGED
@@ -1 +1 @@
1
- fc80849405e744728c4c465f9dd9777e7bc4a7a3
1
+ 4bb596a8f525486e1a1565c9bec5c9fe2e27ed3c
@@ -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
@@ -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;