@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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 8d5a4e702de19ed020797bbe3a51d3f2e91442d7
1
+ fc75b9038b6f2304799bd12da287cfc4ca542b6c
@@ -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 } }
@@ -4045,7 +4045,7 @@ export function __wbg_call_7cccdd69e0791ae2() {
4045
4045
  }, arguments);
4046
4046
  }
4047
4047
 
4048
- export function __wbg_cipher_e4e88ba910ee68ed(arg0) {
4048
+ export function __wbg_cipher_f2ae2deae031a97c(arg0) {
4049
4049
  const ret = getObject(arg0).cipher;
4050
4050
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4051
4051
  }
@@ -4125,7 +4125,7 @@ export function __wbg_fetch_509096533071c657(arg0, arg1) {
4125
4125
  return addHeapObject(ret);
4126
4126
  }
4127
4127
 
4128
- export function __wbg_folder_c64f213e399f9900(arg0) {
4128
+ export function __wbg_folder_d2c5b0ed0bacff45(arg0) {
4129
4129
  const ret = getObject(arg0).folder;
4130
4130
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4131
4131
  }
@@ -4147,14 +4147,7 @@ export function __wbg_getTime_46267b1c24877e30(arg0) {
4147
4147
  return ret;
4148
4148
  }
4149
4149
 
4150
- export function __wbg_get_67b2ba62fc30de12() {
4151
- return handleError(function (arg0, arg1) {
4152
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4153
- return addHeapObject(ret);
4154
- }, arguments);
4155
- }
4156
-
4157
- export function __wbg_get_86f1b65a80ecca8d() {
4150
+ export function __wbg_get_0b14c6149bcb998d() {
4158
4151
  return handleError(function (arg0, arg1, arg2) {
4159
4152
  let deferred0_0;
4160
4153
  let deferred0_1;
@@ -4169,7 +4162,7 @@ export function __wbg_get_86f1b65a80ecca8d() {
4169
4162
  }, arguments);
4170
4163
  }
4171
4164
 
4172
- export function __wbg_get_a413840fbc559d1f() {
4165
+ export function __wbg_get_3ec875d2bc17ab98() {
4173
4166
  return handleError(function (arg0, arg1, arg2) {
4174
4167
  let deferred0_0;
4175
4168
  let deferred0_1;
@@ -4184,12 +4177,19 @@ export function __wbg_get_a413840fbc559d1f() {
4184
4177
  }, arguments);
4185
4178
  }
4186
4179
 
4180
+ export function __wbg_get_67b2ba62fc30de12() {
4181
+ return handleError(function (arg0, arg1) {
4182
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4183
+ return addHeapObject(ret);
4184
+ }, arguments);
4185
+ }
4186
+
4187
4187
  export function __wbg_get_b9b93047fe3cf45b(arg0, arg1) {
4188
4188
  const ret = getObject(arg0)[arg1 >>> 0];
4189
4189
  return addHeapObject(ret);
4190
4190
  }
4191
4191
 
4192
- export function __wbg_getaccesstoken_2fd55ae58e5bae98(arg0) {
4192
+ export function __wbg_getaccesstoken_814604c55e72e6cc(arg0) {
4193
4193
  const ret = getObject(arg0).get_access_token();
4194
4194
  return addHeapObject(ret);
4195
4195
  }
@@ -4374,14 +4374,14 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
4374
4374
  return ret;
4375
4375
  }
4376
4376
 
4377
- export function __wbg_list_4be32a3c9a30090e() {
4377
+ export function __wbg_list_05aa17b00de5f694() {
4378
4378
  return handleError(function (arg0) {
4379
4379
  const ret = getObject(arg0).list();
4380
4380
  return addHeapObject(ret);
4381
4381
  }, arguments);
4382
4382
  }
4383
4383
 
4384
- export function __wbg_list_9e13d2e3ed505ad4() {
4384
+ export function __wbg_list_94aa90c25ebd0008() {
4385
4385
  return handleError(function (arg0) {
4386
4386
  const ret = getObject(arg0).list();
4387
4387
  return addHeapObject(ret);
@@ -4582,7 +4582,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
4582
4582
  }, arguments);
4583
4583
  }
4584
4584
 
4585
- export function __wbg_remove_ae7156b156107021() {
4585
+ export function __wbg_remove_5f35e09bda32ff81() {
4586
4586
  return handleError(function (arg0, arg1, arg2) {
4587
4587
  let deferred0_0;
4588
4588
  let deferred0_1;
@@ -4597,7 +4597,7 @@ export function __wbg_remove_ae7156b156107021() {
4597
4597
  }, arguments);
4598
4598
  }
4599
4599
 
4600
- export function __wbg_remove_b42cb221c3aaa112() {
4600
+ export function __wbg_remove_cb22e6ab607ea1c0() {
4601
4601
  return handleError(function (arg0, arg1, arg2) {
4602
4602
  let deferred0_0;
4603
4603
  let deferred0_1;
@@ -4643,7 +4643,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
4643
4643
  return addHeapObject(ret);
4644
4644
  }
4645
4645
 
4646
- export function __wbg_set_1d57369a6273da5c() {
4646
+ export function __wbg_set_27969cfb77f65a16() {
4647
4647
  return handleError(function (arg0, arg1, arg2, arg3) {
4648
4648
  let deferred0_0;
4649
4649
  let deferred0_1;
@@ -4666,7 +4666,11 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
4666
4666
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
4667
4667
  }
4668
4668
 
4669
- export function __wbg_set_59520fd596696e20() {
4669
+ export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4670
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4671
+ }
4672
+
4673
+ export function __wbg_set_7689f42b128c8143() {
4670
4674
  return handleError(function (arg0, arg1, arg2, arg3) {
4671
4675
  let deferred0_0;
4672
4676
  let deferred0_1;
@@ -4681,10 +4685,6 @@ export function __wbg_set_59520fd596696e20() {
4681
4685
  }, arguments);
4682
4686
  }
4683
4687
 
4684
- export function __wbg_set_65595bdd868b3009(arg0, arg1, arg2) {
4685
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
4686
- }
4687
-
4688
4688
  export function __wbg_set_8fc6bf8a5b1071d1(arg0, arg1, arg2) {
4689
4689
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
4690
4690
  return addHeapObject(ret);
@@ -4910,17 +4910,17 @@ export function __wbindgen_closure_wrapper195(arg0, arg1, arg2) {
4910
4910
  return addHeapObject(ret);
4911
4911
  }
4912
4912
 
4913
- export function __wbindgen_closure_wrapper3844(arg0, arg1, arg2) {
4913
+ export function __wbindgen_closure_wrapper3847(arg0, arg1, arg2) {
4914
4914
  const ret = makeMutClosure(arg0, arg1, 293, __wbg_adapter_60);
4915
4915
  return addHeapObject(ret);
4916
4916
  }
4917
4917
 
4918
- export function __wbindgen_closure_wrapper6176(arg0, arg1, arg2) {
4918
+ export function __wbindgen_closure_wrapper6179(arg0, arg1, arg2) {
4919
4919
  const ret = makeMutClosure(arg0, arg1, 319, __wbg_adapter_60);
4920
4920
  return addHeapObject(ret);
4921
4921
  }
4922
4922
 
4923
- export function __wbindgen_closure_wrapper6556(arg0, arg1, arg2) {
4923
+ export function __wbindgen_closure_wrapper6559(arg0, arg1, arg2) {
4924
4924
  const ret = makeMutClosure(arg0, arg1, 342, __wbg_adapter_54);
4925
4925
  return addHeapObject(ret);
4926
4926
  }
Binary file