@bitwarden/commercial-sdk-internal 0.2.0-main.480 → 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.
@@ -2785,7 +2785,7 @@ export class PureCrypto {
2785
2785
  */
2786
2786
  static symmetric_encrypt_bytes(plain: Uint8Array, key: Uint8Array): string;
2787
2787
  /**
2788
- * Decapsulates (decrypts) a symmetric key using an decapsulation key (private key) in PKCS8
2788
+ * Decapsulates (decrypts) a symmetric key using an decapsulation-key/private-key in PKCS8
2789
2789
  * DER format. Note: This is unsigned, so the sender's authenticity cannot be verified by the
2790
2790
  * recipient.
2791
2791
  */
@@ -2794,7 +2794,7 @@ export class PureCrypto {
2794
2794
  decapsulation_key: Uint8Array,
2795
2795
  ): Uint8Array;
2796
2796
  /**
2797
- * Encapsulates (encrypts) a symmetric key using an asymmetric encapsulation key (public key)
2797
+ * Encapsulates (encrypts) a symmetric key using an public-key/encapsulation-key
2798
2798
  * in SPKI format, returning the encapsulated key as a string. Note: This is unsigned, so
2799
2799
  * the sender's authenticity cannot be verified by the recipient.
2800
2800
  */
@@ -986,6 +986,10 @@ export function isGetFolderError(error) {
986
986
  }
987
987
  }
988
988
 
989
+ function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
990
+ wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
991
+ }
992
+
989
993
  function wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6(arg0, arg1, arg2) {
990
994
  try {
991
995
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -1004,10 +1008,6 @@ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg
1004
1008
  wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
1005
1009
  }
1006
1010
 
1007
- function wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, arg2) {
1008
- wasm.wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58(arg0, arg1, addHeapObject(arg2));
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
  }
@@ -3855,7 +3855,7 @@ export class PureCrypto {
3855
3855
  }
3856
3856
  }
3857
3857
  /**
3858
- * Decapsulates (decrypts) a symmetric key using an decapsulation key (private key) in PKCS8
3858
+ * Decapsulates (decrypts) a symmetric key using an decapsulation-key/private-key in PKCS8
3859
3859
  * DER format. Note: This is unsigned, so the sender's authenticity cannot be verified by the
3860
3860
  * recipient.
3861
3861
  * @param {string} encapsulated_key
@@ -3885,7 +3885,7 @@ export class PureCrypto {
3885
3885
  }
3886
3886
  }
3887
3887
  /**
3888
- * Encapsulates (encrypts) a symmetric key using an asymmetric encapsulation key (public key)
3888
+ * Encapsulates (encrypts) a symmetric key using an public-key/encapsulation-key
3889
3889
  * in SPKI format, returning the encapsulated key as a string. Note: This is unsigned, so
3890
3890
  * the sender's authenticity cannot be verified by the recipient.
3891
3891
  * @param {Uint8Array} shared_key
@@ -4784,7 +4784,7 @@ export function __wbg_call_e762c39fa8ea36bf() { return handleError(function (arg
4784
4784
  return addHeapObject(ret);
4785
4785
  }, arguments) };
4786
4786
 
4787
- export function __wbg_cipher_196364c16a9127f4(arg0) {
4787
+ export function __wbg_cipher_fbaf9cf98ebf1f1d(arg0) {
4788
4788
  const ret = getObject(arg0).cipher;
4789
4789
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4790
4790
  };
@@ -4876,7 +4876,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4876
4876
  return addHeapObject(ret);
4877
4877
  };
4878
4878
 
4879
- export function __wbg_folder_4d13621506f4660d(arg0) {
4879
+ export function __wbg_folder_6ffc7829432b2d43(arg0) {
4880
4880
  const ret = getObject(arg0).folder;
4881
4881
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4882
4882
  };
@@ -4913,7 +4913,12 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4913
4913
  return addHeapObject(ret);
4914
4914
  };
4915
4915
 
4916
- export function __wbg_get_9dfbbfecb0bef84e() { return handleError(function (arg0, arg1, arg2) {
4916
+ export function __wbg_get_access_token_1ea7983c5f45a4b7(arg0) {
4917
+ const ret = getObject(arg0).get_access_token();
4918
+ return addHeapObject(ret);
4919
+ };
4920
+
4921
+ export function __wbg_get_bbeb4191e7cf6314() { return handleError(function (arg0, arg1, arg2) {
4917
4922
  let deferred0_0;
4918
4923
  let deferred0_1;
4919
4924
  try {
@@ -4926,7 +4931,7 @@ export function __wbg_get_9dfbbfecb0bef84e() { return handleError(function (arg0
4926
4931
  }
4927
4932
  }, arguments) };
4928
4933
 
4929
- export function __wbg_get_a527fa8a26f5fbd8() { return handleError(function (arg0, arg1, arg2) {
4934
+ export function __wbg_get_d6d73478618f1964() { return handleError(function (arg0, arg1, arg2) {
4930
4935
  let deferred0_0;
4931
4936
  let deferred0_1;
4932
4937
  try {
@@ -4939,11 +4944,6 @@ export function __wbg_get_a527fa8a26f5fbd8() { return handleError(function (arg0
4939
4944
  }
4940
4945
  }, arguments) };
4941
4946
 
4942
- export function __wbg_get_access_token_d2bd959198bc6994(arg0) {
4943
- const ret = getObject(arg0).get_access_token();
4944
- return addHeapObject(ret);
4945
- };
4946
-
4947
4947
  export function __wbg_get_efcb449f58ec27c2() { return handleError(function (arg0, arg1) {
4948
4948
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
4949
4949
  return addHeapObject(ret);
@@ -5132,12 +5132,12 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
5132
5132
  return ret;
5133
5133
  };
5134
5134
 
5135
- export function __wbg_list_457ca69670544013() { return handleError(function (arg0) {
5135
+ export function __wbg_list_83342e0b1b0c874a() { return handleError(function (arg0) {
5136
5136
  const ret = getObject(arg0).list();
5137
5137
  return addHeapObject(ret);
5138
5138
  }, arguments) };
5139
5139
 
5140
- export function __wbg_list_9bf8b440c8288c60() { return handleError(function (arg0) {
5140
+ export function __wbg_list_8736e55b011935af() { return handleError(function (arg0) {
5141
5141
  const ret = getObject(arg0).list();
5142
5142
  return addHeapObject(ret);
5143
5143
  }, arguments) };
@@ -5359,7 +5359,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() { return handleError(fun
5359
5359
  getObject(arg0).randomFillSync(takeObject(arg1));
5360
5360
  }, arguments) };
5361
5361
 
5362
- export function __wbg_remove_1cf050800db47d40() { return handleError(function (arg0, arg1, arg2) {
5362
+ export function __wbg_remove_32d3c7d7476fc2cc() { return handleError(function (arg0, arg1, arg2) {
5363
5363
  let deferred0_0;
5364
5364
  let deferred0_1;
5365
5365
  try {
@@ -5372,7 +5372,7 @@ export function __wbg_remove_1cf050800db47d40() { return handleError(function (a
5372
5372
  }
5373
5373
  }, arguments) };
5374
5374
 
5375
- export function __wbg_remove_1fe2604636faa171() { return handleError(function (arg0, arg1, arg2) {
5375
+ export function __wbg_remove_58d432564647c402() { return handleError(function (arg0, arg1, arg2) {
5376
5376
  let deferred0_0;
5377
5377
  let deferred0_1;
5378
5378
  try {
@@ -5410,7 +5410,16 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
5410
5410
  return addHeapObject(ret);
5411
5411
  };
5412
5412
 
5413
- export function __wbg_set_00139487764f574e() { return handleError(function (arg0, arg1, arg2, arg3) {
5413
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5414
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5415
+ };
5416
+
5417
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5418
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5419
+ return addHeapObject(ret);
5420
+ };
5421
+
5422
+ export function __wbg_set_9494af7d789f5ccd() { return handleError(function (arg0, arg1, arg2, arg3) {
5414
5423
  let deferred0_0;
5415
5424
  let deferred0_1;
5416
5425
  try {
@@ -5423,14 +5432,18 @@ export function __wbg_set_00139487764f574e() { return handleError(function (arg0
5423
5432
  }
5424
5433
  }, arguments) };
5425
5434
 
5426
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5427
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5428
- };
5429
-
5430
- export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5431
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5432
- return addHeapObject(ret);
5433
- };
5435
+ export function __wbg_set_b6ff5671ee98ec78() { return handleError(function (arg0, arg1, arg2, arg3) {
5436
+ let deferred0_0;
5437
+ let deferred0_1;
5438
+ try {
5439
+ deferred0_0 = arg1;
5440
+ deferred0_1 = arg2;
5441
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5442
+ return addHeapObject(ret);
5443
+ } finally {
5444
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5445
+ }
5446
+ }, arguments) };
5434
5447
 
5435
5448
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5436
5449
  getObject(arg0).body = getObject(arg1);
@@ -5449,19 +5462,6 @@ export function __wbg_set_credentials_f621cd2d85c0c228(arg0, arg1) {
5449
5462
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5450
5463
  };
5451
5464
 
5452
- export function __wbg_set_ec1160ea962bd92d() { return handleError(function (arg0, arg1, arg2, arg3) {
5453
- let deferred0_0;
5454
- let deferred0_1;
5455
- try {
5456
- deferred0_0 = arg1;
5457
- deferred0_1 = arg2;
5458
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5459
- return addHeapObject(ret);
5460
- } finally {
5461
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5462
- }
5463
- }, arguments) };
5464
-
5465
5465
  export function __wbg_set_headers_6926da238cd32ee4(arg0, arg1) {
5466
5466
  getObject(arg0).headers = getObject(arg1);
5467
5467
  };
Binary file
@@ -513,6 +513,13 @@ 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__h2d1acf2a4a5dec58: (
517
+ a: number,
518
+ b: number,
519
+ c: number,
520
+ ) => void;
521
+ export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
522
+ export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
516
523
  export const wasm_bindgen__convert__closures_____invoke__hb102ba9d71e761f6: (
517
524
  a: number,
518
525
  b: number,
@@ -525,13 +532,6 @@ export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
525
532
  b: number,
526
533
  ) => void;
527
534
  export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
528
- export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
529
- export const wasm_bindgen__convert__closures_____invoke__h2d1acf2a4a5dec58: (
530
- a: number,
531
- b: number,
532
- c: number,
533
- ) => void;
534
- export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
535
535
  export const wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a: (
536
536
  a: number,
537
537
  b: number,