@bitwarden/sdk-internal 0.2.0-main.481 → 0.2.0-main.482

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 721cfe2356421b607acb960e6025d90ac195275d
1
+ 9788cfb073e1e0c28a752cda550f7961d5bd9e8a
@@ -2764,7 +2764,7 @@ export class PureCrypto {
2764
2764
  */
2765
2765
  static symmetric_encrypt_bytes(plain: Uint8Array, key: Uint8Array): string;
2766
2766
  /**
2767
- * Decapsulates (decrypts) a symmetric key using an decapsulation key (private key) in PKCS8
2767
+ * Decapsulates (decrypts) a symmetric key using an decapsulation-key/private-key in PKCS8
2768
2768
  * DER format. Note: This is unsigned, so the sender's authenticity cannot be verified by the
2769
2769
  * recipient.
2770
2770
  */
@@ -2773,7 +2773,7 @@ export class PureCrypto {
2773
2773
  decapsulation_key: Uint8Array,
2774
2774
  ): Uint8Array;
2775
2775
  /**
2776
- * Encapsulates (encrypts) a symmetric key using an asymmetric encapsulation key (public key)
2776
+ * Encapsulates (encrypts) a symmetric key using an public-key/encapsulation-key
2777
2777
  * in SPKI format, returning the encapsulated key as a string. Note: This is unsigned, so
2778
2778
  * the sender's authenticity cannot be verified by the recipient.
2779
2779
  */
@@ -986,10 +986,6 @@ export function isGetFolderError(error) {
986
986
  }
987
987
  }
988
988
 
989
- function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
990
- wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
991
- }
992
-
993
989
  function wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, arg2) {
994
990
  wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
995
991
  }
@@ -1008,6 +1004,10 @@ function wasm_bindgen__convert__closures_____invoke__h693de69d229f304a(arg0, arg
1008
1004
  }
1009
1005
  }
1010
1006
 
1007
+ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1) {
1008
+ wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1009
+ }
1010
+
1011
1011
  function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
1012
1012
  wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1013
1013
  }
@@ -3781,7 +3781,7 @@ export class PureCrypto {
3781
3781
  }
3782
3782
  }
3783
3783
  /**
3784
- * Decapsulates (decrypts) a symmetric key using an decapsulation key (private key) in PKCS8
3784
+ * Decapsulates (decrypts) a symmetric key using an decapsulation-key/private-key in PKCS8
3785
3785
  * DER format. Note: This is unsigned, so the sender's authenticity cannot be verified by the
3786
3786
  * recipient.
3787
3787
  * @param {string} encapsulated_key
@@ -3811,7 +3811,7 @@ export class PureCrypto {
3811
3811
  }
3812
3812
  }
3813
3813
  /**
3814
- * Encapsulates (encrypts) a symmetric key using an asymmetric encapsulation key (public key)
3814
+ * Encapsulates (encrypts) a symmetric key using an public-key/encapsulation-key
3815
3815
  * in SPKI format, returning the encapsulated key as a string. Note: This is unsigned, so
3816
3816
  * the sender's authenticity cannot be verified by the recipient.
3817
3817
  * @param {Uint8Array} shared_key
@@ -4710,7 +4710,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
4710
4710
  return addHeapObject(ret);
4711
4711
  }, arguments) };
4712
4712
 
4713
- export function __wbg_cipher_66252cdfb795a21e(arg0) {
4713
+ export function __wbg_cipher_fbaf9cf98ebf1f1d(arg0) {
4714
4714
  const ret = getObject(arg0).cipher;
4715
4715
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4716
4716
  };
@@ -4802,7 +4802,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4802
4802
  return addHeapObject(ret);
4803
4803
  };
4804
4804
 
4805
- export function __wbg_folder_d81e44faea789a9f(arg0) {
4805
+ export function __wbg_folder_6ffc7829432b2d43(arg0) {
4806
4806
  const ret = getObject(arg0).folder;
4807
4807
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4808
4808
  };
@@ -4834,7 +4834,17 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4834
4834
  return ret;
4835
4835
  };
4836
4836
 
4837
- export function __wbg_get_7bb8bf858eb71fa3() { return handleError(function (arg0, arg1, arg2) {
4837
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4838
+ const ret = getObject(arg0)[arg1 >>> 0];
4839
+ return addHeapObject(ret);
4840
+ };
4841
+
4842
+ export function __wbg_get_access_token_1ea7983c5f45a4b7(arg0) {
4843
+ const ret = getObject(arg0).get_access_token();
4844
+ return addHeapObject(ret);
4845
+ };
4846
+
4847
+ export function __wbg_get_bbeb4191e7cf6314() { return handleError(function (arg0, arg1, arg2) {
4838
4848
  let deferred0_0;
4839
4849
  let deferred0_1;
4840
4850
  try {
@@ -4847,17 +4857,7 @@ export function __wbg_get_7bb8bf858eb71fa3() { return handleError(function (arg0
4847
4857
  }
4848
4858
  }, arguments) };
4849
4859
 
4850
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
4851
- const ret = getObject(arg0)[arg1 >>> 0];
4852
- return addHeapObject(ret);
4853
- };
4854
-
4855
- export function __wbg_get_access_token_aa21c2469d8d20c6(arg0) {
4856
- const ret = getObject(arg0).get_access_token();
4857
- return addHeapObject(ret);
4858
- };
4859
-
4860
- export function __wbg_get_bde4395986a4d8c5() { return handleError(function (arg0, arg1, arg2) {
4860
+ export function __wbg_get_d6d73478618f1964() { return handleError(function (arg0, arg1, arg2) {
4861
4861
  let deferred0_0;
4862
4862
  let deferred0_1;
4863
4863
  try {
@@ -5058,12 +5058,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5058
5058
  return ret;
5059
5059
  };
5060
5060
 
5061
- export function __wbg_list_2dabce43f8e3681b() { return handleError(function (arg0) {
5061
+ export function __wbg_list_83342e0b1b0c874a() { return handleError(function (arg0) {
5062
5062
  const ret = getObject(arg0).list();
5063
5063
  return addHeapObject(ret);
5064
5064
  }, arguments) };
5065
5065
 
5066
- export function __wbg_list_7ea48ffc1574a448() { return handleError(function (arg0) {
5066
+ export function __wbg_list_8736e55b011935af() { return handleError(function (arg0) {
5067
5067
  const ret = getObject(arg0).list();
5068
5068
  return addHeapObject(ret);
5069
5069
  }, arguments) };
@@ -5285,7 +5285,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
5285
5285
  getObject(arg0).randomFillSync(takeObject(arg1));
5286
5286
  }, arguments) };
5287
5287
 
5288
- export function __wbg_remove_a8061a5c4e6069d0() { return handleError(function (arg0, arg1, arg2) {
5288
+ export function __wbg_remove_32d3c7d7476fc2cc() { return handleError(function (arg0, arg1, arg2) {
5289
5289
  let deferred0_0;
5290
5290
  let deferred0_1;
5291
5291
  try {
@@ -5298,7 +5298,7 @@ export function __wbg_remove_a8061a5c4e6069d0() { return handleError(function (a
5298
5298
  }
5299
5299
  }, arguments) };
5300
5300
 
5301
- export function __wbg_remove_f293bbd66e8a142f() { return handleError(function (arg0, arg1, arg2) {
5301
+ export function __wbg_remove_58d432564647c402() { return handleError(function (arg0, arg1, arg2) {
5302
5302
  let deferred0_0;
5303
5303
  let deferred0_1;
5304
5304
  try {
@@ -5340,7 +5340,12 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5340
5340
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5341
5341
  };
5342
5342
 
5343
- export function __wbg_set_4dc5d8e8b78d0e70() { return handleError(function (arg0, arg1, arg2, arg3) {
5343
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5344
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5345
+ return addHeapObject(ret);
5346
+ };
5347
+
5348
+ export function __wbg_set_9494af7d789f5ccd() { return handleError(function (arg0, arg1, arg2, arg3) {
5344
5349
  let deferred0_0;
5345
5350
  let deferred0_1;
5346
5351
  try {
@@ -5353,10 +5358,18 @@ export function __wbg_set_4dc5d8e8b78d0e70() { return handleError(function (arg0
5353
5358
  }
5354
5359
  }, arguments) };
5355
5360
 
5356
- export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5357
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5358
- return addHeapObject(ret);
5359
- };
5361
+ export function __wbg_set_b6ff5671ee98ec78() { return handleError(function (arg0, arg1, arg2, arg3) {
5362
+ let deferred0_0;
5363
+ let deferred0_1;
5364
+ try {
5365
+ deferred0_0 = arg1;
5366
+ deferred0_1 = arg2;
5367
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5368
+ return addHeapObject(ret);
5369
+ } finally {
5370
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5371
+ }
5372
+ }, arguments) };
5360
5373
 
5361
5374
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5362
5375
  getObject(arg0).body = getObject(arg1);
@@ -5375,19 +5388,6 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5375
5388
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5376
5389
  };
5377
5390
 
5378
- export function __wbg_set_ef97946008ebf86d() { return handleError(function (arg0, arg1, arg2, arg3) {
5379
- let deferred0_0;
5380
- let deferred0_1;
5381
- try {
5382
- deferred0_0 = arg1;
5383
- deferred0_1 = arg2;
5384
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5385
- return addHeapObject(ret);
5386
- } finally {
5387
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5388
- }
5389
- }, arguments) };
5390
-
5391
5391
  export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
5392
5392
  getObject(arg0).headers = getObject(arg1);
5393
5393
  };
Binary file
@@ -509,17 +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__ha638740cca0ef77d: (
513
- a: number,
514
- b: number,
515
- ) => void;
516
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
517
512
  export const wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f: (
518
513
  a: number,
519
514
  b: number,
520
515
  c: number,
521
516
  ) => void;
522
- export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
523
517
  export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
524
518
  export const wasm_bindgen__convert__closures_____invoke__h693de69d229f304a: (
525
519
  a: number,
@@ -528,6 +522,12 @@ export const wasm_bindgen__convert__closures_____invoke__h693de69d229f304a: (
528
522
  d: number,
529
523
  ) => void;
530
524
  export const wasm_bindgen__closure__destroy__h0d4ec2bbb1b6536b: (a: number, b: number) => void;
525
+ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
526
+ a: number,
527
+ b: number,
528
+ ) => void;
529
+ export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
530
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
531
531
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
532
532
  a: number,
533
533
  b: number,