@thumbmarkjs/thumbmarkjs 0.13.0 → 0.13.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.
Files changed (68) hide show
  1. package/README.md +1 -1
  2. package/dist/components/audio/audio.d.ts +0 -0
  3. package/dist/components/audio/audio.js +0 -0
  4. package/dist/components/audio/audio.js.map +0 -0
  5. package/dist/components/canvas/canvas.d.ts +0 -0
  6. package/dist/components/canvas/canvas.js +0 -0
  7. package/dist/components/canvas/canvas.js.map +0 -0
  8. package/dist/components/fonts/fonts.d.ts +0 -0
  9. package/dist/components/fonts/fonts.js +0 -0
  10. package/dist/components/fonts/fonts.js.map +0 -0
  11. package/dist/components/hardware/hardware.d.ts +0 -0
  12. package/dist/components/hardware/hardware.js +0 -0
  13. package/dist/components/hardware/hardware.js.map +0 -0
  14. package/dist/components/index.d.ts +0 -0
  15. package/dist/components/index.js +0 -0
  16. package/dist/components/index.js.map +0 -0
  17. package/dist/components/locales/locales.d.ts +0 -0
  18. package/dist/components/locales/locales.js +0 -0
  19. package/dist/components/locales/locales.js.map +0 -0
  20. package/dist/components/math/math.d.ts +0 -0
  21. package/dist/components/math/math.js +0 -0
  22. package/dist/components/math/math.js.map +0 -0
  23. package/dist/components/permissions/permissions.d.ts +0 -0
  24. package/dist/components/permissions/permissions.js +0 -0
  25. package/dist/components/permissions/permissions.js.map +0 -0
  26. package/dist/components/plugins/plugins.d.ts +0 -0
  27. package/dist/components/plugins/plugins.js +0 -0
  28. package/dist/components/plugins/plugins.js.map +0 -0
  29. package/dist/components/screen/screen.d.ts +0 -0
  30. package/dist/components/screen/screen.js +0 -0
  31. package/dist/components/screen/screen.js.map +0 -0
  32. package/dist/components/system/browser.d.ts +0 -0
  33. package/dist/components/system/browser.js +0 -0
  34. package/dist/components/system/browser.js.map +0 -0
  35. package/dist/components/system/system.d.ts +0 -0
  36. package/dist/components/system/system.js +5 -11
  37. package/dist/components/system/system.js.map +1 -1
  38. package/dist/components/webgl/webgl.d.ts +0 -0
  39. package/dist/components/webgl/webgl.js +0 -0
  40. package/dist/components/webgl/webgl.js.map +0 -0
  41. package/dist/factory.d.ts +0 -0
  42. package/dist/factory.js +0 -0
  43. package/dist/factory.js.map +0 -0
  44. package/dist/fingerprint/functions.d.ts +0 -0
  45. package/dist/fingerprint/functions.js +0 -0
  46. package/dist/fingerprint/functions.js.map +0 -0
  47. package/dist/index.d.ts +0 -0
  48. package/dist/index.js +0 -0
  49. package/dist/index.js.map +0 -0
  50. package/dist/utils/commonPixels.d.ts +0 -0
  51. package/dist/utils/commonPixels.js +0 -0
  52. package/dist/utils/commonPixels.js.map +0 -0
  53. package/dist/utils/ephemeralIFrame.d.ts +0 -0
  54. package/dist/utils/ephemeralIFrame.js +0 -0
  55. package/dist/utils/ephemeralIFrame.js.map +0 -0
  56. package/dist/utils/getMostFrequent.d.ts +0 -0
  57. package/dist/utils/getMostFrequent.js +0 -0
  58. package/dist/utils/getMostFrequent.js.map +0 -0
  59. package/dist/utils/hash.d.ts +0 -0
  60. package/dist/utils/hash.js +0 -0
  61. package/dist/utils/hash.js.map +0 -0
  62. package/dist/utils/imageDataToDataURL.d.ts +0 -0
  63. package/dist/utils/imageDataToDataURL.js +0 -0
  64. package/dist/utils/imageDataToDataURL.js.map +0 -0
  65. package/dist/utils/raceAll.d.ts +0 -0
  66. package/dist/utils/raceAll.js +0 -0
  67. package/dist/utils/raceAll.js.map +0 -0
  68. 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.11.4/Thumbmark.js`
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
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,15 @@ function getSystemDetails() {
20
20
  * @returns applePayCanMakePayments: boolean, applePayMaxSupportedVersion: number
21
21
  */
22
22
  function getApplePayInfo() {
23
- var applePayCanMakePayments = false;
24
- var applePayMaxSupportedVersion = 0;
25
23
  if (typeof window.ApplePaySession === 'function') {
26
24
  var versionCheck = window.ApplePaySession.supportsVersion;
27
- var version = 0;
28
- while (versionCheck(version + 1)) {
29
- version++;
25
+ for (var i = 15; i > 0; i--) {
26
+ if (versionCheck(i)) {
27
+ return i;
28
+ }
30
29
  }
31
- applePayCanMakePayments = version > 0;
32
- applePayMaxSupportedVersion = version;
33
30
  }
34
- return {
35
- applePayCanMakePayments: applePayCanMakePayments,
36
- applePayMaxSupportedVersion: applePayMaxSupportedVersion
37
- };
31
+ return 0;
38
32
  }
39
33
  (0, factory_1.includeComponent)('system', getSystemDetails);
40
34
  //# 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,EAAE,MAAM,CAAC,SAAS,CAAC,QAAQ;YACrC,eAAe,EAAE,MAAM,CAAC,SAAS,CAAC,aAAa;YAC/C,YAAY,EAAE,SAAS,CAAC,UAAU;YAClC,SAAS,EAAE,SAAS,CAAC,OAAO;YAC5B,WAAW,EAAE,SAAS,CAAC,SAAS;YAChC,SAAS,EAAE,EAAC,MAAM,EA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,SAAS,EAAE,OAAO,CAAC,OAAO,EAAE;YAC9D,cAAc,EAAE,eAAe,EAAE;SACpC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,eAAe;IACpB,IAAI,OAAQ,MAAc,CAAC,eAAe,KAAK,UAAU,EAAE,CAAC;QACxD,IAAM,YAAY,GAAI,MAAc,CAAC,eAAe,CAAC,eAAe,CAAC;QACrE,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
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
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/package.json CHANGED
@@ -1,39 +1,39 @@
1
- {
2
- "name": "@thumbmarkjs/thumbmarkjs",
3
- "version": "0.13.0",
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.2",
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
+ }