@prosopo/procaptcha-frictionless 2.18.7 → 2.20.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.
- package/.turbo/turbo-build$colon$cjs.log +18 -17
- package/.turbo/turbo-build$colon$tsc.log +32 -29
- package/.turbo/turbo-build.log +19 -21
- package/CHANGELOG.md +87 -0
- package/LICENSE +201 -0
- package/dist/cjs/customDetectBot.cjs +6 -4
- package/dist/cjs/procaptchaFrictionless.cjs +79 -40
- package/dist/customDetectBot.d.ts.map +1 -1
- package/dist/customDetectBot.js +6 -4
- package/dist/customDetectBot.js.map +1 -1
- package/dist/procaptchaFrictionless.d.ts.map +1 -1
- package/dist/procaptchaFrictionless.js +80 -41
- package/dist/procaptchaFrictionless.js.map +1 -1
- package/dist/tests/clickWhileSolverLoads.test.d.ts +2 -0
- package/dist/tests/clickWhileSolverLoads.test.d.ts.map +1 -0
- package/dist/tests/clickWhileSolverLoads.test.js +93 -0
- package/dist/tests/clickWhileSolverLoads.test.js.map +1 -0
- package/dist/tests/procaptchaFrictionless.test.js +104 -1
- package/dist/tests/procaptchaFrictionless.test.js.map +1 -1
- package/dist/tests/sessionInvalidatedRemint.test.js +26 -0
- package/dist/tests/sessionInvalidatedRemint.test.js.map +1 -1
- package/dist/tests/startMode.test.d.ts +2 -0
- package/dist/tests/startMode.test.d.ts.map +1 -0
- package/dist/tests/{manualStart.test.js → startMode.test.js} +68 -1
- package/dist/tests/startMode.test.js.map +1 -0
- package/package.json +72 -69
- package/dist/tests/manualStart.test.d.ts +0 -2
- package/dist/tests/manualStart.test.d.ts.map +0 -1
- package/dist/tests/manualStart.test.js.map +0 -1
- package/src/authenticatedBadge.ts +0 -170
- package/src/customDetectBot.ts +0 -392
- package/src/detectorLoader.ts +0 -133
- package/src/detectorPrefetch.ts +0 -115
- package/src/frictionlessResultGuard.ts +0 -110
- package/src/index.ts +0 -15
- package/src/procaptchaFrictionless.ts +0 -626
- package/src/sessionInvalidatedRecovery.ts +0 -110
- package/src/tests/authenticatedBadge.unit.test.ts +0 -101
- package/src/tests/customDetectBot.test.ts +0 -77
- package/src/tests/customDetectBotAssignTimeout.test.ts +0 -185
- package/src/tests/customDetectBotSimd.test.ts +0 -173
- package/src/tests/detectorLoader.test.ts +0 -108
- package/src/tests/detectorPrefetch.test.ts +0 -114
- package/src/tests/escalationClientSession.test.ts +0 -216
- package/src/tests/escalationHandoff.integration.test.ts +0 -356
- package/src/tests/executeBeforeMount.test.ts +0 -233
- package/src/tests/frictionlessResultGuard.test.ts +0 -179
- package/src/tests/manualStart.test.ts +0 -391
- package/src/tests/procaptchaFrictionless.test.ts +0 -468
- package/src/tests/sessionInvalidatedRecovery.test.ts +0 -181
- package/src/tests/sessionInvalidatedRemint.test.ts +0 -272
- package/tsconfig.cjs.json +0 -41
- package/tsconfig.json +0 -49
- package/tsconfig.tsbuildinfo +0 -1
- package/tsconfig.types.json +0 -9
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
> @prosopo/procaptcha-frictionless@2.18.7 build:cjs
|
|
3
|
-
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
|
-
|
|
1
|
+
$ NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
5
2
|
ViteCommonJSConfig: .
|
|
6
3
|
{
|
|
7
4
|
tsConfigPaths: [
|
|
8
|
-
'/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
|
|
9
|
-
'/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
|
|
10
|
-
'/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
|
|
11
5
|
'/home/runner/work/captcha/captcha/packages/api/tsconfig.json',
|
|
12
6
|
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
7
|
+
'/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
|
|
8
|
+
'/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
|
|
13
9
|
'/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
|
|
14
10
|
'/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
|
|
15
11
|
'/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
|
|
16
|
-
'/home/runner/work/captcha/captcha/packages/
|
|
17
|
-
'/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
|
|
12
|
+
'/home/runner/work/captcha/captcha/packages/procaptcha-audio/tsconfig.json',
|
|
18
13
|
'/home/runner/work/captcha/captcha/packages/procaptcha-common/tsconfig.json',
|
|
19
14
|
'/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
|
|
20
15
|
'/home/runner/work/captcha/captcha/packages/widget-skeleton/tsconfig.json',
|
|
21
16
|
'/home/runner/work/captcha/captcha/packages/account/tsconfig.json',
|
|
17
|
+
'/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
|
|
18
|
+
'/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
|
|
22
19
|
'/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
|
|
20
|
+
'/home/runner/work/captcha/captcha/packages/procaptcha-icon-order/tsconfig.json',
|
|
21
|
+
'/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
|
|
23
22
|
'/home/runner/work/captcha/captcha/packages/procaptcha-puzzle/tsconfig.json',
|
|
24
23
|
'/home/runner/work/captcha/captcha/packages/procaptcha-react/tsconfig.json',
|
|
25
24
|
'/home/runner/work/captcha/captcha/packages/procaptcha/tsconfig.json',
|
|
@@ -28,21 +27,23 @@ ViteCommonJSConfig: .
|
|
|
28
27
|
}
|
|
29
28
|
{
|
|
30
29
|
externals: [
|
|
31
|
-
'@prosopo/locale',
|
|
32
|
-
'@prosopo/util',
|
|
33
|
-
'@prosopo/procaptcha-pow',
|
|
34
30
|
'@prosopo/api',
|
|
35
31
|
'@prosopo/types',
|
|
32
|
+
'@prosopo/locale',
|
|
33
|
+
'@prosopo/util',
|
|
36
34
|
'@prosopo/util-crypto',
|
|
37
35
|
'@prosopo/common',
|
|
38
36
|
'@prosopo/logger',
|
|
39
|
-
'@prosopo/
|
|
40
|
-
'@prosopo/fingerprintjs',
|
|
37
|
+
'@prosopo/procaptcha-audio',
|
|
41
38
|
'@prosopo/procaptcha-common',
|
|
42
39
|
'@prosopo/load-balancer',
|
|
43
40
|
'@prosopo/widget-skeleton',
|
|
44
41
|
'@prosopo/account',
|
|
42
|
+
'@prosopo/fingerprint',
|
|
43
|
+
'@prosopo/fingerprintjs',
|
|
45
44
|
'@prosopo/keyring',
|
|
45
|
+
'@prosopo/procaptcha-icon-order',
|
|
46
|
+
'@prosopo/procaptcha-pow',
|
|
46
47
|
'@prosopo/procaptcha-puzzle',
|
|
47
48
|
'@prosopo/procaptcha-react',
|
|
48
49
|
'@prosopo/procaptcha',
|
|
@@ -62,7 +63,7 @@ dist/cjs/sessionInvalidatedRecovery.cjs 2.50 kB │ gzip: 1.14 kB
|
|
|
62
63
|
dist/cjs/frictionlessResultGuard.cjs 2.75 kB │ gzip: 1.39 kB
|
|
63
64
|
dist/cjs/detectorPrefetch.cjs 2.97 kB │ gzip: 1.34 kB
|
|
64
65
|
dist/cjs/authenticatedBadge.cjs 3.16 kB │ gzip: 1.23 kB
|
|
65
|
-
dist/cjs/customDetectBot.cjs
|
|
66
|
-
dist/cjs/procaptchaFrictionless.cjs
|
|
66
|
+
dist/cjs/customDetectBot.cjs 6.09 kB │ gzip: 1.83 kB
|
|
67
|
+
dist/cjs/procaptchaFrictionless.cjs 13.27 kB │ gzip: 3.73 kB
|
|
67
68
|
|
|
68
|
-
[32m✓ built in
|
|
69
|
+
[32m✓ built in 38ms[39m
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> tsc --build --verbose
|
|
4
|
-
|
|
5
|
-
12:39:02 PM - Projects in this build:
|
|
1
|
+
$ tsc --build --verbose
|
|
2
|
+
10:12:09 AM - Projects in this build:
|
|
6
3
|
* ../../dev/config/tsconfig.json
|
|
7
4
|
* ../util/tsconfig.json
|
|
8
5
|
* ../locale/tsconfig.json
|
|
@@ -11,13 +8,15 @@
|
|
|
11
8
|
* ../api/tsconfig.json
|
|
12
9
|
* ../logger/tsconfig.json
|
|
13
10
|
* ../common/tsconfig.json
|
|
14
|
-
* ../fingerprintjs/tsconfig.json
|
|
15
|
-
* ../fingerprint/tsconfig.json
|
|
16
11
|
* ../load-balancer/tsconfig.json
|
|
17
12
|
* ../widget-skeleton/tsconfig.json
|
|
13
|
+
* ../fingerprintjs/tsconfig.json
|
|
14
|
+
* ../fingerprint/tsconfig.json
|
|
18
15
|
* ../keyring/tsconfig.json
|
|
19
16
|
* ../account/tsconfig.json
|
|
20
17
|
* ../procaptcha-common/tsconfig.json
|
|
18
|
+
* ../procaptcha-audio/tsconfig.json
|
|
19
|
+
* ../procaptcha-icon-order/tsconfig.json
|
|
21
20
|
* ../procaptcha-pow/tsconfig.json
|
|
22
21
|
* ../procaptcha-puzzle/tsconfig.json
|
|
23
22
|
* ../datasets/tsconfig.json
|
|
@@ -25,47 +24,51 @@
|
|
|
25
24
|
* ../procaptcha-react/tsconfig.json
|
|
26
25
|
* tsconfig.json
|
|
27
26
|
|
|
28
|
-
12:
|
|
27
|
+
10:12:09 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'
|
|
28
|
+
|
|
29
|
+
10:12:09 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/table.ts' is older than output '../util/tsconfig.tsbuildinfo'
|
|
30
|
+
|
|
31
|
+
10:12:09 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
|
|
29
32
|
|
|
30
|
-
12:
|
|
33
|
+
10:12:09 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'
|
|
31
34
|
|
|
32
|
-
12:
|
|
35
|
+
10:12:09 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
|
|
33
36
|
|
|
34
|
-
12:
|
|
37
|
+
10:12:09 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
|
|
35
38
|
|
|
36
|
-
12:
|
|
39
|
+
10:12:09 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
|
|
37
40
|
|
|
38
|
-
12:
|
|
41
|
+
10:12:09 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/utils/batches.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
|
|
39
42
|
|
|
40
|
-
12:
|
|
43
|
+
10:12:09 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'
|
|
41
44
|
|
|
42
|
-
12:
|
|
45
|
+
10:12:09 AM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/constants.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
|
|
43
46
|
|
|
44
|
-
12:
|
|
47
|
+
10:12:09 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/sources/session_storage.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
|
|
45
48
|
|
|
46
|
-
12:
|
|
49
|
+
10:12:09 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
|
|
47
50
|
|
|
48
|
-
12:
|
|
51
|
+
10:12:09 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
|
|
49
52
|
|
|
50
|
-
12:
|
|
53
|
+
10:12:09 AM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/index.ts' is older than output '../account/tsconfig.tsbuildinfo'
|
|
51
54
|
|
|
52
|
-
12:
|
|
55
|
+
10:12:09 AM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/tests/testModeBanner.unit.test.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
|
|
53
56
|
|
|
54
|
-
12:
|
|
57
|
+
10:12:10 AM - Project '../procaptcha-audio/tsconfig.json' is up to date because newest input '../procaptcha-audio/src/tests/domHarness.ts' is older than output '../procaptcha-audio/tsconfig.tsbuildinfo'
|
|
55
58
|
|
|
56
|
-
12:
|
|
59
|
+
10:12:10 AM - Project '../procaptcha-icon-order/tsconfig.json' is up to date because newest input '../procaptcha-icon-order/src/index.ts' is older than output '../procaptcha-icon-order/tsconfig.tsbuildinfo'
|
|
57
60
|
|
|
58
|
-
12:
|
|
61
|
+
10:12:10 AM - Project '../procaptcha-pow/tsconfig.json' is up to date because newest input '../procaptcha-pow/src/tests/manager.unit.test.ts' is older than output '../procaptcha-pow/tsconfig.tsbuildinfo'
|
|
59
62
|
|
|
60
|
-
12:
|
|
63
|
+
10:12:10 AM - Project '../procaptcha-puzzle/tsconfig.json' is up to date because newest input '../procaptcha-puzzle/src/tests/invisibleCanvasVisibility.unit.test.ts' is older than output '../procaptcha-puzzle/tsconfig.tsbuildinfo'
|
|
61
64
|
|
|
62
|
-
12:
|
|
65
|
+
10:12:10 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
|
|
63
66
|
|
|
64
|
-
12:
|
|
67
|
+
10:12:10 AM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/index.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
|
|
65
68
|
|
|
66
|
-
12:
|
|
69
|
+
10:12:10 AM - Project '../procaptcha-react/tsconfig.json' is up to date because newest input '../procaptcha-react/src/tests/captchaComponent.unit.test.ts' is older than output '../procaptcha-react/tsconfig.tsbuildinfo'
|
|
67
70
|
|
|
68
|
-
12:
|
|
71
|
+
10:12:10 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
69
72
|
|
|
70
|
-
12:
|
|
73
|
+
10:12:10 AM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-frictionless/tsconfig.json'...
|
|
71
74
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
> @prosopo/procaptcha-frictionless@2.18.7 build:cross-env
|
|
7
|
-
> vite build --config vite.esm.config.ts --mode production
|
|
8
|
-
|
|
1
|
+
$ pnpm run build:cross-env --mode ${NODE_ENV:-development}
|
|
2
|
+
$ vite build --config vite.esm.config.ts --mode production
|
|
9
3
|
ViteEsmConfig: .
|
|
10
4
|
{
|
|
11
5
|
tsConfigPaths: [
|
|
12
|
-
'/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
|
|
13
|
-
'/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
|
|
14
|
-
'/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
|
|
15
6
|
'/home/runner/work/captcha/captcha/packages/api/tsconfig.json',
|
|
16
7
|
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
8
|
+
'/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
|
|
9
|
+
'/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
|
|
17
10
|
'/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
|
|
18
11
|
'/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
|
|
19
12
|
'/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
|
|
20
|
-
'/home/runner/work/captcha/captcha/packages/
|
|
21
|
-
'/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
|
|
13
|
+
'/home/runner/work/captcha/captcha/packages/procaptcha-audio/tsconfig.json',
|
|
22
14
|
'/home/runner/work/captcha/captcha/packages/procaptcha-common/tsconfig.json',
|
|
23
15
|
'/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
|
|
24
16
|
'/home/runner/work/captcha/captcha/packages/widget-skeleton/tsconfig.json',
|
|
25
17
|
'/home/runner/work/captcha/captcha/packages/account/tsconfig.json',
|
|
18
|
+
'/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
|
|
19
|
+
'/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
|
|
26
20
|
'/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
|
|
21
|
+
'/home/runner/work/captcha/captcha/packages/procaptcha-icon-order/tsconfig.json',
|
|
22
|
+
'/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
|
|
27
23
|
'/home/runner/work/captcha/captcha/packages/procaptcha-puzzle/tsconfig.json',
|
|
28
24
|
'/home/runner/work/captcha/captcha/packages/procaptcha-react/tsconfig.json',
|
|
29
25
|
'/home/runner/work/captcha/captcha/packages/procaptcha/tsconfig.json',
|
|
@@ -32,21 +28,23 @@ ViteEsmConfig: .
|
|
|
32
28
|
}
|
|
33
29
|
{
|
|
34
30
|
externals: [
|
|
35
|
-
'@prosopo/locale',
|
|
36
|
-
'@prosopo/util',
|
|
37
|
-
'@prosopo/procaptcha-pow',
|
|
38
31
|
'@prosopo/api',
|
|
39
32
|
'@prosopo/types',
|
|
33
|
+
'@prosopo/locale',
|
|
34
|
+
'@prosopo/util',
|
|
40
35
|
'@prosopo/util-crypto',
|
|
41
36
|
'@prosopo/common',
|
|
42
37
|
'@prosopo/logger',
|
|
43
|
-
'@prosopo/
|
|
44
|
-
'@prosopo/fingerprintjs',
|
|
38
|
+
'@prosopo/procaptcha-audio',
|
|
45
39
|
'@prosopo/procaptcha-common',
|
|
46
40
|
'@prosopo/load-balancer',
|
|
47
41
|
'@prosopo/widget-skeleton',
|
|
48
42
|
'@prosopo/account',
|
|
43
|
+
'@prosopo/fingerprint',
|
|
44
|
+
'@prosopo/fingerprintjs',
|
|
49
45
|
'@prosopo/keyring',
|
|
46
|
+
'@prosopo/procaptcha-icon-order',
|
|
47
|
+
'@prosopo/procaptcha-pow',
|
|
50
48
|
'@prosopo/procaptcha-puzzle',
|
|
51
49
|
'@prosopo/procaptcha-react',
|
|
52
50
|
'@prosopo/procaptcha',
|
|
@@ -67,7 +65,7 @@ dist/sessionInvalidatedRecovery.js 2.41 kB │ gzip: 1.13 kB
|
|
|
67
65
|
dist/authenticatedBadge.js 2.68 kB │ gzip: 1.20 kB
|
|
68
66
|
dist/frictionlessResultGuard.js 2.68 kB │ gzip: 1.39 kB
|
|
69
67
|
dist/detectorPrefetch.js 2.85 kB │ gzip: 1.31 kB
|
|
70
|
-
dist/customDetectBot.js 5.
|
|
71
|
-
dist/procaptchaFrictionless.js
|
|
68
|
+
dist/customDetectBot.js 5.91 kB │ gzip: 1.80 kB
|
|
69
|
+
dist/procaptchaFrictionless.js 12.68 kB │ gzip: 3.70 kB
|
|
72
70
|
|
|
73
|
-
[32m✓ built in
|
|
71
|
+
[32m✓ built in 39ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,92 @@
|
|
|
1
1
|
# @prosopo/procaptcha-frictionless
|
|
2
2
|
|
|
3
|
+
## 2.20.0
|
|
4
|
+
### Minor Changes
|
|
5
|
+
|
|
6
|
+
- b299a91: An audio challenge, offered only as an accessibility alternative, like reCAPTCHA's audio option. The user hears a short sequence of spoken digits and types them in.
|
|
7
|
+
|
|
8
|
+
It is off by default and needs two switches. Prosopo has to turn on the `captchaTypeFeatureFlags.audio` feature flag for the site, which the site owner cannot do, and the site owner has to set `audioAccessibilityEnabled`. When both are on, image, puzzle and icon-order challenges show a "Use audio instead" button. Pressing it swaps the visual challenge for the audio one. After a wrong answer the user stays on audio and gets a fresh clip.
|
|
9
|
+
|
|
10
|
+
Audio is never a captcha type that can be selected or routed to. A site's `captchaType`, traffic-filter categories, Restrict rules and the site-key CLI all reject it, and routing, PoW escalation and the severity tiers leave it out. The provider only serves audio against the visual session the user was already given, and only on a site with both switches on; any other audio request is refused before the session is used up, and a request without a session is always refused.
|
|
11
|
+
|
|
12
|
+
The spoken digits are synthesised by `@prosopo/audio-assets`, so there is no recorded set of clips to collect. The answer never leaves the provider, and a challenge can be submitted and verified only once, even under concurrent requests. `@prosopo/procaptcha-audio` is the widget. It and the "Use audio instead" button are built on the shared widget code in `@prosopo/procaptcha-common`, and the provider side is built on the shared interactive-captcha code that puzzle and icon-order use.
|
|
13
|
+
|
|
14
|
+
The demo playground has audio pages, and there is an end-to-end test for it.
|
|
15
|
+
- e13d7a8: New captcha type: `iconOrder`. The user is shown a frame of icons and a legend, and clicks the legend's icons in the order given.
|
|
16
|
+
|
|
17
|
+
Icon-order is off by default. Only Prosopo can switch it on for a site, with the `captchaTypeFeatureFlags.iconOrder` feature flag; the site owner cannot. A site without the flag is never served icon-order by any route, and the challenge endpoint refuses it. Once the flag is on, the owner can still keep icon-order out of the frictionless flow with `frictionlessTypes.iconOrder`, the same way as image and puzzle.
|
|
18
|
+
|
|
19
|
+
The answer never leaves the provider. Icon positions are stored on the challenge record, and the widget receives only the rendered frame and legend. Grading checks order as well as position, and each icon's hit radius scales with its size. Verifying a token is single-use under concurrent requests.
|
|
20
|
+
|
|
21
|
+
`@prosopo/icon-order-assets` draws the imagery, and `@prosopo/procaptcha-icon-order` is the widget. Its text is translated into every supported language.
|
|
22
|
+
|
|
23
|
+
Puzzle and icon-order now share their server code: challenge and solution handlers, the verify route, the submit and verify pipeline, and the database record methods. The widget code they have in common moves into `@prosopo/procaptcha-common`: the lazy mount wrapper, manager expiry and dispose, spent-session handling, behavioural data encryption and trusted click coordinates. Puzzle's behaviour is unchanged.
|
|
24
|
+
|
|
25
|
+
The demo playground has icon-order pages, and there is an end-to-end test for it.
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- bdac756: The checkbox can be clicked as soon as the widget appears, instead of spinning until bot detection has finished.
|
|
30
|
+
|
|
31
|
+
Detection downloads and runs a detector bundle before the widget knows which challenge to show, which took around three seconds on staging. The checkbox used to sit in its loading state for all of that. Now it is live from the first paint. A click made while detection is still running switches the box to "Checking", is remembered along with where the user clicked, and is replayed on whichever challenge detection picks, so the user never has to click twice.
|
|
32
|
+
|
|
33
|
+
This includes a click made after detection has answered but while the chosen challenge's code is still downloading. That click was being dropped, because the widget checked for a held click before the download rather than after it.
|
|
34
|
+
|
|
35
|
+
It also includes a click whose press begins on the placeholder just as the challenge is ready. Swapping the box out mid-press made the browser deliver the click to neither box, so the swap now waits, for up to a second, for the press to finish.
|
|
36
|
+
|
|
37
|
+
Nothing about what a token needs has changed: no challenge opens and no token is issued until detection has produced a verdict, so clicking early does not let a bot skip it. Synthetic clicks are still ignored, and a detection failure still falls back the same way it did before.
|
|
38
|
+
|
|
39
|
+
Tests: the checkbox is live while detection is pending; a click during detection shows the spinner and opens the chosen challenge with the click position once detection lands; a keyboard activation is held the same way; a synthetic click is ignored. `manualStart.test.ts` is renamed `startMode.test.ts`, since it now covers both start modes.
|
|
40
|
+
|
|
41
|
+
The e2e `clickIAmHuman` helper now waits on `/captcha/image` rather than any `/captcha/*` request. Cypress now clicks the checkbox before `/frictionless` has answered, so the broad pattern was catching that response instead of the image challenge.
|
|
42
|
+
|
|
43
|
+
The e2e checkbox helpers also click straight off a fresh query, rather than through a wrapped element. The widget swaps its placeholder checkbox for the challenge's own once detection answers, and a wrapped element that has left the page reports a (0, 0) position, so the click landed on the page corner.
|
|
44
|
+
- Updated dependencies [b299a91]
|
|
45
|
+
- Updated dependencies [e13d7a8]
|
|
46
|
+
- Updated dependencies [270395d]
|
|
47
|
+
- @prosopo/types@5.14.0
|
|
48
|
+
- @prosopo/api@4.5.0
|
|
49
|
+
- @prosopo/procaptcha-audio@0.2.0
|
|
50
|
+
- @prosopo/procaptcha-common@2.20.0
|
|
51
|
+
- @prosopo/procaptcha-react@2.14.0
|
|
52
|
+
- @prosopo/procaptcha-puzzle@2.16.0
|
|
53
|
+
- @prosopo/procaptcha-icon-order@0.2.0
|
|
54
|
+
- @prosopo/locale@3.8.0
|
|
55
|
+
- @prosopo/common@3.1.63
|
|
56
|
+
- @prosopo/procaptcha-pow@2.13.9
|
|
57
|
+
|
|
58
|
+
## 2.19.0
|
|
59
|
+
### Minor Changes
|
|
60
|
+
|
|
61
|
+
- dcb691b: Add a refresh control to the puzzle captcha.
|
|
62
|
+
|
|
63
|
+
A user who can't solve the puzzle they were given can now ask for a different one, from a button in the puzzle's header. The replacement comes through a new frictionless session, like a wrong answer already does.
|
|
64
|
+
|
|
65
|
+
The widget tells the provider which session was refreshed (`refreshOf`). The provider then records `refreshOf`, `refreshCount` and `refreshedAfterMs` on the new session, so refresh behaviour can be scored later. After three refreshes in a row it serves an image challenge instead, with reason `PUZZLE_REFRESH_LIMIT`. It only does this if the site has image enabled. The switch only goes from puzzle to image, so a client that lies about its refreshes can only make its own challenge harder. A client that leaves the field out gets a normal session, the same as reloading the page.
|
|
66
|
+
|
|
67
|
+
The image widget's reload button now reports itself as a refresh too. That way a user who was moved onto image isn't sent back to the puzzle by their next reload.
|
|
68
|
+
|
|
69
|
+
### Patch Changes
|
|
70
|
+
|
|
71
|
+
- Updated dependencies [1c13037]
|
|
72
|
+
- Updated dependencies [2e69b83]
|
|
73
|
+
- Updated dependencies [4669e64]
|
|
74
|
+
- Updated dependencies [2e69b83]
|
|
75
|
+
- Updated dependencies [f961dab]
|
|
76
|
+
- Updated dependencies [7d57d2a]
|
|
77
|
+
- Updated dependencies [dcb691b]
|
|
78
|
+
- Updated dependencies [80b7780]
|
|
79
|
+
- Updated dependencies [dd4c27c]
|
|
80
|
+
- @prosopo/types@5.13.0
|
|
81
|
+
- @prosopo/procaptcha-react@2.13.7
|
|
82
|
+
- @prosopo/procaptcha-common@2.19.0
|
|
83
|
+
- @prosopo/procaptcha-puzzle@2.15.0
|
|
84
|
+
- @prosopo/api@4.4.0
|
|
85
|
+
- @prosopo/locale@3.7.0
|
|
86
|
+
- @prosopo/common@3.1.62
|
|
87
|
+
- @prosopo/procaptcha-pow@2.13.8
|
|
88
|
+
- @prosopo/widget-skeleton@2.10.1
|
|
89
|
+
|
|
3
90
|
## 2.18.7
|
|
4
91
|
### Patch Changes
|
|
5
92
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2022 PROSOPO LIMITED
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -64,7 +64,7 @@ var withTimeout = async (promise, ms) => {
|
|
|
64
64
|
throw error;
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
|
-
var customDetectBot = async (config, container, restartFn, retryContext) => {
|
|
67
|
+
var customDetectBot = async (config, container, restartFn, retryContext, refreshOf) => {
|
|
68
68
|
if (!config.account.address) throw new _prosopo_common.ProsopoEnvError("GENERAL.SITE_KEY_MISSING");
|
|
69
69
|
const ipMode = (0, _prosopo_procaptcha_common.pickIpMode)(config);
|
|
70
70
|
const extClassPromise = (0, _prosopo_procaptcha_common.ExtensionLoader)(config.web2);
|
|
@@ -98,7 +98,7 @@ var customDetectBot = async (config, container, restartFn, retryContext) => {
|
|
|
98
98
|
if (providerDetect === void 0) {
|
|
99
99
|
const userAccount = await ext.getAccount(config);
|
|
100
100
|
const { currentUrl: fallbackUrl, iframeUrl: fallbackIframeUrl } = getCurrentPageUrls();
|
|
101
|
-
const captcha = await withTimeout(providerApi.getFrictionlessCaptcha(void 0, void 0, config.account.address, userAccount.account.address, config.mode, void 0, void 0, fallbackUrl, fallbackIframeUrl, clientSessionId), 1e4);
|
|
101
|
+
const captcha = await withTimeout(providerApi.getFrictionlessCaptcha(void 0, void 0, config.account.address, userAccount.account.address, config.mode, void 0, void 0, fallbackUrl, fallbackIframeUrl, clientSessionId, refreshOf), 1e4);
|
|
102
102
|
if (captcha.dns_url) try {
|
|
103
103
|
fetch(captcha.dns_url, {
|
|
104
104
|
method: "GET",
|
|
@@ -116,13 +116,14 @@ var customDetectBot = async (config, container, restartFn, retryContext) => {
|
|
|
116
116
|
userAccount,
|
|
117
117
|
error: captcha.error,
|
|
118
118
|
hp: captcha.hp,
|
|
119
|
-
agent: captcha.agent
|
|
119
|
+
agent: captcha.agent,
|
|
120
|
+
audioAlternativeAvailable: captcha.audioAlternativeAvailable
|
|
120
121
|
};
|
|
121
122
|
}
|
|
122
123
|
const detectionResult = await providerDetect(container, restartFn, () => ext.getAccount(config), detectorOptions);
|
|
123
124
|
const userAccount = detectionResult.userAccount;
|
|
124
125
|
const { currentUrl, iframeUrl } = getCurrentPageUrls();
|
|
125
|
-
const captchaPromise = providerApi.getFrictionlessCaptcha(detectionResult.token, detectionResult.encryptHeadHash, config.account.address, userAccount.account.address, config.mode, void 0, detectorSessionId, currentUrl, iframeUrl, clientSessionId);
|
|
126
|
+
const captchaPromise = providerApi.getFrictionlessCaptcha(detectionResult.token, detectionResult.encryptHeadHash, config.account.address, userAccount.account.address, config.mode, void 0, detectorSessionId, currentUrl, iframeUrl, clientSessionId, refreshOf);
|
|
126
127
|
if (detectionResult.getSimdReadings) detectionResult.getSimdReadings(6e4).catch(() => void 0);
|
|
127
128
|
const captcha = await withTimeout(captchaPromise, 1e4);
|
|
128
129
|
if (captcha.dns_url) try {
|
|
@@ -143,6 +144,7 @@ var customDetectBot = async (config, container, restartFn, retryContext) => {
|
|
|
143
144
|
error: captcha.error,
|
|
144
145
|
hp: captcha.hp,
|
|
145
146
|
agent: captcha.agent,
|
|
147
|
+
audioAlternativeAvailable: captcha.audioAlternativeAvailable,
|
|
146
148
|
behaviorCollector1: detectionResult.mouseTracker,
|
|
147
149
|
behaviorCollector2: detectionResult.touchTracker,
|
|
148
150
|
behaviorCollector3: detectionResult.clickTracker,
|