@bitwarden/commercial-sdk-internal 0.2.0-main.491 → 0.2.0-main.493

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.
@@ -674,7 +674,12 @@ export type InitUserCryptoMethod =
674
674
 
675
675
  export interface CryptoClientError extends Error {
676
676
  name: "CryptoClientError";
677
- variant: "NotAuthenticated" | "Crypto" | "InvalidKdfSettings" | "PasswordProtectedKeyEnvelope";
677
+ variant:
678
+ | "NotAuthenticated"
679
+ | "Crypto"
680
+ | "InvalidKdfSettings"
681
+ | "PasswordProtectedKeyEnvelope"
682
+ | "InvalidPrfInput";
678
683
  }
679
684
 
680
685
  export function isCryptoClientError(error: any): error is CryptoClientError;
@@ -1876,6 +1881,10 @@ export interface CipherView {
1876
1881
  viewPassword: boolean;
1877
1882
  localData: LocalDataView | undefined;
1878
1883
  attachments: AttachmentView[] | undefined;
1884
+ /**
1885
+ * Attachments that failed to decrypt. Only present when there are decryption failures.
1886
+ */
1887
+ attachmentDecryptionFailures?: AttachmentView[];
1879
1888
  fields: FieldView[] | undefined;
1880
1889
  passwordHistory: PasswordHistoryView[] | undefined;
1881
1890
  creationDate: DateTime<Utc>;
@@ -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_1fdd8ab39596be00 = 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_6830222ac7627b88 = 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_48963211297a621e = 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_a92c3deae1964973 = 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_000c87dad704aa98 = 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_47a6ca2c87683226 = 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_570c27e97d357b55 = 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_5e280e527e85a804 = 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_bac6db33db35a182 = 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_8f306648943d1ded = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5477
5477
  let deferred0_0;
5478
5478
  let deferred0_1;
5479
5479
  try {
@@ -5504,7 +5504,7 @@ exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (a
5504
5504
  return ret;
5505
5505
  }, arguments) };
5506
5506
 
5507
- exports.__wbg_set_c42c6fd307fdf3ee = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5507
+ exports.__wbg_set_cefa8814cc3188ab = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5508
5508
  let deferred0_0;
5509
5509
  let deferred0_1;
5510
5510
  try {
@@ -526,13 +526,13 @@ export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
526
526
  ) => void;
527
527
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
528
528
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
529
+ export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
529
530
  export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
530
531
  a: number,
531
532
  b: number,
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.493",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",