@rebilly/risk-data-collector 10.28.1 → 10.28.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 +1 -1
- package/dist/adblock-detect.d.ts +1 -0
- package/dist/data-collector.d.ts +20 -27
- package/dist/fingerprint.d.ts +1 -0
- package/dist/kount.d.ts +6 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [10.28.
|
|
1
|
+
## [10.28.2](https://github.com/Rebilly/rebilly/compare/risk-data-collector-v10.28.1...risk-data-collector-v10.28.2) (2026-07-15)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getIsAdBlockEnabled: () => Promise<boolean>;
|
package/dist/data-collector.d.ts
CHANGED
|
@@ -1,27 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
screenWidth: number | null;
|
|
22
|
-
timeZoneOffset: number;
|
|
23
|
-
isAdBlockEnabled: boolean | null;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { }
|
|
1
|
+
import { KountParams } from './kount';
|
|
2
|
+
export interface RiskMetadata {
|
|
3
|
+
fingerprint: string | null;
|
|
4
|
+
extraData: {
|
|
5
|
+
kountFraudSessionId: string | null;
|
|
6
|
+
};
|
|
7
|
+
browserData: {
|
|
8
|
+
colorDepth: number | null;
|
|
9
|
+
isJavaEnabled: boolean | null;
|
|
10
|
+
language: string | null;
|
|
11
|
+
screenHeight: number | null;
|
|
12
|
+
screenWidth: number | null;
|
|
13
|
+
timeZoneOffset: number;
|
|
14
|
+
isAdBlockEnabled: boolean | null;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare function collectData({ env, kountAccountId, kountSessionId }?: KountParams): Promise<{
|
|
18
|
+
riskMetadata: RiskMetadata;
|
|
19
|
+
}>;
|
|
20
|
+
export { collectData };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function getFingerprint(): Promise<string | null>;
|
package/dist/kount.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebilly/risk-data-collector",
|
|
3
|
-
"version": "10.28.
|
|
3
|
+
"version": "10.28.2",
|
|
4
4
|
"description": "Microlibrary that collects browser data for risk assessment",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/data-collector.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@rebilly/eslint-config": "*",
|
|
43
43
|
"@types/node": "^22.15.30",
|
|
44
44
|
"express": "^5.1.0",
|
|
45
|
-
"typescript": "^
|
|
45
|
+
"typescript": "^6.0.3",
|
|
46
46
|
"vite": "^5.4.21",
|
|
47
47
|
"vite-plugin-commonjs": "^0.10.4",
|
|
48
48
|
"vite-plugin-dts": "^4.5.0"
|