@bitwarden/sdk-internal 0.2.0-main.491 → 0.2.0-main.492

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
- e6d848e19451bbd1a6cb4ad436343da109ea50c6
1
+ b275f18dcf2caf0dd82e0248fc9299089cc4d880
@@ -1876,6 +1876,10 @@ export interface CipherView {
1876
1876
  viewPassword: boolean;
1877
1877
  localData: LocalDataView | undefined;
1878
1878
  attachments: AttachmentView[] | undefined;
1879
+ /**
1880
+ * Attachments that failed to decrypt. Only present when there are decryption failures.
1881
+ */
1882
+ attachmentDecryptionFailures?: AttachmentView[];
1879
1883
  fields: FieldView[] | undefined;
1880
1884
  passwordHistory: PasswordHistoryView[] | undefined;
1881
1885
  creationDate: DateTime<Utc>;
@@ -999,14 +999,14 @@ export function isGetFolderError(error) {
999
999
  }
1000
1000
  }
1001
1001
 
1002
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1003
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1004
- }
1005
-
1006
1002
  function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
1007
1003
  wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
1008
1004
  }
1009
1005
 
1006
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1007
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1008
+ }
1009
+
1010
1010
  function wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5(arg0, arg1, arg2) {
1011
1011
  try {
1012
1012
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -4723,7 +4723,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
4723
4723
  return addHeapObject(ret);
4724
4724
  }, arguments) };
4725
4725
 
4726
- export function __wbg_cipher_a367995e78088dd2(arg0) {
4726
+ export function __wbg_cipher_2cb27ca07447f23b(arg0) {
4727
4727
  const ret = getObject(arg0).cipher;
4728
4728
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4729
4729
  };
@@ -4815,7 +4815,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4815
4815
  return addHeapObject(ret);
4816
4816
  };
4817
4817
 
4818
- export function __wbg_folder_492036bdef9a9af5(arg0) {
4818
+ export function __wbg_folder_5aba6cac3dbac019(arg0) {
4819
4819
  const ret = getObject(arg0).folder;
4820
4820
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4821
4821
  };
@@ -4847,7 +4847,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4847
4847
  return ret;
4848
4848
  };
4849
4849
 
4850
- export function __wbg_get_574d43e5b57a3a28() { return handleError(function (arg0, arg1, arg2) {
4850
+ export function __wbg_get_3b627fec8c718380() { return handleError(function (arg0, arg1, arg2) {
4851
4851
  let deferred0_0;
4852
4852
  let deferred0_1;
4853
4853
  try {
@@ -4865,7 +4865,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4865
4865
  return addHeapObject(ret);
4866
4866
  };
4867
4867
 
4868
- export function __wbg_get_8295a86e11a42df9() { return handleError(function (arg0, arg1, arg2) {
4868
+ export function __wbg_get_7cffd32402e8693e() { return handleError(function (arg0, arg1, arg2) {
4869
4869
  let deferred0_0;
4870
4870
  let deferred0_1;
4871
4871
  try {
@@ -4878,7 +4878,7 @@ export function __wbg_get_8295a86e11a42df9() { return handleError(function (arg0
4878
4878
  }
4879
4879
  }, arguments) };
4880
4880
 
4881
- export function __wbg_get_access_token_4a742389ae3d3b37(arg0) {
4881
+ export function __wbg_get_access_token_835d83fb8d75910d(arg0) {
4882
4882
  const ret = getObject(arg0).get_access_token();
4883
4883
  return addHeapObject(ret);
4884
4884
  };
@@ -5071,12 +5071,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5071
5071
  return ret;
5072
5072
  };
5073
5073
 
5074
- export function __wbg_list_7ac36537ae6e3542() { return handleError(function (arg0) {
5074
+ export function __wbg_list_4ad9aaa10a736d50() { return handleError(function (arg0) {
5075
5075
  const ret = getObject(arg0).list();
5076
5076
  return addHeapObject(ret);
5077
5077
  }, arguments) };
5078
5078
 
5079
- export function __wbg_list_c928cfeea7d03982() { return handleError(function (arg0) {
5079
+ export function __wbg_list_95fd4ad4cb09541f() { return handleError(function (arg0) {
5080
5080
  const ret = getObject(arg0).list();
5081
5081
  return addHeapObject(ret);
5082
5082
  }, arguments) };
@@ -5298,7 +5298,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
5298
5298
  getObject(arg0).randomFillSync(takeObject(arg1));
5299
5299
  }, arguments) };
5300
5300
 
5301
- export function __wbg_remove_ac7bc184e93fc640() { return handleError(function (arg0, arg1, arg2) {
5301
+ export function __wbg_remove_51da030bd3f85845() { return handleError(function (arg0, arg1, arg2) {
5302
5302
  let deferred0_0;
5303
5303
  let deferred0_1;
5304
5304
  try {
@@ -5311,7 +5311,7 @@ export function __wbg_remove_ac7bc184e93fc640() { return handleError(function (a
5311
5311
  }
5312
5312
  }, arguments) };
5313
5313
 
5314
- export function __wbg_remove_eae3af7425d97adc() { return handleError(function (arg0, arg1, arg2) {
5314
+ export function __wbg_remove_70e94f68821783ed() { return handleError(function (arg0, arg1, arg2) {
5315
5315
  let deferred0_0;
5316
5316
  let deferred0_1;
5317
5317
  try {
@@ -5353,7 +5353,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5353
5353
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5354
5354
  };
5355
5355
 
5356
- export function __wbg_set_6075d541d698e0e5() { return handleError(function (arg0, arg1, arg2, arg3) {
5356
+ export function __wbg_set_6101f28c5cc6333d() { return handleError(function (arg0, arg1, arg2, arg3) {
5357
5357
  let deferred0_0;
5358
5358
  let deferred0_1;
5359
5359
  try {
@@ -5371,6 +5371,19 @@ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5371
5371
  return addHeapObject(ret);
5372
5372
  };
5373
5373
 
5374
+ export function __wbg_set_a350c645e7eb5cf7() { return handleError(function (arg0, arg1, arg2, arg3) {
5375
+ let deferred0_0;
5376
+ let deferred0_1;
5377
+ try {
5378
+ deferred0_0 = arg1;
5379
+ deferred0_1 = arg2;
5380
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5381
+ return addHeapObject(ret);
5382
+ } finally {
5383
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5384
+ }
5385
+ }, arguments) };
5386
+
5374
5387
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5375
5388
  getObject(arg0).body = getObject(arg1);
5376
5389
  };
@@ -5384,19 +5397,6 @@ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0
5384
5397
  return ret;
5385
5398
  }, arguments) };
5386
5399
 
5387
- export function __wbg_set_c42c6fd307fdf3ee() { return handleError(function (arg0, arg1, arg2, arg3) {
5388
- let deferred0_0;
5389
- let deferred0_1;
5390
- try {
5391
- deferred0_0 = arg1;
5392
- deferred0_1 = arg2;
5393
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5394
- return addHeapObject(ret);
5395
- } finally {
5396
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5397
- }
5398
- }, arguments) };
5399
-
5400
5400
  export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5401
5401
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5402
5402
  };
Binary file
@@ -510,25 +510,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
510
510
  export const vaultclient_attachments: (a: number) => number;
511
511
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
512
512
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
513
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
513
+ export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
514
514
  a: number,
515
515
  b: number,
516
+ c: number,
516
517
  ) => void;
517
518
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
518
- export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
519
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
519
520
  a: number,
520
521
  b: number,
521
- c: number,
522
522
  ) => void;
523
523
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
524
- export const wasm_bindgen__closure__destroy__h8316b5ffc9c02e99: (a: number, b: number) => void;
525
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
526
524
  export const wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5: (
527
525
  a: number,
528
526
  b: number,
529
527
  c: number,
530
528
  d: number,
531
529
  ) => void;
530
+ export const wasm_bindgen__closure__destroy__h8316b5ffc9c02e99: (a: number, b: number) => void;
531
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
532
532
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
533
533
  a: number,
534
534
  b: number,