@bitwarden/sdk-internal 0.2.0-main.483 → 0.2.0-main.485

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,10 +976,6 @@ exports.isGetFolderError = function(error) {
976
976
  }
977
977
  };
978
978
 
979
- function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
980
- wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
981
- }
982
-
983
979
  function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
984
980
  wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
985
981
  }
@@ -998,6 +994,10 @@ function wasm_bindgen__convert__closures_____invoke__h693de69d229f304a(arg0, arg
998
994
  }
999
995
  }
1000
996
 
997
+ function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
998
+ wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
999
+ }
1000
+
1001
1001
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1002
1002
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1003
1003
  }
@@ -4752,7 +4752,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
4752
4752
  return addHeapObject(ret);
4753
4753
  }, arguments) };
4754
4754
 
4755
- exports.__wbg_cipher_8c87dec369ded626 = function(arg0) {
4755
+ exports.__wbg_cipher_8d1909ce281f4a10 = function(arg0) {
4756
4756
  const ret = getObject(arg0).cipher;
4757
4757
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4758
4758
  };
@@ -4844,7 +4844,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
4844
4844
  return addHeapObject(ret);
4845
4845
  };
4846
4846
 
4847
- exports.__wbg_folder_93ecaa9aafcd4b61 = function(arg0) {
4847
+ exports.__wbg_folder_c85463bfa8e87036 = function(arg0) {
4848
4848
  const ret = getObject(arg0).folder;
4849
4849
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4850
4850
  };
@@ -4876,7 +4876,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4876
4876
  return ret;
4877
4877
  };
4878
4878
 
4879
- exports.__wbg_get_3e47828a159062e6 = function() { return handleError(function (arg0, arg1, arg2) {
4879
+ exports.__wbg_get_61cef8fcf59a1887 = function() { return handleError(function (arg0, arg1, arg2) {
4880
4880
  let deferred0_0;
4881
4881
  let deferred0_1;
4882
4882
  try {
@@ -4894,12 +4894,12 @@ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4894
4894
  return addHeapObject(ret);
4895
4895
  };
4896
4896
 
4897
- exports.__wbg_get_access_token_ffeb4af72e08ee66 = function(arg0) {
4897
+ exports.__wbg_get_access_token_69f0eef2738fa0a6 = function(arg0) {
4898
4898
  const ret = getObject(arg0).get_access_token();
4899
4899
  return addHeapObject(ret);
4900
4900
  };
4901
4901
 
4902
- exports.__wbg_get_b479bc1449c6b0db = function() { return handleError(function (arg0, arg1, arg2) {
4902
+ exports.__wbg_get_af210d83b309a3db = function() { return handleError(function (arg0, arg1, arg2) {
4903
4903
  let deferred0_0;
4904
4904
  let deferred0_1;
4905
4905
  try {
@@ -5100,12 +5100,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5100
5100
  return ret;
5101
5101
  };
5102
5102
 
5103
- exports.__wbg_list_12a410492c9d1018 = function() { return handleError(function (arg0) {
5103
+ exports.__wbg_list_86659d3ee0306c83 = function() { return handleError(function (arg0) {
5104
5104
  const ret = getObject(arg0).list();
5105
5105
  return addHeapObject(ret);
5106
5106
  }, arguments) };
5107
5107
 
5108
- exports.__wbg_list_e805dc4a593030d3 = function() { return handleError(function (arg0) {
5108
+ exports.__wbg_list_fd54b98318942b4b = function() { return handleError(function (arg0) {
5109
5109
  const ret = getObject(arg0).list();
5110
5110
  return addHeapObject(ret);
5111
5111
  }, arguments) };
@@ -5327,7 +5327,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
5327
5327
  getObject(arg0).randomFillSync(takeObject(arg1));
5328
5328
  }, arguments) };
5329
5329
 
5330
- exports.__wbg_remove_8c103adc47e3025d = function() { return handleError(function (arg0, arg1, arg2) {
5330
+ exports.__wbg_remove_3c9eb11764be0edc = function() { return handleError(function (arg0, arg1, arg2) {
5331
5331
  let deferred0_0;
5332
5332
  let deferred0_1;
5333
5333
  try {
@@ -5340,7 +5340,7 @@ exports.__wbg_remove_8c103adc47e3025d = function() { return handleError(function
5340
5340
  }
5341
5341
  }, arguments) };
5342
5342
 
5343
- exports.__wbg_remove_fe654efa2ec4419f = function() { return handleError(function (arg0, arg1, arg2) {
5343
+ exports.__wbg_remove_a1e671f9b551dcf0 = function() { return handleError(function (arg0, arg1, arg2) {
5344
5344
  let deferred0_0;
5345
5345
  let deferred0_1;
5346
5346
  try {
@@ -5378,7 +5378,11 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
5378
5378
  return addHeapObject(ret);
5379
5379
  };
5380
5380
 
5381
- exports.__wbg_set_04b1658cadcd7431 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5381
+ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5382
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5383
+ };
5384
+
5385
+ exports.__wbg_set_617055d565da34c1 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5382
5386
  let deferred0_0;
5383
5387
  let deferred0_1;
5384
5388
  try {
@@ -5391,11 +5395,7 @@ exports.__wbg_set_04b1658cadcd7431 = function() { return handleError(function (a
5391
5395
  }
5392
5396
  }, arguments) };
5393
5397
 
5394
- exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5395
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5396
- };
5397
-
5398
- exports.__wbg_set_8f7a751de4437e9f = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5398
+ exports.__wbg_set_62159450a5dcdf4b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5399
5399
  let deferred0_0;
5400
5400
  let deferred0_1;
5401
5401
  try {
@@ -509,18 +509,11 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
509
509
  export const vaultclient_attachments: (a: number) => number;
510
510
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
511
511
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
512
- export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
513
- a: number,
514
- b: number,
515
- c: number,
516
- ) => void;
517
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
518
512
  export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
519
513
  a: number,
520
514
  b: number,
521
515
  ) => void;
522
516
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
523
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
524
517
  export const wasm_bindgen__convert__closures_____invoke__h693de69d229f304a: (
525
518
  a: number,
526
519
  b: number,
@@ -528,6 +521,13 @@ export const wasm_bindgen__convert__closures_____invoke__h693de69d229f304a: (
528
521
  d: number,
529
522
  ) => void;
530
523
  export const wasm_bindgen__closure__destroy__h0d4ec2bbb1b6536b: (a: number, b: number) => void;
524
+ export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
525
+ a: number,
526
+ b: number,
527
+ c: number,
528
+ ) => void;
529
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
530
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
531
531
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
532
532
  a: number,
533
533
  b: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitwarden/sdk-internal",
3
- "version": "0.2.0-main.483",
3
+ "version": "0.2.0-main.485",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",