@rebilly/instruments 12.58.0 → 12.59.1

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,6 @@
1
- ## [12.58.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.57.6...instruments/core-v12.58.0) (2025-05-15)
1
+ ## [12.59.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v12.59.0...instruments/core-v12.59.1) (2025-05-15)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#11689](https://github.com/Rebilly/rebilly/issues/11689)) ([829839f](https://github.com/Rebilly/rebilly/commit/829839f96513a80ded86fd3a83bc3955a27db9f0))
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))
package/dist/index.js CHANGED
@@ -6304,7 +6304,7 @@ function C$1({ options: e2 }) {
6304
6304
  }
6305
6305
  function o2() {
6306
6306
  const i = {
6307
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@829839f`
6307
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@e00b7f8`
6308
6308
  };
6309
6309
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
6310
6310
  }
@@ -12762,14 +12762,17 @@ async function ce() {
12762
12762
  }
12763
12763
  }
12764
12764
  async function $t2() {
12765
- return new Promise((e2) => {
12766
- window.requestIdleCallback ? requestIdleCallback(async () => {
12767
- const t2 = await ce();
12768
- e2(t2);
12769
- }) : setTimeout(async () => {
12770
- const t2 = await ce();
12771
- e2(t2);
12772
- }, 500);
12765
+ return new Promise((t2) => {
12766
+ window.requestIdleCallback ? requestIdleCallback(
12767
+ async () => {
12768
+ const n2 = await ce();
12769
+ t2(n2);
12770
+ },
12771
+ { timeout: 200 }
12772
+ ) : setTimeout(async () => {
12773
+ const n2 = await ce();
12774
+ t2(n2);
12775
+ }, 200);
12773
12776
  });
12774
12777
  }
12775
12778
  const en = "https://tst.kaptcha.com", tn = "https://ssl.kaptcha.com", nn = (e2) => e2 === "production", rn = ({ env: e2, kountAccountId: t2, kountSessionId: n2 }) => {