@bitwarden/commercial-sdk-internal 0.2.0-main.404 → 0.2.0-main.405

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.
@@ -2453,18 +2453,22 @@ export class PureCrypto {
2453
2453
  /**
2454
2454
  * Given a decrypted private RSA key PKCS8 DER this
2455
2455
  * returns the corresponding public RSA key in DER format.
2456
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
2456
2457
  */
2457
2458
  static rsa_extract_public_key(private_key: Uint8Array): Uint8Array;
2458
2459
  /**
2459
2460
  * Generates a new RSA key pair and returns the private key
2461
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
2460
2462
  */
2461
2463
  static rsa_generate_keypair(): Uint8Array;
2462
2464
  /**
2463
2465
  * Decrypts data using RSAES-OAEP with SHA-1
2466
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
2464
2467
  */
2465
2468
  static rsa_decrypt_data(encrypted_data: Uint8Array, private_key: Uint8Array): Uint8Array;
2466
2469
  /**
2467
2470
  * Encrypts data using RSAES-OAEP with SHA-1
2471
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
2468
2472
  */
2469
2473
  static rsa_encrypt_data(plain_data: Uint8Array, public_key: Uint8Array): Uint8Array;
2470
2474
  }
@@ -858,18 +858,6 @@ exports.isEncryptFileError = function (error) {
858
858
  }
859
859
  };
860
860
 
861
- function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
862
- wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
863
- }
864
-
865
- function wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff(arg0, arg1, arg2) {
866
- wasm.wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff(
867
- arg0,
868
- arg1,
869
- addHeapObject(arg2),
870
- );
871
- }
872
-
873
861
  function wasm_bindgen__convert__closures_____invoke__h35a8188fc7e541fe(arg0, arg1, arg2) {
874
862
  try {
875
863
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -889,6 +877,18 @@ function wasm_bindgen__convert__closures_____invoke__h35a8188fc7e541fe(arg0, arg
889
877
  }
890
878
  }
891
879
 
880
+ function wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff(arg0, arg1, arg2) {
881
+ wasm.wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff(
882
+ arg0,
883
+ arg1,
884
+ addHeapObject(arg2),
885
+ );
886
+ }
887
+
888
+ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
889
+ wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
890
+ }
891
+
892
892
  function wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(arg0, arg1, arg2, arg3) {
893
893
  wasm.wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(
894
894
  arg0,
@@ -4138,6 +4138,7 @@ class PureCrypto {
4138
4138
  /**
4139
4139
  * Given a decrypted private RSA key PKCS8 DER this
4140
4140
  * returns the corresponding public RSA key in DER format.
4141
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
4141
4142
  * @param {Uint8Array} private_key
4142
4143
  * @returns {Uint8Array}
4143
4144
  */
@@ -4163,6 +4164,7 @@ class PureCrypto {
4163
4164
  }
4164
4165
  /**
4165
4166
  * Generates a new RSA key pair and returns the private key
4167
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
4166
4168
  * @returns {Uint8Array}
4167
4169
  */
4168
4170
  static rsa_generate_keypair() {
@@ -4185,6 +4187,7 @@ class PureCrypto {
4185
4187
  }
4186
4188
  /**
4187
4189
  * Decrypts data using RSAES-OAEP with SHA-1
4190
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
4188
4191
  * @param {Uint8Array} encrypted_data
4189
4192
  * @param {Uint8Array} private_key
4190
4193
  * @returns {Uint8Array}
@@ -4213,6 +4216,7 @@ class PureCrypto {
4213
4216
  }
4214
4217
  /**
4215
4218
  * Encrypts data using RSAES-OAEP with SHA-1
4219
+ * HAZMAT WARNING: Do not use outside of implementing cryptofunctionservice
4216
4220
  * @param {Uint8Array} plain_data
4217
4221
  * @param {Uint8Array} public_key
4218
4222
  * @returns {Uint8Array}
@@ -4666,7 +4670,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
4666
4670
  }, arguments);
4667
4671
  };
4668
4672
 
4669
- exports.__wbg_cipher_a69755738b4a95e4 = function (arg0) {
4673
+ exports.__wbg_cipher_54d9031d60850622 = function (arg0) {
4670
4674
  const ret = getObject(arg0).cipher;
4671
4675
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4672
4676
  };
@@ -4759,7 +4763,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
4759
4763
  return addHeapObject(ret);
4760
4764
  };
4761
4765
 
4762
- exports.__wbg_folder_6ddccfa2359908cd = function (arg0) {
4766
+ exports.__wbg_folder_2d6703d18bcf6b5f = function (arg0) {
4763
4767
  const ret = getObject(arg0).folder;
4764
4768
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4765
4769
  };
@@ -4792,7 +4796,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4792
4796
  return ret;
4793
4797
  };
4794
4798
 
4795
- exports.__wbg_get_63fc1a87cfa05664 = function () {
4799
+ exports.__wbg_get_7a7b765d166b78eb = function () {
4796
4800
  return handleError(function (arg0, arg1, arg2) {
4797
4801
  let deferred0_0;
4798
4802
  let deferred0_1;
@@ -4812,7 +4816,12 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4812
4816
  return addHeapObject(ret);
4813
4817
  };
4814
4818
 
4815
- exports.__wbg_get_7f59e4189b579885 = function () {
4819
+ exports.__wbg_get_access_token_16ca6a078a16a9e6 = function (arg0) {
4820
+ const ret = getObject(arg0).get_access_token();
4821
+ return addHeapObject(ret);
4822
+ };
4823
+
4824
+ exports.__wbg_get_d7c03a2a1838f895 = function () {
4816
4825
  return handleError(function (arg0, arg1, arg2) {
4817
4826
  let deferred0_0;
4818
4827
  let deferred0_1;
@@ -4827,11 +4836,6 @@ exports.__wbg_get_7f59e4189b579885 = function () {
4827
4836
  }, arguments);
4828
4837
  };
4829
4838
 
4830
- exports.__wbg_get_access_token_5d1676f62fd8cd77 = function (arg0) {
4831
- const ret = getObject(arg0).get_access_token();
4832
- return addHeapObject(ret);
4833
- };
4834
-
4835
4839
  exports.__wbg_get_efcb449f58ec27c2 = function () {
4836
4840
  return handleError(function (arg0, arg1) {
4837
4841
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
@@ -5023,14 +5027,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
5023
5027
  return ret;
5024
5028
  };
5025
5029
 
5026
- exports.__wbg_list_2aa62e3f6d399917 = function () {
5030
+ exports.__wbg_list_29517841961e05e3 = function () {
5027
5031
  return handleError(function (arg0) {
5028
5032
  const ret = getObject(arg0).list();
5029
5033
  return addHeapObject(ret);
5030
5034
  }, arguments);
5031
5035
  };
5032
5036
 
5033
- exports.__wbg_list_3b311a5af885ff76 = function () {
5037
+ exports.__wbg_list_935b546af2d9b6de = function () {
5034
5038
  return handleError(function (arg0) {
5035
5039
  const ret = getObject(arg0).list();
5036
5040
  return addHeapObject(ret);
@@ -5274,7 +5278,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
5274
5278
  }, arguments);
5275
5279
  };
5276
5280
 
5277
- exports.__wbg_remove_47756c4838416808 = function () {
5281
+ exports.__wbg_remove_610f7f30b398d771 = function () {
5278
5282
  return handleError(function (arg0, arg1, arg2) {
5279
5283
  let deferred0_0;
5280
5284
  let deferred0_1;
@@ -5289,7 +5293,7 @@ exports.__wbg_remove_47756c4838416808 = function () {
5289
5293
  }, arguments);
5290
5294
  };
5291
5295
 
5292
- exports.__wbg_remove_e8858f2fbc02dbd1 = function () {
5296
+ exports.__wbg_remove_d592b4ab55fa372d = function () {
5293
5297
  return handleError(function (arg0, arg1, arg2) {
5294
5298
  let deferred0_0;
5295
5299
  let deferred0_1;
@@ -5335,7 +5339,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
5335
5339
  return addHeapObject(ret);
5336
5340
  };
5337
5341
 
5338
- exports.__wbg_set_268d54f279c675e3 = function () {
5342
+ exports.__wbg_set_16779e1c12161eee = function () {
5339
5343
  return handleError(function (arg0, arg1, arg2, arg3) {
5340
5344
  let deferred0_0;
5341
5345
  let deferred0_1;
@@ -5354,7 +5358,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5354
5358
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5355
5359
  };
5356
5360
 
5357
- exports.__wbg_set_6e08863f9db5b0dc = function () {
5361
+ exports.__wbg_set_6d45f26bc45340a7 = function () {
5358
5362
  return handleError(function (arg0, arg1, arg2, arg3) {
5359
5363
  let deferred0_0;
5360
5364
  let deferred0_1;
@@ -451,24 +451,24 @@ export const __wbg_totpclient_free: (a: number, b: number) => void;
451
451
  export const __wbg_get_outgoingmessage_destination: (a: number) => number;
452
452
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
453
453
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
454
- export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
454
+ export const wasm_bindgen__convert__closures_____invoke__h35a8188fc7e541fe: (
455
455
  a: number,
456
456
  b: number,
457
+ c: number,
458
+ d: number,
457
459
  ) => void;
458
- export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
460
+ export const wasm_bindgen__closure__destroy__hba496874d56e8206: (a: number, b: number) => void;
459
461
  export const wasm_bindgen__convert__closures_____invoke__h3f3903322ff045ff: (
460
462
  a: number,
461
463
  b: number,
462
464
  c: number,
463
465
  ) => void;
464
- export const wasm_bindgen__closure__destroy__hba496874d56e8206: (a: number, b: number) => void;
465
- export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
466
- export const wasm_bindgen__convert__closures_____invoke__h35a8188fc7e541fe: (
466
+ export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
467
+ export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
467
468
  a: number,
468
469
  b: number,
469
- c: number,
470
- d: number,
471
470
  ) => void;
471
+ export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
472
472
  export const wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f: (
473
473
  a: number,
474
474
  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.404",
3
+ "version": "0.2.0-main.405",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",