@bitwarden/commercial-sdk-internal 0.2.0-main.492 → 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;
@@ -4797,7 +4797,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
4797
4797
  return addHeapObject(ret);
4798
4798
  }, arguments) };
4799
4799
 
4800
- export function __wbg_cipher_2cb27ca07447f23b(arg0) {
4800
+ export function __wbg_cipher_1fdd8ab39596be00(arg0) {
4801
4801
  const ret = getObject(arg0).cipher;
4802
4802
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4803
4803
  };
@@ -4889,7 +4889,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4889
4889
  return addHeapObject(ret);
4890
4890
  };
4891
4891
 
4892
- export function __wbg_folder_5aba6cac3dbac019(arg0) {
4892
+ export function __wbg_folder_6830222ac7627b88(arg0) {
4893
4893
  const ret = getObject(arg0).folder;
4894
4894
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4895
4895
  };
@@ -4921,7 +4921,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4921
4921
  return ret;
4922
4922
  };
4923
4923
 
4924
- export function __wbg_get_3b627fec8c718380() { return handleError(function (arg0, arg1, arg2) {
4924
+ export function __wbg_get_48963211297a621e() { return handleError(function (arg0, arg1, arg2) {
4925
4925
  let deferred0_0;
4926
4926
  let deferred0_1;
4927
4927
  try {
@@ -4939,7 +4939,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4939
4939
  return addHeapObject(ret);
4940
4940
  };
4941
4941
 
4942
- export function __wbg_get_7cffd32402e8693e() { return handleError(function (arg0, arg1, arg2) {
4942
+ export function __wbg_get_a92c3deae1964973() { return handleError(function (arg0, arg1, arg2) {
4943
4943
  let deferred0_0;
4944
4944
  let deferred0_1;
4945
4945
  try {
@@ -4952,7 +4952,7 @@ export function __wbg_get_7cffd32402e8693e() { return handleError(function (arg0
4952
4952
  }
4953
4953
  }, arguments) };
4954
4954
 
4955
- export function __wbg_get_access_token_835d83fb8d75910d(arg0) {
4955
+ export function __wbg_get_access_token_000c87dad704aa98(arg0) {
4956
4956
  const ret = getObject(arg0).get_access_token();
4957
4957
  return addHeapObject(ret);
4958
4958
  };
@@ -5145,12 +5145,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5145
5145
  return ret;
5146
5146
  };
5147
5147
 
5148
- export function __wbg_list_4ad9aaa10a736d50() { return handleError(function (arg0) {
5148
+ export function __wbg_list_47a6ca2c87683226() { return handleError(function (arg0) {
5149
5149
  const ret = getObject(arg0).list();
5150
5150
  return addHeapObject(ret);
5151
5151
  }, arguments) };
5152
5152
 
5153
- export function __wbg_list_95fd4ad4cb09541f() { return handleError(function (arg0) {
5153
+ export function __wbg_list_570c27e97d357b55() { return handleError(function (arg0) {
5154
5154
  const ret = getObject(arg0).list();
5155
5155
  return addHeapObject(ret);
5156
5156
  }, arguments) };
@@ -5372,7 +5372,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
5372
5372
  getObject(arg0).randomFillSync(takeObject(arg1));
5373
5373
  }, arguments) };
5374
5374
 
5375
- export function __wbg_remove_51da030bd3f85845() { return handleError(function (arg0, arg1, arg2) {
5375
+ export function __wbg_remove_5e280e527e85a804() { return handleError(function (arg0, arg1, arg2) {
5376
5376
  let deferred0_0;
5377
5377
  let deferred0_1;
5378
5378
  try {
@@ -5385,7 +5385,7 @@ export function __wbg_remove_51da030bd3f85845() { return handleError(function (a
5385
5385
  }
5386
5386
  }, arguments) };
5387
5387
 
5388
- export function __wbg_remove_70e94f68821783ed() { return handleError(function (arg0, arg1, arg2) {
5388
+ export function __wbg_remove_bac6db33db35a182() { return handleError(function (arg0, arg1, arg2) {
5389
5389
  let deferred0_0;
5390
5390
  let deferred0_1;
5391
5391
  try {
@@ -5427,7 +5427,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5427
5427
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5428
5428
  };
5429
5429
 
5430
- export function __wbg_set_6101f28c5cc6333d() { return handleError(function (arg0, arg1, arg2, arg3) {
5430
+ export function __wbg_set_8f306648943d1ded() { return handleError(function (arg0, arg1, arg2, arg3) {
5431
5431
  let deferred0_0;
5432
5432
  let deferred0_1;
5433
5433
  try {
@@ -5445,19 +5445,6 @@ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5445
5445
  return addHeapObject(ret);
5446
5446
  };
5447
5447
 
5448
- export function __wbg_set_a350c645e7eb5cf7() { return handleError(function (arg0, arg1, arg2, arg3) {
5449
- let deferred0_0;
5450
- let deferred0_1;
5451
- try {
5452
- deferred0_0 = arg1;
5453
- deferred0_1 = arg2;
5454
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5455
- return addHeapObject(ret);
5456
- } finally {
5457
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5458
- }
5459
- }, arguments) };
5460
-
5461
5448
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5462
5449
  getObject(arg0).body = getObject(arg1);
5463
5450
  };
@@ -5471,6 +5458,19 @@ export function __wbg_set_c2abbebe8b9ebee1() { return handleError(function (arg0
5471
5458
  return ret;
5472
5459
  }, arguments) };
5473
5460
 
5461
+ export function __wbg_set_cefa8814cc3188ab() { return handleError(function (arg0, arg1, arg2, arg3) {
5462
+ let deferred0_0;
5463
+ let deferred0_1;
5464
+ try {
5465
+ deferred0_0 = arg1;
5466
+ deferred0_1 = arg2;
5467
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5468
+ return addHeapObject(ret);
5469
+ } finally {
5470
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5471
+ }
5472
+ }, arguments) };
5473
+
5474
5474
  export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5475
5475
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5476
5476
  };
Binary file
@@ -518,12 +518,14 @@ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
518
518
  a: number,
519
519
  b: number,
520
520
  ) => void;
521
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
521
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
522
522
  export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
523
523
  a: number,
524
524
  b: number,
525
525
  c: number,
526
526
  ) => void;
527
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
528
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
527
529
  export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
528
530
  a: number,
529
531
  b: number,
@@ -531,8 +533,6 @@ export const wasm_bindgen__convert__closures_____invoke__hbe1b1141e23123c3: (
531
533
  d: number,
532
534
  ) => void;
533
535
  export const wasm_bindgen__closure__destroy__h1d5e70ff7d1cc2b9: (a: number, b: number) => void;
534
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
535
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
536
536
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
537
537
  a: number,
538
538
  b: number,