@bitwarden/commercial-sdk-internal 0.2.0-main.490 → 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,6 +989,14 @@ exports.isGetFolderError = function(error) {
989
989
  }
990
990
  };
991
991
 
992
+ function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
993
+ wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
994
+ }
995
+
996
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
997
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
998
+ }
999
+
992
1000
  function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg1, arg2) {
993
1001
  try {
994
1002
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -1003,14 +1011,6 @@ function wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3(arg0, arg
1003
1011
  }
1004
1012
  }
1005
1013
 
1006
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1007
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1008
- }
1009
-
1010
- function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
1011
- wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
1012
- }
1013
-
1014
1014
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1015
1015
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1016
1016
  }
@@ -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_b0c69b2f5f31e276 = 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_5175683e33609dc0 = 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_2c88a5642c430fd3 = 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 {
@@ -4980,7 +4980,12 @@ exports.__wbg_get_2c88a5642c430fd3 = function() { return handleError(function (a
4980
4980
  }
4981
4981
  }, arguments) };
4982
4982
 
4983
- exports.__wbg_get_31ac11b0279397d1 = function() { return handleError(function (arg0, arg1, arg2) {
4983
+ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4984
+ const ret = getObject(arg0)[arg1 >>> 0];
4985
+ return addHeapObject(ret);
4986
+ };
4987
+
4988
+ exports.__wbg_get_7cffd32402e8693e = function() { return handleError(function (arg0, arg1, arg2) {
4984
4989
  let deferred0_0;
4985
4990
  let deferred0_1;
4986
4991
  try {
@@ -4993,12 +4998,7 @@ exports.__wbg_get_31ac11b0279397d1 = function() { return handleError(function (a
4993
4998
  }
4994
4999
  }, arguments) };
4995
5000
 
4996
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4997
- const ret = getObject(arg0)[arg1 >>> 0];
4998
- return addHeapObject(ret);
4999
- };
5000
-
5001
- exports.__wbg_get_access_token_75427218bac1fbef = 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_9bab31c86697a5b9 = 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_a85049d9dcea1d43 = 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_3968fa6404bb8e3d = 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_3968fa6404bb8e3d = function() { return handleError(function
5431
5431
  }
5432
5432
  }, arguments) };
5433
5433
 
5434
- exports.__wbg_remove_ba2264de6ff6d53c = 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,12 +5473,25 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5473
5473
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5474
5474
  };
5475
5475
 
5476
+ exports.__wbg_set_6101f28c5cc6333d = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5477
+ let deferred0_0;
5478
+ let deferred0_1;
5479
+ try {
5480
+ deferred0_0 = arg1;
5481
+ deferred0_1 = arg2;
5482
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5483
+ return addHeapObject(ret);
5484
+ } finally {
5485
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5486
+ }
5487
+ }, arguments) };
5488
+
5476
5489
  exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5477
5490
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5478
5491
  return addHeapObject(ret);
5479
5492
  };
5480
5493
 
5481
- exports.__wbg_set_a65cbd97b85c4f94 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5494
+ exports.__wbg_set_a350c645e7eb5cf7 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5482
5495
  let deferred0_0;
5483
5496
  let deferred0_1;
5484
5497
  try {
@@ -5508,19 +5521,6 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
5508
5521
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5509
5522
  };
5510
5523
 
5511
- exports.__wbg_set_d684738bc8819484 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5512
- let deferred0_0;
5513
- let deferred0_1;
5514
- try {
5515
- deferred0_0 = arg1;
5516
- deferred0_1 = arg2;
5517
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5518
- return addHeapObject(ret);
5519
- } finally {
5520
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5521
- }
5522
- }, arguments) };
5523
-
5524
5524
  exports.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
5525
5525
  getObject(arg0).headers = getObject(arg1);
5526
5526
  };
@@ -514,25 +514,25 @@ 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__hbe1b1141e23123c3: (
517
+ export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
518
518
  a: number,
519
519
  b: number,
520
520
  c: number,
521
- d: number,
522
521
  ) => void;
523
522
  export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
523
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
524
524
  export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
525
525
  a: number,
526
526
  b: number,
527
527
  ) => void;
528
528
  export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
529
- export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
529
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
530
+ export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
530
531
  a: number,
531
532
  b: number,
532
533
  c: number,
534
+ d: number,
533
535
  ) => void;
534
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
535
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (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.490",
3
+ "version": "0.2.0-main.492",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",