@bitwarden/sdk-internal 0.2.0-main.465 → 0.2.0-main.467

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.
@@ -1000,7 +1000,6 @@ export interface CryptoError extends Error {
1000
1000
  variant:
1001
1001
  | "InvalidKey"
1002
1002
  | "InvalidMac"
1003
- | "MacNotProvided"
1004
1003
  | "KeyDecrypt"
1005
1004
  | "InvalidKeyLen"
1006
1005
  | "InvalidUtf8String"
@@ -976,14 +976,6 @@ 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
- function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
984
- wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
985
- }
986
-
987
979
  function wasm_bindgen__convert__closures_____invoke__hbae79a1adccf1d8c(arg0, arg1, arg2) {
988
980
  try {
989
981
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -998,6 +990,14 @@ function wasm_bindgen__convert__closures_____invoke__hbae79a1adccf1d8c(arg0, arg
998
990
  }
999
991
  }
1000
992
 
993
+ function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
994
+ wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
995
+ }
996
+
997
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
998
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
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_24aa355464af0863 = function(arg0) {
4755
+ exports.__wbg_cipher_626d0e17debdce22 = 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_f89db6abcabd54ac = function(arg0) {
4847
+ exports.__wbg_folder_681b1f6cce67c523 = function(arg0) {
4848
4848
  const ret = getObject(arg0).folder;
4849
4849
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4850
4850
  };
@@ -4876,12 +4876,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
4876
4876
  return ret;
4877
4877
  };
4878
4878
 
4879
- exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4880
- const ret = getObject(arg0)[arg1 >>> 0];
4881
- return addHeapObject(ret);
4882
- };
4883
-
4884
- exports.__wbg_get_7e8d5231d44bc8af = function() { return handleError(function (arg0, arg1, arg2) {
4879
+ exports.__wbg_get_56e283668aa150cc = function() { return handleError(function (arg0, arg1, arg2) {
4885
4880
  let deferred0_0;
4886
4881
  let deferred0_1;
4887
4882
  try {
@@ -4894,12 +4889,12 @@ exports.__wbg_get_7e8d5231d44bc8af = function() { return handleError(function (a
4894
4889
  }
4895
4890
  }, arguments) };
4896
4891
 
4897
- exports.__wbg_get_access_token_d2ab872c8e5a44f8 = function(arg0) {
4898
- const ret = getObject(arg0).get_access_token();
4892
+ exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
4893
+ const ret = getObject(arg0)[arg1 >>> 0];
4899
4894
  return addHeapObject(ret);
4900
4895
  };
4901
4896
 
4902
- exports.__wbg_get_b1027b48e2f6f770 = function() { return handleError(function (arg0, arg1, arg2) {
4897
+ exports.__wbg_get_85d49d70c78f7756 = function() { return handleError(function (arg0, arg1, arg2) {
4903
4898
  let deferred0_0;
4904
4899
  let deferred0_1;
4905
4900
  try {
@@ -4912,6 +4907,11 @@ exports.__wbg_get_b1027b48e2f6f770 = function() { return handleError(function (a
4912
4907
  }
4913
4908
  }, arguments) };
4914
4909
 
4910
+ exports.__wbg_get_access_token_895ab61dbd031ce9 = function(arg0) {
4911
+ const ret = getObject(arg0).get_access_token();
4912
+ return addHeapObject(ret);
4913
+ };
4914
+
4915
4915
  exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
4916
4916
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
4917
4917
  return addHeapObject(ret);
@@ -5100,12 +5100,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
5100
5100
  return ret;
5101
5101
  };
5102
5102
 
5103
- exports.__wbg_list_82c219282bd3d505 = function() { return handleError(function (arg0) {
5103
+ exports.__wbg_list_1c2c7c423d6b4086 = 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_9e4be99c9adaaf14 = function() { return handleError(function (arg0) {
5108
+ exports.__wbg_list_6629bda5ec94c11d = 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_a7329aa73b873b81 = function() { return handleError(function (arg0, arg1, arg2) {
5330
+ exports.__wbg_remove_d70586e68150e441 = 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_a7329aa73b873b81 = function() { return handleError(function
5340
5340
  }
5341
5341
  }, arguments) };
5342
5342
 
5343
- exports.__wbg_remove_f2e97eef0ccac6fd = function() { return handleError(function (arg0, arg1, arg2) {
5343
+ exports.__wbg_remove_d8a5da22f43f2991 = function() { return handleError(function (arg0, arg1, arg2) {
5344
5344
  let deferred0_0;
5345
5345
  let deferred0_1;
5346
5346
  try {
@@ -5378,7 +5378,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function(arg0, arg1) {
5378
5378
  return addHeapObject(ret);
5379
5379
  };
5380
5380
 
5381
- exports.__wbg_set_3e9ecd2ffea60583 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5381
+ exports.__wbg_set_0ddd9352aed4d384 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5382
5382
  let deferred0_0;
5383
5383
  let deferred0_1;
5384
5384
  try {
@@ -5395,19 +5395,6 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
5395
5395
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5396
5396
  };
5397
5397
 
5398
- exports.__wbg_set_48ad64a343182edb = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5399
- let deferred0_0;
5400
- let deferred0_1;
5401
- try {
5402
- deferred0_0 = arg1;
5403
- deferred0_1 = arg2;
5404
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5405
- return addHeapObject(ret);
5406
- } finally {
5407
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5408
- }
5409
- }, arguments) };
5410
-
5411
5398
  exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
5412
5399
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5413
5400
  return addHeapObject(ret);
@@ -5430,6 +5417,19 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
5430
5417
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5431
5418
  };
5432
5419
 
5420
+ exports.__wbg_set_e0db2947560ac344 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
5421
+ let deferred0_0;
5422
+ let deferred0_1;
5423
+ try {
5424
+ deferred0_0 = arg1;
5425
+ deferred0_1 = arg2;
5426
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5427
+ return addHeapObject(ret);
5428
+ } finally {
5429
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5430
+ }
5431
+ }, arguments) };
5432
+
5433
5433
  exports.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
5434
5434
  getObject(arg0).headers = getObject(arg1);
5435
5435
  };
@@ -509,25 +509,25 @@ 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__ha638740cca0ef77d: (
512
+ export const wasm_bindgen__convert__closures_____invoke__hbae79a1adccf1d8c: (
513
513
  a: number,
514
514
  b: number,
515
+ c: number,
516
+ d: number,
515
517
  ) => void;
516
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
518
+ export const wasm_bindgen__closure__destroy__h026b1f581392f119: (a: number, b: number) => void;
517
519
  export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
518
520
  a: number,
519
521
  b: number,
520
522
  c: number,
521
523
  ) => void;
522
524
  export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
523
- export const wasm_bindgen__convert__closures_____invoke__hbae79a1adccf1d8c: (
525
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
524
526
  a: number,
525
527
  b: number,
526
- c: number,
527
- d: number,
528
528
  ) => void;
529
- export const wasm_bindgen__closure__destroy__h026b1f581392f119: (a: number, b: number) => void;
530
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.465",
3
+ "version": "0.2.0-main.467",
4
4
  "license": "GPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",