@rebilly/risk-data-collector 10.10.2 → 10.10.3
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 @@
|
|
|
1
|
-
## [10.10.
|
|
1
|
+
## [10.10.3](https://github.com/Rebilly/rebilly/compare/risk-data-collector-v10.10.2...risk-data-collector-v10.10.3) (2026-02-16)
|
package/dist/data-collector.js
CHANGED
|
@@ -1618,8 +1618,7 @@ function _t(e) {
|
|
|
1618
1618
|
var qt = { load: _t, hashComponents: pe, componentsToDebugString: he };
|
|
1619
1619
|
async function ce() {
|
|
1620
1620
|
try {
|
|
1621
|
-
|
|
1622
|
-
return e || t ? "a-mock-visitor-id" : (await (await qt.load()).get()).visitorId;
|
|
1621
|
+
return typeof process == "object" && process.env.NODE_ENV === "test" ? "a-mock-visitor-id" : (await (await qt.load()).get()).visitorId;
|
|
1623
1622
|
} catch (e) {
|
|
1624
1623
|
return console.error(e), null;
|
|
1625
1624
|
}
|