@prosopo/procaptcha-frictionless 2.8.22 → 2.11.0

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 (42) hide show
  1. package/.turbo/turbo-build$colon$cjs.log +12 -14
  2. package/.turbo/turbo-build$colon$tsc.log +74 -0
  3. package/.turbo/turbo-build.log +17 -15
  4. package/CHANGELOG.md +791 -0
  5. package/dist/ProcaptchaFrictionless.d.ts +3 -0
  6. package/dist/ProcaptchaFrictionless.d.ts.map +1 -0
  7. package/dist/ProcaptchaFrictionless.js +78 -36
  8. package/dist/ProcaptchaFrictionless.js.map +1 -0
  9. package/dist/cjs/ProcaptchaFrictionless.cjs +97 -33
  10. package/dist/cjs/customDetectBot.cjs +49 -14
  11. package/dist/customDetectBot.d.ts +5 -0
  12. package/dist/customDetectBot.d.ts.map +1 -0
  13. package/dist/customDetectBot.js +50 -15
  14. package/dist/customDetectBot.js.map +1 -0
  15. package/dist/detectorLoader.d.ts +4 -0
  16. package/dist/detectorLoader.d.ts.map +1 -0
  17. package/dist/detectorLoader.js.map +1 -0
  18. package/dist/index.d.ts +2 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/tests/customDetectBot.test.d.ts +2 -0
  22. package/dist/tests/customDetectBot.test.d.ts.map +1 -0
  23. package/dist/tests/customDetectBot.test.js +45 -0
  24. package/dist/tests/customDetectBot.test.js.map +1 -0
  25. package/dist/tests/customDetectBotSimd.test.d.ts +2 -0
  26. package/dist/tests/customDetectBotSimd.test.d.ts.map +1 -0
  27. package/dist/tests/customDetectBotSimd.test.js +106 -0
  28. package/dist/tests/customDetectBotSimd.test.js.map +1 -0
  29. package/package.json +17 -14
  30. package/src/ProcaptchaFrictionless.tsx +286 -0
  31. package/src/customDetectBot.ts +160 -0
  32. package/src/detectorLoader.ts +18 -0
  33. package/src/index.ts +14 -0
  34. package/src/tests/customDetectBot.test.ts +77 -0
  35. package/src/tests/customDetectBotSimd.test.ts +159 -0
  36. package/tsconfig.cjs.json +48 -0
  37. package/tsconfig.json +55 -0
  38. package/tsconfig.tsbuildinfo +1 -0
  39. package/tsconfig.types.json +9 -0
  40. package/vite.cjs.config.ts +1 -1
  41. package/vite.esm.config.ts +1 -1
  42. package/vite.test.config.ts +1 -1
@@ -1,5 +1,5 @@
1
1
 
2
- > @prosopo/procaptcha-frictionless@2.8.22 build:cjs
2
+ > @prosopo/procaptcha-frictionless@2.11.0 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -12,20 +12,19 @@ ViteCommonJSConfig: .
12
12
  '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
13
13
  '/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
14
14
  '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
15
+ '/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
15
16
  '/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
16
17
  '/home/runner/work/captcha/captcha/packages/api/tsconfig.json',
17
18
  '/home/runner/work/captcha/captcha/packages/procaptcha-common/tsconfig.json',
18
19
  '/home/runner/work/captcha/captcha/packages/widget-skeleton/tsconfig.json',
19
20
  '/home/runner/work/captcha/captcha/packages/account/tsconfig.json',
20
21
  '/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
22
+ '/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
21
23
  '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
24
+ '/home/runner/work/captcha/captcha/packages/procaptcha-puzzle/tsconfig.json',
22
25
  '/home/runner/work/captcha/captcha/packages/procaptcha-react/tsconfig.json',
23
26
  '/home/runner/work/captcha/captcha/packages/procaptcha/tsconfig.json',
24
- '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json',
25
- '/home/runner/work/captcha/captcha/packages/types-database/tsconfig.json',
26
- '/home/runner/work/captcha/captcha/packages/user-access-policy/tsconfig.json',
27
- '/home/runner/work/captcha/captcha/packages/api-route/tsconfig.json',
28
- '/home/runner/work/captcha/captcha/packages/redis-client/tsconfig.json'
27
+ '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json'
29
28
  ]
30
29
  }
31
30
  {
@@ -37,20 +36,19 @@ ViteCommonJSConfig: .
37
36
  '@prosopo/util-crypto',
38
37
  '@prosopo/load-balancer',
39
38
  '@prosopo/common',
39
+ '@prosopo/logger',
40
40
  '@prosopo/procaptcha-pow',
41
41
  '@prosopo/api',
42
42
  '@prosopo/procaptcha-common',
43
43
  '@prosopo/widget-skeleton',
44
44
  '@prosopo/account',
45
45
  '@prosopo/fingerprint',
46
+ '@prosopo/fingerprintjs',
46
47
  '@prosopo/keyring',
48
+ '@prosopo/procaptcha-puzzle',
47
49
  '@prosopo/procaptcha-react',
48
50
  '@prosopo/procaptcha',
49
- '@prosopo/datasets',
50
- '@prosopo/types-database',
51
- '@prosopo/user-access-policy',
52
- '@prosopo/api-route',
53
- '@prosopo/redis-client'
51
+ '@prosopo/datasets'
54
52
  ]
55
53
  }
56
54
  vite v6.4.1 building SSR bundle for production...
@@ -62,6 +60,6 @@ Build end
62
60
  rendering chunks...
63
61
  dist/cjs/index.cjs 0.24 kB
64
62
  dist/cjs/detectorLoader.cjs 1.37 kB
65
- dist/cjs/customDetectBot.cjs 2.11 kB
66
- dist/cjs/ProcaptchaFrictionless.cjs 4.98 kB
67
- ✓ built in 143ms
63
+ dist/cjs/customDetectBot.cjs 3.44 kB
64
+ dist/cjs/ProcaptchaFrictionless.cjs 7.87 kB
65
+ ✓ built in 121ms
@@ -0,0 +1,74 @@
1
+
2
+ > @prosopo/procaptcha-frictionless@2.11.0 build:tsc
3
+ > tsc --build --verbose
4
+
5
+ 8:15:16 AM - Projects in this build:
6
+ * ../../dev/config/tsconfig.json
7
+ * ../locale/tsconfig.json
8
+ * ../util/tsconfig.json
9
+ * ../util-crypto/tsconfig.json
10
+ * ../types/tsconfig.json
11
+ * ../detector/tsconfig.json
12
+ * ../logger/tsconfig.json
13
+ * ../common/tsconfig.json
14
+ * ../load-balancer/tsconfig.json
15
+ * ../api/tsconfig.json
16
+ * ../widget-skeleton/tsconfig.json
17
+ * ../fingerprintjs/tsconfig.json
18
+ * ../fingerprint/tsconfig.json
19
+ * ../keyring/tsconfig.json
20
+ * ../account/tsconfig.json
21
+ * ../procaptcha-common/tsconfig.json
22
+ * ../procaptcha-pow/tsconfig.json
23
+ * ../procaptcha-puzzle/tsconfig.json
24
+ * ../datasets/tsconfig.json
25
+ * ../procaptcha/tsconfig.json
26
+ * ../procaptcha-react/tsconfig.json
27
+ * tsconfig.json
28
+
29
+ 8:15:16 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
30
+
31
+ 8:15:16 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
32
+
33
+ 8:15:16 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
34
+
35
+ 8:15:16 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
36
+
37
+ 8:15:16 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/procaptcha/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
38
+
39
+ 8:15:16 AM - Project '../detector/tsconfig.json' is up to date because newest input '../detector/src/index.d.ts' is older than output '../detector/tsconfig.tsbuildinfo'
40
+
41
+ 8:15:16 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
42
+
43
+ 8:15:16 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/tsconfig.tsbuildinfo'
44
+
45
+ 8:15:16 AM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
46
+
47
+ 8:15:16 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
48
+
49
+ 8:15:16 AM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/webComponent/createWidget.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
50
+
51
+ 8:15:16 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/sources/webgl.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
52
+
53
+ 8:15:16 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
54
+
55
+ 8:15:16 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
56
+
57
+ 8:15:16 AM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/workers/cryptoWorker.ts' is older than output '../account/tsconfig.tsbuildinfo'
58
+
59
+ 8:15:16 AM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/reactComponents/Honeypot.tsx' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
60
+
61
+ 8:15:16 AM - Project '../procaptcha-pow/tsconfig.json' is up to date because newest input '../procaptcha-pow/src/index.ts' is older than output '../procaptcha-pow/tsconfig.tsbuildinfo'
62
+
63
+ 8:15:16 AM - Project '../procaptcha-puzzle/tsconfig.json' is up to date because newest input '../procaptcha-puzzle/src/index.ts' is older than output '../procaptcha-puzzle/tsconfig.tsbuildinfo'
64
+
65
+ 8:15:16 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/mocks/data/captchas.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
66
+
67
+ 8:15:16 AM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/index.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
68
+
69
+ 8:15:16 AM - Project '../procaptcha-react/tsconfig.json' is up to date because newest input '../procaptcha-react/src/index.ts' is older than output '../procaptcha-react/tsconfig.tsbuildinfo'
70
+
71
+ 8:15:16 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
72
+
73
+ 8:15:16 AM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-frictionless/tsconfig.json'...
74
+
@@ -1,6 +1,10 @@
1
1
 
2
- > @prosopo/procaptcha-frictionless@2.8.22 build
3
- > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV
2
+ > @prosopo/procaptcha-frictionless@2.11.0 build
3
+ > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
+
5
+
6
+ > @prosopo/procaptcha-frictionless@2.11.0 build:cross-env
7
+ > vite build --config vite.esm.config.ts --mode production
4
8
 
5
9
  ViteEsmConfig: .
6
10
  {
@@ -12,20 +16,19 @@ ViteEsmConfig: .
12
16
  '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
13
17
  '/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
14
18
  '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
19
+ '/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
15
20
  '/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
16
21
  '/home/runner/work/captcha/captcha/packages/api/tsconfig.json',
17
22
  '/home/runner/work/captcha/captcha/packages/procaptcha-common/tsconfig.json',
18
23
  '/home/runner/work/captcha/captcha/packages/widget-skeleton/tsconfig.json',
19
24
  '/home/runner/work/captcha/captcha/packages/account/tsconfig.json',
20
25
  '/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
26
+ '/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
21
27
  '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
28
+ '/home/runner/work/captcha/captcha/packages/procaptcha-puzzle/tsconfig.json',
22
29
  '/home/runner/work/captcha/captcha/packages/procaptcha-react/tsconfig.json',
23
30
  '/home/runner/work/captcha/captcha/packages/procaptcha/tsconfig.json',
24
- '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json',
25
- '/home/runner/work/captcha/captcha/packages/types-database/tsconfig.json',
26
- '/home/runner/work/captcha/captcha/packages/user-access-policy/tsconfig.json',
27
- '/home/runner/work/captcha/captcha/packages/api-route/tsconfig.json',
28
- '/home/runner/work/captcha/captcha/packages/redis-client/tsconfig.json'
31
+ '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json'
29
32
  ]
30
33
  }
31
34
  {
@@ -37,20 +40,19 @@ ViteEsmConfig: .
37
40
  '@prosopo/util-crypto',
38
41
  '@prosopo/load-balancer',
39
42
  '@prosopo/common',
43
+ '@prosopo/logger',
40
44
  '@prosopo/procaptcha-pow',
41
45
  '@prosopo/api',
42
46
  '@prosopo/procaptcha-common',
43
47
  '@prosopo/widget-skeleton',
44
48
  '@prosopo/account',
45
49
  '@prosopo/fingerprint',
50
+ '@prosopo/fingerprintjs',
46
51
  '@prosopo/keyring',
52
+ '@prosopo/procaptcha-puzzle',
47
53
  '@prosopo/procaptcha-react',
48
54
  '@prosopo/procaptcha',
49
- '@prosopo/datasets',
50
- '@prosopo/types-database',
51
- '@prosopo/user-access-policy',
52
- '@prosopo/api-route',
53
- '@prosopo/redis-client'
55
+ '@prosopo/datasets'
54
56
  ]
55
57
  }
56
58
  vite v6.4.1 building SSR bundle for production...
@@ -61,6 +63,6 @@ Build end
61
63
  rendering chunks...
62
64
  dist/index.js 0.11 kB
63
65
  dist/detectorLoader.js 0.11 kB
64
- dist/customDetectBot.js 1.93 kB
65
- dist/ProcaptchaFrictionless.js 4.74 kB
66
- ✓ built in 187ms
66
+ dist/customDetectBot.js 3.26 kB
67
+ dist/ProcaptchaFrictionless.js 6.48 kB
68
+ ✓ built in 242ms