@bitwarden/commercial-sdk-internal 0.2.0-main.483 → 0.2.0-main.484

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.
@@ -533,7 +533,8 @@ export interface MasterPasswordError extends Error {
533
533
  | "KdfMalformed"
534
534
  | "InvalidKdfConfiguration"
535
535
  | "MissingField"
536
- | "Crypto";
536
+ | "Crypto"
537
+ | "WrongPassword";
537
538
  }
538
539
 
539
540
  export function isMasterPasswordError(error: any): error is MasterPasswordError;
@@ -976,14 +976,14 @@ exports.isGetFolderError = function(error) {
976
976
  }
977
977
  };
978
978
 
979
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
980
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
981
- }
982
-
983
979
  function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
984
980
  wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
985
981
  }
986
982
 
983
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
984
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
985
+ }
986
+
987
987
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
988
988
  try {
989
989
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -4830,7 +4830,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
4830
4830
  return addHeapObject(ret);
4831
4831
  }, arguments) };
4832
4832
 
4833
- exports.__wbg_cipher_8c87dec369ded626 = function(arg0) {
4833
+ exports.__wbg_cipher_8e8bd9af75e3c414 = function(arg0) {
4834
4834
  const ret = getObject(arg0).cipher;
4835
4835
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4836
4836
  };
@@ -4922,7 +4922,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
4922
4922
  return addHeapObject(ret);
4923
4923
  };
4924
4924
 
4925
- exports.__wbg_folder_93ecaa9aafcd4b61 = function(arg0) {
4925
+ exports.__wbg_folder_e39ef16bda24d499 = function(arg0) {
4926
4926
  const ret = getObject(arg0).folder;
4927
4927
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4928
4928
  };
@@ -4954,7 +4954,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4954
4954
  return ret;
4955
4955
  };
4956
4956
 
4957
- exports.__wbg_get_3e47828a159062e6 = function() { return handleError(function (arg0, arg1, arg2) {
4957
+ exports.__wbg_get_662432aedd1d5d54 = function() { return handleError(function (arg0, arg1, arg2) {
4958
4958
  let deferred0_0;
4959
4959
  let deferred0_1;
4960
4960
  try {
@@ -4967,17 +4967,7 @@ exports.__wbg_get_3e47828a159062e6 = function() { return handleError(function (a
4967
4967
  }
4968
4968
  }, arguments) };
4969
4969
 
4970
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4971
- const ret = getObject(arg0)[arg1 >>> 0];
4972
- return addHeapObject(ret);
4973
- };
4974
-
4975
- exports.__wbg_get_access_token_ffeb4af72e08ee66 = function(arg0) {
4976
- const ret = getObject(arg0).get_access_token();
4977
- return addHeapObject(ret);
4978
- };
4979
-
4980
- exports.__wbg_get_b479bc1449c6b0db = function() { return handleError(function (arg0, arg1, arg2) {
4970
+ exports.__wbg_get_773fe44c83c042f4 = function() { return handleError(function (arg0, arg1, arg2) {
4981
4971
  let deferred0_0;
4982
4972
  let deferred0_1;
4983
4973
  try {
@@ -4990,6 +4980,16 @@ exports.__wbg_get_b479bc1449c6b0db = function() { return handleError(function (a
4990
4980
  }
4991
4981
  }, arguments) };
4992
4982
 
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_access_token_f609d123ab7233f5 = function(arg0) {
4989
+ const ret = getObject(arg0).get_access_token();
4990
+ return addHeapObject(ret);
4991
+ };
4992
+
4993
4993
  exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
4994
4994
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
4995
4995
  return addHeapObject(ret);
@@ -5178,12 +5178,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5178
5178
  return ret;
5179
5179
  };
5180
5180
 
5181
- exports.__wbg_list_12a410492c9d1018 = function() { return handleError(function (arg0) {
5181
+ exports.__wbg_list_9d81db3d777d4e7b = function() { return handleError(function (arg0) {
5182
5182
  const ret = getObject(arg0).list();
5183
5183
  return addHeapObject(ret);
5184
5184
  }, arguments) };
5185
5185
 
5186
- exports.__wbg_list_e805dc4a593030d3 = function() { return handleError(function (arg0) {
5186
+ exports.__wbg_list_ae84358d3e9a5f19 = function() { return handleError(function (arg0) {
5187
5187
  const ret = getObject(arg0).list();
5188
5188
  return addHeapObject(ret);
5189
5189
  }, arguments) };
@@ -5405,7 +5405,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
5405
5405
  getObject(arg0).randomFillSync(takeObject(arg1));
5406
5406
  }, arguments) };
5407
5407
 
5408
- exports.__wbg_remove_8c103adc47e3025d = function() { return handleError(function (arg0, arg1, arg2) {
5408
+ exports.__wbg_remove_03c2af5864a34328 = function() { return handleError(function (arg0, arg1, arg2) {
5409
5409
  let deferred0_0;
5410
5410
  let deferred0_1;
5411
5411
  try {
@@ -5418,7 +5418,7 @@ exports.__wbg_remove_8c103adc47e3025d = function() { return handleError(function
5418
5418
  }
5419
5419
  }, arguments) };
5420
5420
 
5421
- exports.__wbg_remove_fe654efa2ec4419f = function() { return handleError(function (arg0, arg1, arg2) {
5421
+ exports.__wbg_remove_a543b236d5a8007a = function() { return handleError(function (arg0, arg1, arg2) {
5422
5422
  let deferred0_0;
5423
5423
  let deferred0_1;
5424
5424
  try {
@@ -5456,7 +5456,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
5456
5456
  return addHeapObject(ret);
5457
5457
  };
5458
5458
 
5459
- exports.__wbg_set_04b1658cadcd7431 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5459
+ exports.__wbg_set_12b1596d4539a662 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5460
5460
  let deferred0_0;
5461
5461
  let deferred0_1;
5462
5462
  try {
@@ -5473,19 +5473,6 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5473
5473
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5474
5474
  };
5475
5475
 
5476
- exports.__wbg_set_8f7a751de4437e9f = 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
-
5489
5476
  exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5490
5477
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5491
5478
  return addHeapObject(ret);
@@ -5504,6 +5491,19 @@ exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (a
5504
5491
  return ret;
5505
5492
  }, arguments) };
5506
5493
 
5494
+ exports.__wbg_set_c9990085080df8fc = 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
+
5507
5507
  exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
5508
5508
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5509
5509
  };
@@ -513,11 +513,6 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
513
513
  export const vaultclient_attachments: (a: number) => number;
514
514
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
515
515
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
516
- export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
517
- a: number,
518
- b: number,
519
- ) => void;
520
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
521
516
  export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
522
517
  a: number,
523
518
  b: number,
@@ -525,6 +520,11 @@ export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
525
520
  ) => void;
526
521
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
527
522
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
523
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
524
+ a: number,
525
+ b: number,
526
+ ) => void;
527
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
528
528
  export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
529
529
  a: number,
530
530
  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.483",
3
+ "version": "0.2.0-main.484",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",