@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 +3 -3
- package/dist/index.js +12 -9
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [12.
|
|
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
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **
|
|
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("/")}@
|
|
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((
|
|
12766
|
-
window.requestIdleCallback ? requestIdleCallback(
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
|
|
12772
|
-
|
|
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 }) => {
|