@thumbmarkjs/thumbmarkjs 0.13.0 → 0.13.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/README.md +1 -1
- package/dist/components/audio/audio.d.ts +0 -0
- package/dist/components/audio/audio.js +0 -0
- package/dist/components/audio/audio.js.map +0 -0
- package/dist/components/canvas/canvas.d.ts +0 -0
- package/dist/components/canvas/canvas.js +0 -0
- package/dist/components/canvas/canvas.js.map +0 -0
- package/dist/components/fonts/fonts.d.ts +0 -0
- package/dist/components/fonts/fonts.js +0 -0
- package/dist/components/fonts/fonts.js.map +0 -0
- package/dist/components/hardware/hardware.d.ts +0 -0
- package/dist/components/hardware/hardware.js +0 -0
- package/dist/components/hardware/hardware.js.map +0 -0
- package/dist/components/index.d.ts +0 -0
- package/dist/components/index.js +0 -0
- package/dist/components/index.js.map +0 -0
- package/dist/components/locales/locales.d.ts +0 -0
- package/dist/components/locales/locales.js +0 -0
- package/dist/components/locales/locales.js.map +0 -0
- package/dist/components/math/math.d.ts +0 -0
- package/dist/components/math/math.js +0 -0
- package/dist/components/math/math.js.map +0 -0
- package/dist/components/permissions/permissions.d.ts +0 -0
- package/dist/components/permissions/permissions.js +0 -0
- package/dist/components/permissions/permissions.js.map +0 -0
- package/dist/components/plugins/plugins.d.ts +0 -0
- package/dist/components/plugins/plugins.js +0 -0
- package/dist/components/plugins/plugins.js.map +0 -0
- package/dist/components/screen/screen.d.ts +0 -0
- package/dist/components/screen/screen.js +0 -0
- package/dist/components/screen/screen.js.map +0 -0
- package/dist/components/system/browser.d.ts +0 -0
- package/dist/components/system/browser.js +0 -0
- package/dist/components/system/browser.js.map +0 -0
- package/dist/components/system/system.d.ts +0 -0
- package/dist/components/system/system.js +5 -10
- package/dist/components/system/system.js.map +1 -1
- package/dist/components/webgl/webgl.d.ts +0 -0
- package/dist/components/webgl/webgl.js +0 -0
- package/dist/components/webgl/webgl.js.map +0 -0
- package/dist/factory.d.ts +0 -0
- package/dist/factory.js +0 -0
- package/dist/factory.js.map +0 -0
- package/dist/fingerprint/functions.d.ts +0 -0
- package/dist/fingerprint/functions.js +0 -0
- package/dist/fingerprint/functions.js.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +0 -0
- package/dist/utils/commonPixels.d.ts +0 -0
- package/dist/utils/commonPixels.js +0 -0
- package/dist/utils/commonPixels.js.map +0 -0
- package/dist/utils/ephemeralIFrame.d.ts +0 -0
- package/dist/utils/ephemeralIFrame.js +0 -0
- package/dist/utils/ephemeralIFrame.js.map +0 -0
- package/dist/utils/getMostFrequent.d.ts +0 -0
- package/dist/utils/getMostFrequent.js +0 -0
- package/dist/utils/getMostFrequent.js.map +0 -0
- package/dist/utils/hash.d.ts +0 -0
- package/dist/utils/hash.js +0 -0
- package/dist/utils/hash.js.map +0 -0
- package/dist/utils/imageDataToDataURL.d.ts +0 -0
- package/dist/utils/imageDataToDataURL.js +0 -0
- package/dist/utils/imageDataToDataURL.js.map +0 -0
- package/dist/utils/raceAll.d.ts +0 -0
- package/dist/utils/raceAll.js +0 -0
- package/dist/utils/raceAll.js.map +0 -0
- package/package.json +39 -39
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ import('https://cdn.thumbmarkjs.com/latest/Thumbmark.js')
|
|
|
37
37
|
|
|
38
38
|
You can also call `ThumbmarkJS.getFingerprintData()` to get a full JSON object with all its components.
|
|
39
39
|
You can also get any previous version from the CDN by replacing `latest` with the version number. Currently the URL would be
|
|
40
|
-
`https://cdn.thumbmarkjs.com/0.
|
|
40
|
+
`https://cdn.thumbmarkjs.com/0.13.0/Thumbmark.js`
|
|
41
41
|
|
|
42
42
|
## Install with NPM
|
|
43
43
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/components/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -20,21 +20,16 @@ function getSystemDetails() {
|
|
|
20
20
|
* @returns applePayCanMakePayments: boolean, applePayMaxSupportedVersion: number
|
|
21
21
|
*/
|
|
22
22
|
function getApplePayInfo() {
|
|
23
|
-
var applePayCanMakePayments = false;
|
|
24
23
|
var applePayMaxSupportedVersion = 0;
|
|
25
24
|
if (typeof window.ApplePaySession === 'function') {
|
|
26
25
|
var versionCheck = window.ApplePaySession.supportsVersion;
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
for (var i = 10; i > 0; i--) {
|
|
27
|
+
if (versionCheck(i)) {
|
|
28
|
+
return i;
|
|
29
|
+
}
|
|
30
30
|
}
|
|
31
|
-
applePayCanMakePayments = version > 0;
|
|
32
|
-
applePayMaxSupportedVersion = version;
|
|
33
31
|
}
|
|
34
|
-
return
|
|
35
|
-
applePayCanMakePayments: applePayCanMakePayments,
|
|
36
|
-
applePayMaxSupportedVersion: applePayMaxSupportedVersion
|
|
37
|
-
};
|
|
32
|
+
return 0;
|
|
38
33
|
}
|
|
39
34
|
(0, factory_1.includeComponent)('system', getSystemDetails);
|
|
40
35
|
//# sourceMappingURL=system.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../src/components/system/system.ts"],"names":[],"mappings":";;AAAA,yCAAqE;AACrE,qCAAsC;AAEtC,SAAS,gBAAgB;IACrB,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO;QACvB,IAAM,OAAO,GAAG,IAAA,oBAAU,GAAE,CAAA;QAC5B,OAAO,CAAE;YACT,UAAU,EA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rE,KAAK,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAC1B,IAAI,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;gBAClB,OAAO,CAAC,CAAC;YACb,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,CAAC,CAAA;AACZ,CAAC;AAED,IAAA,0BAAgB,EAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/factory.d.ts
CHANGED
|
File without changes
|
package/dist/factory.js
CHANGED
|
File without changes
|
package/dist/factory.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/index.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/utils/hash.d.ts
CHANGED
|
File without changes
|
package/dist/utils/hash.js
CHANGED
|
File without changes
|
package/dist/utils/hash.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/utils/raceAll.d.ts
CHANGED
|
File without changes
|
package/dist/utils/raceAll.js
CHANGED
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thumbmarkjs/thumbmarkjs",
|
|
3
|
-
"version": "0.13.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.js",
|
|
7
|
-
"public": true,
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"test": "jest",
|
|
13
|
-
"build": "npx webpack && npx tsc"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"fingerprint", "fingerprinting", "browser-fingerprint", "browser-fingerprinting", "audio-fingerprinting", "canvas-fingerprinting", "visitor-identifier", "fraud-detection"
|
|
17
|
-
],
|
|
18
|
-
"author": "Ilkka Peltola",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@testing-library/jest-dom": "^6.1.6",
|
|
22
|
-
"@types/jest": "^29.5.11",
|
|
23
|
-
"@types/jsdom": "^21.1.6",
|
|
24
|
-
"@types/node": "^20.10.6",
|
|
25
|
-
"@types/ua-parser-js": "^0.7.39",
|
|
26
|
-
"@types/webpack-env": "^1.18.4",
|
|
27
|
-
"@webpack-cli/generators": "^3.0.7",
|
|
28
|
-
"jest": "^29.7.0",
|
|
29
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
30
|
-
"jsdom": "^23.0.1",
|
|
31
|
-
"path": "^0.12.7",
|
|
32
|
-
"ts-jest": "^29.1.1",
|
|
33
|
-
"ts-loader": "^9.5.1",
|
|
34
|
-
"ts-md5": "^1.3.1",
|
|
35
|
-
"typescript": "^5.3.3",
|
|
36
|
-
"webpack": "^5.89.0",
|
|
37
|
-
"webpack-cli": "^5.1.4"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@thumbmarkjs/thumbmarkjs",
|
|
3
|
+
"version": "0.13.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"public": true,
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"test": "jest",
|
|
13
|
+
"build": "npx webpack && npx tsc"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"fingerprint", "fingerprinting", "browser-fingerprint", "browser-fingerprinting", "audio-fingerprinting", "canvas-fingerprinting", "visitor-identifier", "fraud-detection"
|
|
17
|
+
],
|
|
18
|
+
"author": "Ilkka Peltola",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@testing-library/jest-dom": "^6.1.6",
|
|
22
|
+
"@types/jest": "^29.5.11",
|
|
23
|
+
"@types/jsdom": "^21.1.6",
|
|
24
|
+
"@types/node": "^20.10.6",
|
|
25
|
+
"@types/ua-parser-js": "^0.7.39",
|
|
26
|
+
"@types/webpack-env": "^1.18.4",
|
|
27
|
+
"@webpack-cli/generators": "^3.0.7",
|
|
28
|
+
"jest": "^29.7.0",
|
|
29
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
30
|
+
"jsdom": "^23.0.1",
|
|
31
|
+
"path": "^0.12.7",
|
|
32
|
+
"ts-jest": "^29.1.1",
|
|
33
|
+
"ts-loader": "^9.5.1",
|
|
34
|
+
"ts-md5": "^1.3.1",
|
|
35
|
+
"typescript": "^5.3.3",
|
|
36
|
+
"webpack": "^5.89.0",
|
|
37
|
+
"webpack-cli": "^5.1.4"
|
|
38
|
+
}
|
|
39
|
+
}
|