@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.
@@ -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.
@@ -3597,12 +3597,12 @@ module.exports.__wbindgen_cb_drop = function (arg0) {
3597
3597
  return ret;
3598
3598
  };
3599
3599
 
3600
- module.exports.__wbindgen_closure_wrapper3151 = function (arg0, arg1, arg2) {
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.__wbindgen_closure_wrapper3546 = function (arg0, arg1, arg2) {
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.187",
3
+ "version": "0.2.0-main.188",
4
4
  "license": "GPL-3.0",
5
5
  "files": [
6
6
  "bitwarden_wasm_internal_bg.js",