@bitwarden/sdk-internal 0.2.0-main.349 → 0.2.0-main.350

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.
@@ -395,6 +395,7 @@ export interface InitUserCryptoRequest {
395
395
  */
396
396
  export type InitUserCryptoMethod =
397
397
  | { password: { password: string; user_key: EncString } }
398
+ | { masterPasswordUnlock: { password: string; master_password_unlock: MasterPasswordUnlockData } }
398
399
  | { decryptedKey: { decrypted_user_key: string } }
399
400
  | { pin: { pin: string; pin_protected_user_key: EncString } }
400
401
  | { pinEnvelope: { pin: string; pin_protected_user_key_envelope: PasswordProtectedKeyEnvelope } }
@@ -4061,7 +4061,7 @@ module.exports.__wbg_call_7cccdd69e0791ae2 = function () {
4061
4061
  }, arguments);
4062
4062
  };
4063
4063
 
4064
- module.exports.__wbg_cipher_e4e88ba910ee68ed = function (arg0) {
4064
+ module.exports.__wbg_cipher_f2ae2deae031a97c = function (arg0) {
4065
4065
  const ret = getObject(arg0).cipher;
4066
4066
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4067
4067
  };
@@ -4141,7 +4141,7 @@ module.exports.__wbg_fetch_509096533071c657 = function (arg0, arg1) {
4141
4141
  return addHeapObject(ret);
4142
4142
  };
4143
4143
 
4144
- module.exports.__wbg_folder_c64f213e399f9900 = function (arg0) {
4144
+ module.exports.__wbg_folder_d2c5b0ed0bacff45 = function (arg0) {
4145
4145
  const ret = getObject(arg0).folder;
4146
4146
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4147
4147
  };
@@ -4163,14 +4163,7 @@ module.exports.__wbg_getTime_46267b1c24877e30 = function (arg0) {
4163
4163
  return ret;
4164
4164
  };
4165
4165
 
4166
- module.exports.__wbg_get_67b2ba62fc30de12 = function () {
4167
- return handleError(function (arg0, arg1) {
4168
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4169
- return addHeapObject(ret);
4170
- }, arguments);
4171
- };
4172
-
4173
- module.exports.__wbg_get_86f1b65a80ecca8d = function () {
4166
+ module.exports.__wbg_get_0b14c6149bcb998d = function () {
4174
4167
  return handleError(function (arg0, arg1, arg2) {
4175
4168
  let deferred0_0;
4176
4169
  let deferred0_1;
@@ -4185,7 +4178,7 @@ module.exports.__wbg_get_86f1b65a80ecca8d = function () {
4185
4178
  }, arguments);
4186
4179
  };
4187
4180
 
4188
- module.exports.__wbg_get_a413840fbc559d1f = function () {
4181
+ module.exports.__wbg_get_3ec875d2bc17ab98 = function () {
4189
4182
  return handleError(function (arg0, arg1, arg2) {
4190
4183
  let deferred0_0;
4191
4184
  let deferred0_1;
@@ -4200,12 +4193,19 @@ module.exports.__wbg_get_a413840fbc559d1f = function () {
4200
4193
  }, arguments);
4201
4194
  };
4202
4195
 
4196
+ module.exports.__wbg_get_67b2ba62fc30de12 = function () {
4197
+ return handleError(function (arg0, arg1) {
4198
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4199
+ return addHeapObject(ret);
4200
+ }, arguments);
4201
+ };
4202
+
4203
4203
  module.exports.__wbg_get_b9b93047fe3cf45b = function (arg0, arg1) {
4204
4204
  const ret = getObject(arg0)[arg1 >>> 0];
4205
4205
  return addHeapObject(ret);
4206
4206
  };
4207
4207
 
4208
- module.exports.__wbg_getaccesstoken_2fd55ae58e5bae98 = function (arg0) {
4208
+ module.exports.__wbg_getaccesstoken_814604c55e72e6cc = function (arg0) {
4209
4209
  const ret = getObject(arg0).get_access_token();
4210
4210
  return addHeapObject(ret);
4211
4211
  };
@@ -4390,14 +4390,14 @@ module.exports.__wbg_length_e2d2a49132c1b256 = function (arg0) {
4390
4390
  return ret;
4391
4391
  };
4392
4392
 
4393
- module.exports.__wbg_list_4be32a3c9a30090e = function () {
4393
+ module.exports.__wbg_list_05aa17b00de5f694 = function () {
4394
4394
  return handleError(function (arg0) {
4395
4395
  const ret = getObject(arg0).list();
4396
4396
  return addHeapObject(ret);
4397
4397
  }, arguments);
4398
4398
  };
4399
4399
 
4400
- module.exports.__wbg_list_9e13d2e3ed505ad4 = function () {
4400
+ module.exports.__wbg_list_94aa90c25ebd0008 = function () {
4401
4401
  return handleError(function (arg0) {
4402
4402
  const ret = getObject(arg0).list();
4403
4403
  return addHeapObject(ret);
@@ -4598,7 +4598,7 @@ module.exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
4598
4598
  }, arguments);
4599
4599
  };
4600
4600
 
4601
- module.exports.__wbg_remove_ae7156b156107021 = function () {
4601
+ module.exports.__wbg_remove_5f35e09bda32ff81 = function () {
4602
4602
  return handleError(function (arg0, arg1, arg2) {
4603
4603
  let deferred0_0;
4604
4604
  let deferred0_1;
@@ -4613,7 +4613,7 @@ module.exports.__wbg_remove_ae7156b156107021 = function () {
4613
4613
  }, arguments);
4614
4614
  };
4615
4615
 
4616
- module.exports.__wbg_remove_b42cb221c3aaa112 = function () {
4616
+ module.exports.__wbg_remove_cb22e6ab607ea1c0 = function () {
4617
4617
  return handleError(function (arg0, arg1, arg2) {
4618
4618
  let deferred0_0;
4619
4619
  let deferred0_1;
@@ -4659,7 +4659,7 @@ module.exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
4659
4659
  return addHeapObject(ret);
4660
4660
  };
4661
4661
 
4662
- module.exports.__wbg_set_1d57369a6273da5c = function () {
4662
+ module.exports.__wbg_set_27969cfb77f65a16 = function () {
4663
4663
  return handleError(function (arg0, arg1, arg2, arg3) {
4664
4664
  let deferred0_0;
4665
4665
  let deferred0_1;
@@ -4682,7 +4682,11 @@ module.exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
4682
4682
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4683
4683
  };
4684
4684
 
4685
- module.exports.__wbg_set_59520fd596696e20 = function () {
4685
+ module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
4686
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4687
+ };
4688
+
4689
+ module.exports.__wbg_set_7689f42b128c8143 = function () {
4686
4690
  return handleError(function (arg0, arg1, arg2, arg3) {
4687
4691
  let deferred0_0;
4688
4692
  let deferred0_1;
@@ -4697,10 +4701,6 @@ module.exports.__wbg_set_59520fd596696e20 = function () {
4697
4701
  }, arguments);
4698
4702
  };
4699
4703
 
4700
- module.exports.__wbg_set_65595bdd868b3009 = function (arg0, arg1, arg2) {
4701
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4702
- };
4703
-
4704
4704
  module.exports.__wbg_set_8fc6bf8a5b1071d1 = function (arg0, arg1, arg2) {
4705
4705
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4706
4706
  return addHeapObject(ret);
@@ -4926,17 +4926,17 @@ module.exports.__wbindgen_closure_wrapper195 = function (arg0, arg1, arg2) {
4926
4926
  return addHeapObject(ret);
4927
4927
  };
4928
4928
 
4929
- module.exports.__wbindgen_closure_wrapper3844 = function (arg0, arg1, arg2) {
4929
+ module.exports.__wbindgen_closure_wrapper3847 = function (arg0, arg1, arg2) {
4930
4930
  const ret = makeMutClosure(arg0, arg1, 293, __wbg_adapter_60);
4931
4931
  return addHeapObject(ret);
4932
4932
  };
4933
4933
 
4934
- module.exports.__wbindgen_closure_wrapper6176 = function (arg0, arg1, arg2) {
4934
+ module.exports.__wbindgen_closure_wrapper6179 = function (arg0, arg1, arg2) {
4935
4935
  const ret = makeMutClosure(arg0, arg1, 319, __wbg_adapter_60);
4936
4936
  return addHeapObject(ret);
4937
4937
  };
4938
4938
 
4939
- module.exports.__wbindgen_closure_wrapper6556 = function (arg0, arg1, arg2) {
4939
+ module.exports.__wbindgen_closure_wrapper6559 = function (arg0, arg1, arg2) {
4940
4940
  const ret = makeMutClosure(arg0, arg1, 342, __wbg_adapter_54);
4941
4941
  return addHeapObject(ret);
4942
4942
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.349",
3
+ "version": "0.2.0-main.350",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",