@rebilly/risk-data-collector 6.3.6 → 6.3.7
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 +1,6 @@
|
|
|
1
|
-
## [6.3.
|
|
1
|
+
## [6.3.7](https://github.com/Rebilly/rebilly/compare/risk-data-collector-v6.3.6...risk-data-collector-v6.3.7) (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))
|
package/dist/data-collector.js
CHANGED
|
@@ -1625,14 +1625,17 @@ async function ce() {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
}
|
|
1627
1627
|
async function $t() {
|
|
1628
|
-
return new Promise((
|
|
1629
|
-
window.requestIdleCallback ? requestIdleCallback(
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1628
|
+
return new Promise((t) => {
|
|
1629
|
+
window.requestIdleCallback ? requestIdleCallback(
|
|
1630
|
+
async () => {
|
|
1631
|
+
const n = await ce();
|
|
1632
|
+
t(n);
|
|
1633
|
+
},
|
|
1634
|
+
{ timeout: 200 }
|
|
1635
|
+
) : setTimeout(async () => {
|
|
1636
|
+
const n = await ce();
|
|
1637
|
+
t(n);
|
|
1638
|
+
}, 200);
|
|
1636
1639
|
});
|
|
1637
1640
|
}
|
|
1638
1641
|
const en = "https://tst.kaptcha.com", tn = "https://ssl.kaptcha.com", nn = (e) => e === "production", rn = ({ env: e, kountAccountId: t, kountSessionId: n }) => {
|