@bitwarden/commercial-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,14 +989,14 @@ 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__h7e690d71e18a977f(arg0, arg1, arg2) {
997
993
  wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
998
994
  }
999
995
 
996
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
997
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
998
+ }
999
+
1000
1000
  function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg1, arg2) {
1001
1001
  try {
1002
1002
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -4843,7 +4843,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
4843
4843
  return addHeapObject(ret);
4844
4844
  }, arguments) };
4845
4845
 
4846
- exports.__wbg_cipher_a367995e78088dd2 = function(arg0) {
4846
+ exports.__wbg_cipher_2cb27ca07447f23b = function(arg0) {
4847
4847
  const ret = getObject(arg0).cipher;
4848
4848
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4849
4849
  };
@@ -4935,7 +4935,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
4935
4935
  return addHeapObject(ret);
4936
4936
  };
4937
4937
 
4938
- exports.__wbg_folder_492036bdef9a9af5 = function(arg0) {
4938
+ exports.__wbg_folder_5aba6cac3dbac019 = function(arg0) {
4939
4939
  const ret = getObject(arg0).folder;
4940
4940
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4941
4941
  };
@@ -4967,7 +4967,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4967
4967
  return ret;
4968
4968
  };
4969
4969
 
4970
- exports.__wbg_get_574d43e5b57a3a28 = function() { return handleError(function (arg0, arg1, arg2) {
4970
+ exports.__wbg_get_3b627fec8c718380 = function() { return handleError(function (arg0, arg1, arg2) {
4971
4971
  let deferred0_0;
4972
4972
  let deferred0_1;
4973
4973
  try {
@@ -4985,7 +4985,7 @@ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4985
4985
  return addHeapObject(ret);
4986
4986
  };
4987
4987
 
4988
- exports.__wbg_get_8295a86e11a42df9 = function() { return handleError(function (arg0, arg1, arg2) {
4988
+ exports.__wbg_get_7cffd32402e8693e = function() { return handleError(function (arg0, arg1, arg2) {
4989
4989
  let deferred0_0;
4990
4990
  let deferred0_1;
4991
4991
  try {
@@ -4998,7 +4998,7 @@ exports.__wbg_get_8295a86e11a42df9 = function() { return handleError(function (a
4998
4998
  }
4999
4999
  }, arguments) };
5000
5000
 
5001
- exports.__wbg_get_access_token_4a742389ae3d3b37 = function(arg0) {
5001
+ exports.__wbg_get_access_token_835d83fb8d75910d = function(arg0) {
5002
5002
  const ret = getObject(arg0).get_access_token();
5003
5003
  return addHeapObject(ret);
5004
5004
  };
@@ -5191,12 +5191,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5191
5191
  return ret;
5192
5192
  };
5193
5193
 
5194
- exports.__wbg_list_7ac36537ae6e3542 = function() { return handleError(function (arg0) {
5194
+ exports.__wbg_list_4ad9aaa10a736d50 = function() { return handleError(function (arg0) {
5195
5195
  const ret = getObject(arg0).list();
5196
5196
  return addHeapObject(ret);
5197
5197
  }, arguments) };
5198
5198
 
5199
- exports.__wbg_list_c928cfeea7d03982 = function() { return handleError(function (arg0) {
5199
+ exports.__wbg_list_95fd4ad4cb09541f = function() { return handleError(function (arg0) {
5200
5200
  const ret = getObject(arg0).list();
5201
5201
  return addHeapObject(ret);
5202
5202
  }, arguments) };
@@ -5418,7 +5418,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
5418
5418
  getObject(arg0).randomFillSync(takeObject(arg1));
5419
5419
  }, arguments) };
5420
5420
 
5421
- exports.__wbg_remove_ac7bc184e93fc640 = function() { return handleError(function (arg0, arg1, arg2) {
5421
+ exports.__wbg_remove_51da030bd3f85845 = function() { return handleError(function (arg0, arg1, arg2) {
5422
5422
  let deferred0_0;
5423
5423
  let deferred0_1;
5424
5424
  try {
@@ -5431,7 +5431,7 @@ exports.__wbg_remove_ac7bc184e93fc640 = function() { return handleError(function
5431
5431
  }
5432
5432
  }, arguments) };
5433
5433
 
5434
- exports.__wbg_remove_eae3af7425d97adc = function() { return handleError(function (arg0, arg1, arg2) {
5434
+ exports.__wbg_remove_70e94f68821783ed = function() { return handleError(function (arg0, arg1, arg2) {
5435
5435
  let deferred0_0;
5436
5436
  let deferred0_1;
5437
5437
  try {
@@ -5473,7 +5473,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5473
5473
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5474
5474
  };
5475
5475
 
5476
- exports.__wbg_set_6075d541d698e0e5 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5476
+ exports.__wbg_set_6101f28c5cc6333d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5477
5477
  let deferred0_0;
5478
5478
  let deferred0_1;
5479
5479
  try {
@@ -5491,6 +5491,19 @@ exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5491
5491
  return addHeapObject(ret);
5492
5492
  };
5493
5493
 
5494
+ exports.__wbg_set_a350c645e7eb5cf7 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5495
+ let deferred0_0;
5496
+ let deferred0_1;
5497
+ try {
5498
+ deferred0_0 = arg1;
5499
+ deferred0_1 = arg2;
5500
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5501
+ return addHeapObject(ret);
5502
+ } finally {
5503
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5504
+ }
5505
+ }, arguments) };
5506
+
5494
5507
  exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
5495
5508
  getObject(arg0).body = getObject(arg1);
5496
5509
  };
@@ -5504,19 +5517,6 @@ exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (a
5504
5517
  return ret;
5505
5518
  }, arguments) };
5506
5519
 
5507
- exports.__wbg_set_c42c6fd307fdf3ee = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5508
- let deferred0_0;
5509
- let deferred0_1;
5510
- try {
5511
- deferred0_0 = arg1;
5512
- deferred0_1 = arg2;
5513
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5514
- return addHeapObject(ret);
5515
- } finally {
5516
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5517
- }
5518
- }, arguments) };
5519
-
5520
5520
  exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
5521
5521
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5522
5522
  };
@@ -514,17 +514,18 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
514
514
  export const vaultclient_attachments: (a: number) => number;
515
515
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
516
516
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
517
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
518
- a: number,
519
- b: number,
520
- ) => void;
521
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
522
517
  export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
523
518
  a: number,
524
519
  b: number,
525
520
  c: number,
526
521
  ) => void;
522
+ export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
527
523
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
524
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
525
+ a: number,
526
+ b: number,
527
+ ) => void;
528
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
528
529
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
529
530
  export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
530
531
  a: number,
@@ -532,7 +533,6 @@ export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
532
533
  c: number,
533
534
  d: number,
534
535
  ) => void;
535
- export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
536
536
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
537
537
  a: number,
538
538
  b: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/commercial-sdk-internal",
3
- "version": "0.2.0-main.491",
3
+ "version": "0.2.0-main.492",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",