@bitwarden/commercial-sdk-internal 0.2.0-main.419 → 0.2.0-main.421

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.
@@ -391,9 +391,9 @@ exports.isAccountCryptographyInitializationError = function (error) {
391
391
  * @param {any} error
392
392
  * @returns {boolean}
393
393
  */
394
- exports.isDeriveKeyConnectorError = function (error) {
394
+ exports.isCryptoClientError = function (error) {
395
395
  try {
396
- const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
396
+ const ret = wasm.isCryptoClientError(addBorrowedObject(error));
397
397
  return ret !== 0;
398
398
  } finally {
399
399
  heap[stack_pointer++] = undefined;
@@ -404,9 +404,9 @@ exports.isDeriveKeyConnectorError = function (error) {
404
404
  * @param {any} error
405
405
  * @returns {boolean}
406
406
  */
407
- exports.isCryptoClientError = function (error) {
407
+ exports.isDeriveKeyConnectorError = function (error) {
408
408
  try {
409
- const ret = wasm.isCryptoClientError(addBorrowedObject(error));
409
+ const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
410
410
  return ret !== 0;
411
411
  } finally {
412
412
  heap[stack_pointer++] = undefined;
@@ -543,9 +543,9 @@ exports.isTypedReceiveError = function (error) {
543
543
  * @param {any} error
544
544
  * @returns {boolean}
545
545
  */
546
- exports.isReceiveError = function (error) {
546
+ exports.isSubscribeError = function (error) {
547
547
  try {
548
- const ret = wasm.isReceiveError(addBorrowedObject(error));
548
+ const ret = wasm.isSubscribeError(addBorrowedObject(error));
549
549
  return ret !== 0;
550
550
  } finally {
551
551
  heap[stack_pointer++] = undefined;
@@ -556,9 +556,9 @@ exports.isReceiveError = function (error) {
556
556
  * @param {any} error
557
557
  * @returns {boolean}
558
558
  */
559
- exports.isSubscribeError = function (error) {
559
+ exports.isReceiveError = function (error) {
560
560
  try {
561
- const ret = wasm.isSubscribeError(addBorrowedObject(error));
561
+ const ret = wasm.isReceiveError(addBorrowedObject(error));
562
562
  return ret !== 0;
563
563
  } finally {
564
564
  heap[stack_pointer++] = undefined;
@@ -574,9 +574,9 @@ function _assertClass(instance, klass) {
574
574
  * @param {any} error
575
575
  * @returns {boolean}
576
576
  */
577
- exports.isChannelError = function (error) {
577
+ exports.isDeserializeError = function (error) {
578
578
  try {
579
- const ret = wasm.isChannelError(addBorrowedObject(error));
579
+ const ret = wasm.isDeserializeError(addBorrowedObject(error));
580
580
  return ret !== 0;
581
581
  } finally {
582
582
  heap[stack_pointer++] = undefined;
@@ -587,9 +587,9 @@ exports.isChannelError = function (error) {
587
587
  * @param {any} error
588
588
  * @returns {boolean}
589
589
  */
590
- exports.isDeserializeError = function (error) {
590
+ exports.isChannelError = function (error) {
591
591
  try {
592
- const ret = wasm.isDeserializeError(addBorrowedObject(error));
592
+ const ret = wasm.isChannelError(addBorrowedObject(error));
593
593
  return ret !== 0;
594
594
  } finally {
595
595
  heap[stack_pointer++] = undefined;
@@ -629,9 +629,9 @@ exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
629
629
  * @param {any} error
630
630
  * @returns {boolean}
631
631
  */
632
- exports.isSshKeyImportError = function (error) {
632
+ exports.isSshKeyExportError = function (error) {
633
633
  try {
634
- const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
634
+ const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
635
635
  return ret !== 0;
636
636
  } finally {
637
637
  heap[stack_pointer++] = undefined;
@@ -642,9 +642,9 @@ exports.isSshKeyImportError = function (error) {
642
642
  * @param {any} error
643
643
  * @returns {boolean}
644
644
  */
645
- exports.isSshKeyExportError = function (error) {
645
+ exports.isKeyGenerationError = function (error) {
646
646
  try {
647
- const ret = wasm.isSshKeyExportError(addBorrowedObject(error));
647
+ const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
648
648
  return ret !== 0;
649
649
  } finally {
650
650
  heap[stack_pointer++] = undefined;
@@ -655,9 +655,9 @@ exports.isSshKeyExportError = function (error) {
655
655
  * @param {any} error
656
656
  * @returns {boolean}
657
657
  */
658
- exports.isKeyGenerationError = function (error) {
658
+ exports.isSshKeyImportError = function (error) {
659
659
  try {
660
- const ret = wasm.isKeyGenerationError(addBorrowedObject(error));
660
+ const ret = wasm.isSshKeyImportError(addBorrowedObject(error));
661
661
  return ret !== 0;
662
662
  } finally {
663
663
  heap[stack_pointer++] = undefined;
@@ -733,9 +733,9 @@ exports.isTotpError = function (error) {
733
733
  * @param {any} error
734
734
  * @returns {boolean}
735
735
  */
736
- exports.isDecryptError = function (error) {
736
+ exports.isEncryptError = function (error) {
737
737
  try {
738
- const ret = wasm.isDecryptError(addBorrowedObject(error));
738
+ const ret = wasm.isEncryptError(addBorrowedObject(error));
739
739
  return ret !== 0;
740
740
  } finally {
741
741
  heap[stack_pointer++] = undefined;
@@ -746,9 +746,9 @@ exports.isDecryptError = function (error) {
746
746
  * @param {any} error
747
747
  * @returns {boolean}
748
748
  */
749
- exports.isEncryptError = function (error) {
749
+ exports.isDecryptError = function (error) {
750
750
  try {
751
- const ret = wasm.isEncryptError(addBorrowedObject(error));
751
+ const ret = wasm.isDecryptError(addBorrowedObject(error));
752
752
  return ret !== 0;
753
753
  } finally {
754
754
  heap[stack_pointer++] = undefined;
@@ -798,9 +798,9 @@ exports.isCreateCipherError = function (error) {
798
798
  * @param {any} error
799
799
  * @returns {boolean}
800
800
  */
801
- exports.isDecryptFileError = function (error) {
801
+ exports.isEncryptFileError = function (error) {
802
802
  try {
803
- const ret = wasm.isDecryptFileError(addBorrowedObject(error));
803
+ const ret = wasm.isEncryptFileError(addBorrowedObject(error));
804
804
  return ret !== 0;
805
805
  } finally {
806
806
  heap[stack_pointer++] = undefined;
@@ -811,9 +811,9 @@ exports.isDecryptFileError = function (error) {
811
811
  * @param {any} error
812
812
  * @returns {boolean}
813
813
  */
814
- exports.isEncryptFileError = function (error) {
814
+ exports.isDecryptFileError = function (error) {
815
815
  try {
816
- const ret = wasm.isEncryptFileError(addBorrowedObject(error));
816
+ const ret = wasm.isDecryptFileError(addBorrowedObject(error));
817
817
  return ret !== 0;
818
818
  } finally {
819
819
  heap[stack_pointer++] = undefined;
@@ -872,22 +872,22 @@ exports.isGetFolderError = function (error) {
872
872
  }
873
873
  };
874
874
 
875
- function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
876
- wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
877
- }
878
-
879
- function wasm_bindgen__convert__closures_____invoke__h727bb28be87becbf(arg0, arg1, arg2) {
880
- wasm.wasm_bindgen__convert__closures_____invoke__h727bb28be87becbf(
875
+ function wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(arg0, arg1, arg2) {
876
+ wasm.wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62(
881
877
  arg0,
882
878
  arg1,
883
879
  addHeapObject(arg2),
884
880
  );
885
881
  }
886
882
 
887
- function wasm_bindgen__convert__closures_____invoke__h3d71357e6a8288f5(arg0, arg1, arg2) {
883
+ function wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1) {
884
+ wasm.wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2(arg0, arg1);
885
+ }
886
+
887
+ function wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(arg0, arg1, arg2) {
888
888
  try {
889
889
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
890
- wasm.wasm_bindgen__convert__closures_____invoke__h3d71357e6a8288f5(
890
+ wasm.wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11(
891
891
  retptr,
892
892
  arg0,
893
893
  arg1,
@@ -4672,7 +4672,7 @@ exports.__wbg_abort_e7eb059f72f9ed0c = function (arg0) {
4672
4672
  getObject(arg0).abort();
4673
4673
  };
4674
4674
 
4675
- exports.__wbg_addEventListener_dc3da056b615f634 = function (arg0, arg1, arg2, arg3) {
4675
+ exports.__wbg_addEventListener_2a32c0afd1525001 = function (arg0, arg1, arg2, arg3) {
4676
4676
  getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
4677
4677
  };
4678
4678
 
@@ -4725,7 +4725,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
4725
4725
  }, arguments);
4726
4726
  };
4727
4727
 
4728
- exports.__wbg_cipher_4adc4c6d44021f45 = function (arg0) {
4728
+ exports.__wbg_cipher_a8e5bca3fa535748 = function (arg0) {
4729
4729
  const ret = getObject(arg0).cipher;
4730
4730
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4731
4731
  };
@@ -4818,7 +4818,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
4818
4818
  return addHeapObject(ret);
4819
4819
  };
4820
4820
 
4821
- exports.__wbg_folder_a133c250cfa20b2b = function (arg0) {
4821
+ exports.__wbg_folder_0d17faa11eda84be = function (arg0) {
4822
4822
  const ret = getObject(arg0).folder;
4823
4823
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4824
4824
  };
@@ -4851,7 +4851,12 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4851
4851
  return ret;
4852
4852
  };
4853
4853
 
4854
- exports.__wbg_get_1d8fc9cf35595596 = function () {
4854
+ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4855
+ const ret = getObject(arg0)[arg1 >>> 0];
4856
+ return addHeapObject(ret);
4857
+ };
4858
+
4859
+ exports.__wbg_get_906612b83779a7a5 = function () {
4855
4860
  return handleError(function (arg0, arg1, arg2) {
4856
4861
  let deferred0_0;
4857
4862
  let deferred0_1;
@@ -4866,7 +4871,19 @@ exports.__wbg_get_1d8fc9cf35595596 = function () {
4866
4871
  }, arguments);
4867
4872
  };
4868
4873
 
4869
- exports.__wbg_get_717e3ed5a180f3fe = function () {
4874
+ exports.__wbg_get_access_token_3d47691e30d95b50 = function (arg0) {
4875
+ const ret = getObject(arg0).get_access_token();
4876
+ return addHeapObject(ret);
4877
+ };
4878
+
4879
+ exports.__wbg_get_efcb449f58ec27c2 = function () {
4880
+ return handleError(function (arg0, arg1) {
4881
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
4882
+ return addHeapObject(ret);
4883
+ }, arguments);
4884
+ };
4885
+
4886
+ exports.__wbg_get_f2b4178b803b7230 = function () {
4870
4887
  return handleError(function (arg0, arg1, arg2) {
4871
4888
  let deferred0_0;
4872
4889
  let deferred0_1;
@@ -4881,23 +4898,6 @@ exports.__wbg_get_717e3ed5a180f3fe = function () {
4881
4898
  }, arguments);
4882
4899
  };
4883
4900
 
4884
- exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4885
- const ret = getObject(arg0)[arg1 >>> 0];
4886
- return addHeapObject(ret);
4887
- };
4888
-
4889
- exports.__wbg_get_access_token_cd7c130d95407bfd = function (arg0) {
4890
- const ret = getObject(arg0).get_access_token();
4891
- return addHeapObject(ret);
4892
- };
4893
-
4894
- exports.__wbg_get_efcb449f58ec27c2 = function () {
4895
- return handleError(function (arg0, arg1) {
4896
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
4897
- return addHeapObject(ret);
4898
- }, arguments);
4899
- };
4900
-
4901
4901
  exports.__wbg_get_with_ref_key_1dc361bd10053bfe = function (arg0, arg1) {
4902
4902
  const ret = getObject(arg0)[getObject(arg1)];
4903
4903
  return addHeapObject(ret);
@@ -5082,14 +5082,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
5082
5082
  return ret;
5083
5083
  };
5084
5084
 
5085
- exports.__wbg_list_1f6d2e19eed274e9 = function () {
5085
+ exports.__wbg_list_1032c4807ee9c2ce = function () {
5086
5086
  return handleError(function (arg0) {
5087
5087
  const ret = getObject(arg0).list();
5088
5088
  return addHeapObject(ret);
5089
5089
  }, arguments);
5090
5090
  };
5091
5091
 
5092
- exports.__wbg_list_f68ed92d8fd6ffbf = function () {
5092
+ exports.__wbg_list_a655c254b723e34b = function () {
5093
5093
  return handleError(function (arg0) {
5094
5094
  const ret = getObject(arg0).list();
5095
5095
  return addHeapObject(ret);
@@ -5142,6 +5142,19 @@ exports.__wbg_new_0_f9740686d739025c = function () {
5142
5142
  return addHeapObject(ret);
5143
5143
  };
5144
5144
 
5145
+ exports.__wbg_new_122699422a56c70d = function (arg0, arg1) {
5146
+ let deferred0_0;
5147
+ let deferred0_1;
5148
+ try {
5149
+ deferred0_0 = arg0;
5150
+ deferred0_1 = arg1;
5151
+ const ret = new Error(getStringFromWasm0(arg0, arg1));
5152
+ return addHeapObject(ret);
5153
+ } finally {
5154
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5155
+ }
5156
+ };
5157
+
5145
5158
  exports.__wbg_new_1acc0b6eea89d040 = function () {
5146
5159
  const ret = new Object();
5147
5160
  return addHeapObject(ret);
@@ -5217,19 +5230,6 @@ exports.__wbg_new_e17d9f43105b08be = function () {
5217
5230
  return addHeapObject(ret);
5218
5231
  };
5219
5232
 
5220
- exports.__wbg_new_f24b6d53abe5bc82 = function (arg0, arg1) {
5221
- let deferred0_0;
5222
- let deferred0_1;
5223
- try {
5224
- deferred0_0 = arg0;
5225
- deferred0_1 = arg1;
5226
- const ret = new Error(getStringFromWasm0(arg0, arg1));
5227
- return addHeapObject(ret);
5228
- } finally {
5229
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5230
- }
5231
- };
5232
-
5233
5233
  exports.__wbg_new_from_slice_92f4d78ca282a2d2 = function (arg0, arg1) {
5234
5234
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
5235
5235
  return addHeapObject(ret);
@@ -5333,7 +5333,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
5333
5333
  }, arguments);
5334
5334
  };
5335
5335
 
5336
- exports.__wbg_remove_b044f4b7ff2070b1 = function () {
5336
+ exports.__wbg_remove_4bd5c377165db91f = function () {
5337
5337
  return handleError(function (arg0, arg1, arg2) {
5338
5338
  let deferred0_0;
5339
5339
  let deferred0_1;
@@ -5348,7 +5348,7 @@ exports.__wbg_remove_b044f4b7ff2070b1 = function () {
5348
5348
  }, arguments);
5349
5349
  };
5350
5350
 
5351
- exports.__wbg_remove_ed3ff4f5ab500480 = function () {
5351
+ exports.__wbg_remove_70f6b26ca7135eb7 = function () {
5352
5352
  return handleError(function (arg0, arg1, arg2) {
5353
5353
  let deferred0_0;
5354
5354
  let deferred0_1;
@@ -5382,7 +5382,7 @@ exports.__wbg_result_25e75004b82b9830 = function () {
5382
5382
  }, arguments);
5383
5383
  };
5384
5384
 
5385
- exports.__wbg_send_9b8fc6bb517867dd = function () {
5385
+ exports.__wbg_send_8b64d9aa7f1992ee = function () {
5386
5386
  return handleError(function (arg0, arg1) {
5387
5387
  const ret = getObject(arg0).send(OutgoingMessage.__wrap(arg1));
5388
5388
  return addHeapObject(ret);
@@ -5394,11 +5394,7 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
5394
5394
  return addHeapObject(ret);
5395
5395
  };
5396
5396
 
5397
- exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5398
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5399
- };
5400
-
5401
- exports.__wbg_set_40e4d6ada6f06b58 = function () {
5397
+ exports.__wbg_set_11a079cace77951c = function () {
5402
5398
  return handleError(function (arg0, arg1, arg2, arg3) {
5403
5399
  let deferred0_0;
5404
5400
  let deferred0_1;
@@ -5413,11 +5409,30 @@ exports.__wbg_set_40e4d6ada6f06b58 = function () {
5413
5409
  }, arguments);
5414
5410
  };
5415
5411
 
5412
+ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5413
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5414
+ };
5415
+
5416
5416
  exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
5417
5417
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5418
5418
  return addHeapObject(ret);
5419
5419
  };
5420
5420
 
5421
+ exports.__wbg_set_95709825d99cadb3 = function () {
5422
+ return handleError(function (arg0, arg1, arg2, arg3) {
5423
+ let deferred0_0;
5424
+ let deferred0_1;
5425
+ try {
5426
+ deferred0_0 = arg1;
5427
+ deferred0_1 = arg2;
5428
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5429
+ return addHeapObject(ret);
5430
+ } finally {
5431
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5432
+ }
5433
+ }, arguments);
5434
+ };
5435
+
5421
5436
  exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
5422
5437
  getObject(arg0).body = getObject(arg1);
5423
5438
  };
@@ -5437,21 +5452,6 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
5437
5452
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5438
5453
  };
5439
5454
 
5440
- exports.__wbg_set_ef8b87e358b87125 = function () {
5441
- return handleError(function (arg0, arg1, arg2, arg3) {
5442
- let deferred0_0;
5443
- let deferred0_1;
5444
- try {
5445
- deferred0_0 = arg1;
5446
- deferred0_1 = arg2;
5447
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5448
- return addHeapObject(ret);
5449
- } finally {
5450
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5451
- }
5452
- }, arguments);
5453
- };
5454
-
5455
5455
  exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
5456
5456
  getObject(arg0).headers = getObject(arg1);
5457
5457
  };
@@ -5464,7 +5464,7 @@ exports.__wbg_set_mode_52ef73cfa79639cb = function (arg0, arg1) {
5464
5464
  getObject(arg0).mode = __wbindgen_enum_RequestMode[arg1];
5465
5465
  };
5466
5466
 
5467
- exports.__wbg_set_name_c0e2d6f348c746f4 = function (arg0, arg1, arg2) {
5467
+ exports.__wbg_set_name_f4b29c43a961f90e = function (arg0, arg1, arg2) {
5468
5468
  let deferred0_0;
5469
5469
  let deferred0_1;
5470
5470
  try {
@@ -5496,7 +5496,7 @@ exports.__wbg_set_type_63fa4c18251f6545 = function (arg0, arg1, arg2) {
5496
5496
  getObject(arg0).type = getStringFromWasm0(arg1, arg2);
5497
5497
  };
5498
5498
 
5499
- exports.__wbg_set_variant_d1d41b778dfe9c17 = function (arg0, arg1, arg2) {
5499
+ exports.__wbg_set_variant_753180e89ea29c02 = function (arg0, arg1, arg2) {
5500
5500
  let deferred0_0;
5501
5501
  let deferred0_1;
5502
5502
  try {
@@ -5616,20 +5616,42 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
5616
5616
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5617
5617
  };
5618
5618
 
5619
- exports.__wbindgen_cast_0f3a80f9c6c81c16 = function (arg0, arg1) {
5620
- // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5619
+ exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5620
+ // Cast intrinsic for `Ref(String) -> Externref`.
5621
+ const ret = getStringFromWasm0(arg0, arg1);
5622
+ return addHeapObject(ret);
5623
+ };
5624
+
5625
+ exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
5626
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5621
5627
  const ret = makeMutClosure(
5622
5628
  arg0,
5623
5629
  arg1,
5624
- wasm.wasm_bindgen__closure__destroy__h31d399e6af2fe814,
5625
- wasm_bindgen__convert__closures_____invoke__h727bb28be87becbf,
5630
+ wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
5631
+ wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62,
5626
5632
  );
5627
5633
  return addHeapObject(ret);
5628
5634
  };
5629
5635
 
5630
- exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
5631
- // Cast intrinsic for `Ref(String) -> Externref`.
5632
- const ret = getStringFromWasm0(arg0, arg1);
5636
+ exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
5637
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 43, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5638
+ const ret = makeMutClosure(
5639
+ arg0,
5640
+ arg1,
5641
+ wasm.wasm_bindgen__closure__destroy__h450a29d5adc6ff56,
5642
+ wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11,
5643
+ );
5644
+ return addHeapObject(ret);
5645
+ };
5646
+
5647
+ exports.__wbindgen_cast_3fbb763e21ae0efe = function (arg0, arg1) {
5648
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 553, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5649
+ const ret = makeMutClosure(
5650
+ arg0,
5651
+ arg1,
5652
+ wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
5653
+ wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5654
+ );
5633
5655
  return addHeapObject(ret);
5634
5656
  };
5635
5657
 
@@ -5647,17 +5669,6 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
5647
5669
  return addHeapObject(ret);
5648
5670
  };
5649
5671
 
5650
- exports.__wbindgen_cast_67d165bf11ca912a = function (arg0, arg1) {
5651
- // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5652
- const ret = makeMutClosure(
5653
- arg0,
5654
- arg1,
5655
- wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5656
- wasm_bindgen__convert__closures_____invoke__h727bb28be87becbf,
5657
- );
5658
- return addHeapObject(ret);
5659
- };
5660
-
5661
5672
  exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5662
5673
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5663
5674
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5666,23 +5677,23 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
5666
5677
  return addHeapObject(ret);
5667
5678
  };
5668
5679
 
5669
- exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
5670
- // Cast intrinsic for `I64 -> Externref`.
5671
- const ret = arg0;
5672
- return addHeapObject(ret);
5673
- };
5674
-
5675
- exports.__wbindgen_cast_9b35fe50b76611f9 = function (arg0, arg1) {
5676
- // Cast intrinsic for `Closure(Closure { dtor_idx: 552, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5680
+ exports.__wbindgen_cast_930d054add031527 = function (arg0, arg1) {
5681
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5677
5682
  const ret = makeMutClosure(
5678
5683
  arg0,
5679
5684
  arg1,
5680
- wasm.wasm_bindgen__closure__destroy__he41cbbdbe831f2ac,
5681
- wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2,
5685
+ wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
5686
+ wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62,
5682
5687
  );
5683
5688
  return addHeapObject(ret);
5684
5689
  };
5685
5690
 
5691
+ exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
5692
+ // Cast intrinsic for `I64 -> Externref`.
5693
+ const ret = arg0;
5694
+ return addHeapObject(ret);
5695
+ };
5696
+
5686
5697
  exports.__wbindgen_cast_bfa5a190b0f2e981 = function (arg0, arg1) {
5687
5698
  // Cast intrinsic for `Closure(Closure { dtor_idx: 303, function: Function { arguments: [], shim_idx: 304, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5688
5699
  const ret = makeMutClosure(
@@ -5706,17 +5717,6 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
5706
5717
  return addHeapObject(ret);
5707
5718
  };
5708
5719
 
5709
- exports.__wbindgen_cast_e12aaa4ecde9c999 = function (arg0, arg1) {
5710
- // Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 41, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5711
- const ret = makeMutClosure(
5712
- arg0,
5713
- arg1,
5714
- wasm.wasm_bindgen__closure__destroy__h31d399e6af2fe814,
5715
- wasm_bindgen__convert__closures_____invoke__h3d71357e6a8288f5,
5716
- );
5717
- return addHeapObject(ret);
5718
- };
5719
-
5720
5720
  exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
5721
5721
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5722
5722
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -454,24 +454,24 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
454
454
  export const __wbg_registrationclient_free: (a: number, b: number) => void;
455
455
  export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
456
456
  export const __wbg_cryptoclient_free: (a: number, b: number) => void;
457
- export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
457
+ export const wasm_bindgen__convert__closures_____invoke__hdced9b5886b06c62: (
458
458
  a: number,
459
459
  b: number,
460
+ c: number,
460
461
  ) => void;
461
- export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
462
- export const wasm_bindgen__convert__closures_____invoke__h727bb28be87becbf: (
462
+ export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
463
+ export const wasm_bindgen__convert__closures_____invoke__h4eff94a44eff58c2: (
463
464
  a: number,
464
465
  b: number,
465
- c: number,
466
466
  ) => void;
467
- export const wasm_bindgen__closure__destroy__h31d399e6af2fe814: (a: number, b: number) => void;
468
- export const wasm_bindgen__convert__closures_____invoke__h3d71357e6a8288f5: (
467
+ export const wasm_bindgen__closure__destroy__he41cbbdbe831f2ac: (a: number, b: number) => void;
468
+ export const wasm_bindgen__convert__closures_____invoke__ha432c5dfb6304f11: (
469
469
  a: number,
470
470
  b: number,
471
471
  c: number,
472
472
  d: number,
473
473
  ) => void;
474
- export const wasm_bindgen__closure__destroy__h591e0f2efd143068: (a: number, b: number) => void;
474
+ export const wasm_bindgen__closure__destroy__h450a29d5adc6ff56: (a: number, b: number) => void;
475
475
  export const wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83: (
476
476
  a: number,
477
477
  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.419",
3
+ "version": "0.2.0-main.421",
4
4
  "license": "BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT",
5
5
  "repository": {
6
6
  "type": "git",