@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.
@@ -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>;
@@ -989,10 +989,6 @@ exports.isGetFolderError = function(error) {
989
989
  }
990
990
  };
991
991
 
992
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
993
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
994
- }
995
-
996
992
  function wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5(arg0, arg1, arg2) {
997
993
  try {
998
994
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -1007,6 +1003,10 @@ function wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5(arg0, arg
1007
1003
  }
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__h7e690d71e18a977f(arg0, arg1, arg2) {
1011
1011
  wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
1012
1012
  }
@@ -4765,7 +4765,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
4765
4765
  return addHeapObject(ret);
4766
4766
  }, arguments) };
4767
4767
 
4768
- exports.__wbg_cipher_a367995e78088dd2 = function(arg0) {
4768
+ exports.__wbg_cipher_2cb27ca07447f23b = function(arg0) {
4769
4769
  const ret = getObject(arg0).cipher;
4770
4770
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4771
4771
  };
@@ -4857,7 +4857,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
4857
4857
  return addHeapObject(ret);
4858
4858
  };
4859
4859
 
4860
- exports.__wbg_folder_492036bdef9a9af5 = function(arg0) {
4860
+ exports.__wbg_folder_5aba6cac3dbac019 = function(arg0) {
4861
4861
  const ret = getObject(arg0).folder;
4862
4862
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4863
4863
  };
@@ -4889,7 +4889,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4889
4889
  return ret;
4890
4890
  };
4891
4891
 
4892
- exports.__wbg_get_574d43e5b57a3a28 = function() { return handleError(function (arg0, arg1, arg2) {
4892
+ exports.__wbg_get_3b627fec8c718380 = function() { return handleError(function (arg0, arg1, arg2) {
4893
4893
  let deferred0_0;
4894
4894
  let deferred0_1;
4895
4895
  try {
@@ -4907,7 +4907,7 @@ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4907
4907
  return addHeapObject(ret);
4908
4908
  };
4909
4909
 
4910
- exports.__wbg_get_8295a86e11a42df9 = function() { return handleError(function (arg0, arg1, arg2) {
4910
+ exports.__wbg_get_7cffd32402e8693e = function() { return handleError(function (arg0, arg1, arg2) {
4911
4911
  let deferred0_0;
4912
4912
  let deferred0_1;
4913
4913
  try {
@@ -4920,7 +4920,7 @@ exports.__wbg_get_8295a86e11a42df9 = function() { return handleError(function (a
4920
4920
  }
4921
4921
  }, arguments) };
4922
4922
 
4923
- exports.__wbg_get_access_token_4a742389ae3d3b37 = function(arg0) {
4923
+ exports.__wbg_get_access_token_835d83fb8d75910d = function(arg0) {
4924
4924
  const ret = getObject(arg0).get_access_token();
4925
4925
  return addHeapObject(ret);
4926
4926
  };
@@ -5113,12 +5113,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5113
5113
  return ret;
5114
5114
  };
5115
5115
 
5116
- exports.__wbg_list_7ac36537ae6e3542 = function() { return handleError(function (arg0) {
5116
+ exports.__wbg_list_4ad9aaa10a736d50 = function() { return handleError(function (arg0) {
5117
5117
  const ret = getObject(arg0).list();
5118
5118
  return addHeapObject(ret);
5119
5119
  }, arguments) };
5120
5120
 
5121
- exports.__wbg_list_c928cfeea7d03982 = function() { return handleError(function (arg0) {
5121
+ exports.__wbg_list_95fd4ad4cb09541f = function() { return handleError(function (arg0) {
5122
5122
  const ret = getObject(arg0).list();
5123
5123
  return addHeapObject(ret);
5124
5124
  }, arguments) };
@@ -5340,7 +5340,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
5340
5340
  getObject(arg0).randomFillSync(takeObject(arg1));
5341
5341
  }, arguments) };
5342
5342
 
5343
- exports.__wbg_remove_ac7bc184e93fc640 = function() { return handleError(function (arg0, arg1, arg2) {
5343
+ exports.__wbg_remove_51da030bd3f85845 = function() { return handleError(function (arg0, arg1, arg2) {
5344
5344
  let deferred0_0;
5345
5345
  let deferred0_1;
5346
5346
  try {
@@ -5353,7 +5353,7 @@ exports.__wbg_remove_ac7bc184e93fc640 = function() { return handleError(function
5353
5353
  }
5354
5354
  }, arguments) };
5355
5355
 
5356
- exports.__wbg_remove_eae3af7425d97adc = function() { return handleError(function (arg0, arg1, arg2) {
5356
+ exports.__wbg_remove_70e94f68821783ed = function() { return handleError(function (arg0, arg1, arg2) {
5357
5357
  let deferred0_0;
5358
5358
  let deferred0_1;
5359
5359
  try {
@@ -5395,7 +5395,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5395
5395
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5396
5396
  };
5397
5397
 
5398
- exports.__wbg_set_6075d541d698e0e5 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5398
+ exports.__wbg_set_6101f28c5cc6333d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5399
5399
  let deferred0_0;
5400
5400
  let deferred0_1;
5401
5401
  try {
@@ -5413,6 +5413,19 @@ exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5413
5413
  return addHeapObject(ret);
5414
5414
  };
5415
5415
 
5416
+ exports.__wbg_set_a350c645e7eb5cf7 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5417
+ let deferred0_0;
5418
+ let deferred0_1;
5419
+ try {
5420
+ deferred0_0 = arg1;
5421
+ deferred0_1 = arg2;
5422
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5423
+ return addHeapObject(ret);
5424
+ } finally {
5425
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5426
+ }
5427
+ }, arguments) };
5428
+
5416
5429
  exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5417
5430
  getObject(arg0).body = getObject(arg1);
5418
5431
  };
@@ -5426,19 +5439,6 @@ exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (a
5426
5439
  return ret;
5427
5440
  }, arguments) };
5428
5441
 
5429
- exports.__wbg_set_c42c6fd307fdf3ee = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5430
- let deferred0_0;
5431
- let deferred0_1;
5432
- try {
5433
- deferred0_0 = arg1;
5434
- deferred0_1 = arg2;
5435
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5436
- return addHeapObject(ret);
5437
- } finally {
5438
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5439
- }
5440
- }, arguments) };
5441
-
5442
5442
  exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
5443
5443
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5444
5444
  };
@@ -510,12 +510,6 @@ 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: (
514
- a: number,
515
- b: number,
516
- ) => void;
517
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
518
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
519
513
  export const wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5: (
520
514
  a: number,
521
515
  b: number,
@@ -523,6 +517,12 @@ export const wasm_bindgen__convert__closures_____invoke__h15dc1a5ab679adb5: (
523
517
  d: number,
524
518
  ) => void;
525
519
  export const wasm_bindgen__closure__destroy__h8316b5ffc9c02e99: (a: number, b: number) => void;
520
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
521
+ a: number,
522
+ b: number,
523
+ ) => void;
524
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
525
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
526
526
  export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
527
527
  a: number,
528
528
  b: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.491",
3
+ "version": "0.2.0-main.492",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",