@rebilly/instruments 12.59.1 → 12.59.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1 @@
1
- ## [12.59.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.59.0...instruments/core-v12.59.1) (2025-05-15)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * **risk-data-collector:** add timeout parameter to requestIdleCallback ([#12030](https://github.com/Rebilly/rebilly/issues/12030)) ([e00b7f8](https://github.com/Rebilly/rebilly/commit/e00b7f83816d8833bd03c52d6b77622334c02bf2))
1
+ ## [12.59.2](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.59.1...instruments/core-v12.59.2) (2025-05-16)
package/dist/index.js CHANGED
@@ -703,7 +703,6 @@ class Loader {
703
703
  }
704
704
  startLoading({ section = "form", id = "" } = {}) {
705
705
  var _a, _b, _c;
706
- console.log("startLoading", { section, id });
707
706
  this[section].push(id);
708
707
  const rootEl = ((_a = state.shadowRoot) == null ? void 0 : _a.querySelector("style")) || document.querySelector(":root");
709
708
  const contentPadding = 2;
@@ -753,7 +752,6 @@ class Loader {
753
752
  }
754
753
  }
755
754
  stopLoading({ section = "form", id = "" } = {}) {
756
- console.log("stopLoading", { section, id });
757
755
  const idIndex = this[section].indexOf(id);
758
756
  if (idIndex !== -1) {
759
757
  this[section].splice(idIndex, 1);
@@ -765,7 +763,6 @@ class Loader {
765
763
  }
766
764
  clearAll() {
767
765
  this.form.forEach((id) => {
768
- console.log(3, "stopLoading");
769
766
  this.stopLoading({ id });
770
767
  });
771
768
  if (this.summary) {
@@ -2925,7 +2922,6 @@ function stopLoaderHandler(iframe, data) {
2925
2922
  if (!section) {
2926
2923
  section = id.includes("summary") ? "summary" : "form";
2927
2924
  }
2928
- console.log(5, "stopLoading");
2929
2925
  (_a = data.loader) == null ? void 0 : _a.stopLoading({ section, id });
2930
2926
  });
2931
2927
  }
@@ -6304,7 +6300,7 @@ function C$1({ options: e2 }) {
6304
6300
  }
6305
6301
  function o2() {
6306
6302
  const i = {
6307
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@e00b7f8`
6303
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@443fb8f`
6308
6304
  };
6309
6305
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
6310
6306
  }
@@ -17577,7 +17573,6 @@ async function mountMethodSelector() {
17577
17573
  });
17578
17574
  }
17579
17575
  } else {
17580
- console.log(6, "stopLoading");
17581
17576
  state.loader.stopLoading({ id: "rebilly-instruments-form" });
17582
17577
  state.form.querySelector(
17583
17578
  '[data-rebilly-instruments="form"]'
@@ -17660,7 +17655,6 @@ async function mountForm() {
17660
17655
  const iframe = await new ViewIframe2(args);
17661
17656
  iframe.bindEventListeners({ loader: state.loader });
17662
17657
  iframes.form = iframe;
17663
- console.log(7, "stopLoading");
17664
17658
  state.loader.stopLoading({ id: "rebilly-instruments-form" });
17665
17659
  return {
17666
17660
  then: (callback) => callback()
@@ -21350,7 +21344,6 @@ async function mount({ ...options } = {}) {
21350
21344
  state.i18n();
21351
21345
  state.hasMounted = true;
21352
21346
  const clearFormOnError = (errorMessage) => {
21353
- console.log(1, "stopLoading");
21354
21347
  state.loader.stopLoading({ id: "rebilly-instruments-form" });
21355
21348
  removeForm();
21356
21349
  showError(state.translate.getTranslation(errorMessage), false);
@@ -21379,7 +21372,6 @@ async function mount({ ...options } = {}) {
21379
21372
  hasNoPaymentMethods = !((_t2 = data.readyToPay) == null ? void 0 : _t2.length);
21380
21373
  }
21381
21374
  if (hasNoPaymentMethods) {
21382
- console.log(2, "stopLoading");
21383
21375
  state.loader.stopLoading({ id: "rebilly-instruments-form" });
21384
21376
  showError(
21385
21377
  state.translate.getTranslation("form.error.noPaymentMethods"),