@prosopo/cli 3.9.8 → 3.10.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 +3 -3
- package/.turbo/turbo-build$colon$esm.log +3 -3
- package/.turbo/turbo-build$colon$tsc.log +33 -33
- package/CHANGELOG.md +17 -0
- package/dist/bundle/provider.cli.bundle.js +7342 -7292
- package/dist/cjs/commands/siteKeyRegister.cjs +1 -0
- package/dist/cjs/commands/siteKeyRegisterApi.cjs +1 -0
- package/dist/esm/commands/siteKeyRegister.js +2 -1
- package/dist/esm/commands/siteKeyRegisterApi.js +2 -1
- package/dist/tsc/commands/siteKeyRegister.d.ts.map +1 -1
- package/dist/tsc/commands/siteKeyRegister.js +2 -1
- package/dist/tsc/commands/siteKeyRegister.js.map +1 -1
- package/dist/tsc/commands/siteKeyRegisterApi.d.ts.map +1 -1
- package/dist/tsc/commands/siteKeyRegisterApi.js +2 -1
- package/dist/tsc/commands/siteKeyRegisterApi.js.map +1 -1
- package/dist/types/commands/siteKeyRegister.d.ts.map +1 -1
- package/dist/types/commands/siteKeyRegisterApi.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -89,8 +89,8 @@ dist/cjs/commands/detectorPoolSet.cjs 2.01 kB │ gzip: 0.95 kB
|
|
|
89
89
|
dist/cjs/commands/migrateAbuserScoreThreshold.cjs 2.17 kB │ gzip: 0.90 kB
|
|
90
90
|
dist/cjs/start.cjs 2.45 kB │ gzip: 0.84 kB
|
|
91
91
|
dist/cjs/argv.cjs 2.45 kB │ gzip: 0.68 kB
|
|
92
|
-
dist/cjs/commands/siteKeyRegisterApi.cjs 3.
|
|
93
|
-
dist/cjs/commands/siteKeyRegister.cjs 4.
|
|
92
|
+
dist/cjs/commands/siteKeyRegisterApi.cjs 3.92 kB │ gzip: 1.24 kB
|
|
93
|
+
dist/cjs/commands/siteKeyRegister.cjs 4.29 kB │ gzip: 1.28 kB
|
|
94
94
|
dist/cjs/prosopo.config.cjs 4.63 kB │ gzip: 1.47 kB
|
|
95
95
|
dist/cjs/RateLimiter.cjs 7.05 kB │ gzip: 1.02 kB
|
|
96
96
|
|
|
@@ -102,4 +102,4 @@ dist/cjs/RateLimiter.cjs 7.05 kB │ gzip: 1.02 kB
|
|
|
102
102
|
[38;5;240m │[0m ╰─────── This `import.meta` will be replaced with an empty object (`{}`) automatically. If this is desired, you can suppress this warning by adding `transform.define: { 'import.meta': {} }`. If `import.meta` needs to be kept as-is, you need to set the output format to `esm`.
|
|
103
103
|
[38;5;246m────╯[0m
|
|
104
104
|
[39m
|
|
105
|
-
[32m✓ built in
|
|
105
|
+
[32m✓ built in 71ms[39m
|
|
@@ -89,9 +89,9 @@ dist/esm/commands/detectorPoolSet.js 1.97 kB │ gzip: 0.94 kB
|
|
|
89
89
|
dist/esm/commands/migrateAbuserScoreThreshold.js 2.11 kB │ gzip: 0.89 kB
|
|
90
90
|
dist/esm/argv.js 2.12 kB │ gzip: 0.62 kB
|
|
91
91
|
dist/esm/start.js 2.23 kB │ gzip: 0.82 kB
|
|
92
|
-
dist/esm/commands/siteKeyRegisterApi.js 3.
|
|
93
|
-
dist/esm/commands/siteKeyRegister.js 4.
|
|
92
|
+
dist/esm/commands/siteKeyRegisterApi.js 3.89 kB │ gzip: 1.25 kB
|
|
93
|
+
dist/esm/commands/siteKeyRegister.js 4.19 kB │ gzip: 1.29 kB
|
|
94
94
|
dist/esm/prosopo.config.js 4.49 kB │ gzip: 1.48 kB
|
|
95
95
|
dist/esm/RateLimiter.js 6.52 kB │ gzip: 1.02 kB
|
|
96
96
|
|
|
97
|
-
[32m✓ built in
|
|
97
|
+
[32m✓ built in 73ms[39m
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$ tsc --build --verbose
|
|
2
|
-
|
|
2
|
+
9:17:26 AM - Projects in this build:
|
|
3
3
|
* ../../dev/config/tsconfig.json
|
|
4
4
|
* ../util/tsconfig.json
|
|
5
5
|
* ../locale/tsconfig.json
|
|
@@ -32,67 +32,67 @@ $ tsc --build --verbose
|
|
|
32
32
|
* ../../dev/workspace/tsconfig.json
|
|
33
33
|
* tsconfig.json
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
9:17:26 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/dist/tsc/tsconfig.tsbuildinfo'
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
9:17:26 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/dist/tsc/tsconfig.tsbuildinfo'
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
9:17:26 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/dist/tsc/tsconfig.tsbuildinfo'
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
9:17:26 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/dist/tsc/tsconfig.tsbuildinfo'
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
9:17:26 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/dist/tsc/tsconfig.tsbuildinfo'
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
9:17:26 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/dist/tsc/tsconfig.tsbuildinfo'
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
9:17:26 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/errorSites.unit.test.ts' is older than output '../common/dist/tsc/tsconfig.tsbuildinfo'
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
9:17:26 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/dist/tsc/tsconfig.tsbuildinfo'
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
9:17:26 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/dist/tsc/tsconfig.tsbuildinfo'
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
9:17:26 AM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/index.ts' is older than output '../ipinfo/dist/tsc/tsconfig.tsbuildinfo'
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
9:17:26 AM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/index.ts' is older than output '../api-route/dist/tsc/tsconfig.tsbuildinfo'
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
9:17:26 AM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/dist/tsc/tsconfig.tsbuildinfo'
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
9:17:26 AM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/transformRule.ts' is older than output '../user-access-policy/dist/tsc/tsconfig.tsbuildinfo'
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
9:17:26 AM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/provider.ts' is older than output '../types-database/dist/tsc/tsconfig.tsbuildinfo'
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
9:17:26 AM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/dist/tsc/tsconfig.tsbuildinfo'
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
9:17:26 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/pair/decode.ts' is older than output '../keyring/dist/tsc/tsconfig.tsbuildinfo'
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
9:17:26 AM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/env.ts' is older than output '../types-env/dist/tsc/tsconfig.tsbuildinfo'
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
9:17:26 AM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/dist/tsc/tsconfig.tsbuildinfo'
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
9:17:26 AM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/middlewares/jwtReplayGuard.ts' is older than output '../api-express-router/dist/tsc/tsconfig.tsbuildinfo'
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
9:17:26 AM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/types.ts' is older than output '../puzzle-assets/dist/tsc/tsconfig.tsbuildinfo'
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
9:17:26 AM - Project '../audio-assets/tsconfig.json' is up to date because newest input '../audio-assets/src/distort.ts' is older than output '../audio-assets/dist/tsc/tsconfig.tsbuildinfo'
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
9:17:26 AM - Project '../captcha-severity/tsconfig.json' is up to date because newest input '../captcha-severity/src/index.test.ts' is older than output '../captcha-severity/dist/tsc/tsconfig.tsbuildinfo'
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
9:17:26 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/captcha.unit.test.ts' is older than output '../datasets/dist/tsc/tsconfig.tsbuildinfo'
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
9:17:26 AM - Project '../icon-order-assets/tsconfig.json' is up to date because newest input '../icon-order-assets/src/compose.ts' is older than output '../icon-order-assets/dist/tsc/tsconfig.tsbuildinfo'
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
9:17:26 AM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/dist/tsc/tsconfig.tsbuildinfo'
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
9:17:26 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/async.ts' is older than output '../fingerprintjs/dist/tsc/tsconfig.tsbuildinfo'
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
9:17:26 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.test.ts' is older than output '../fingerprint/dist/tsc/tsconfig.tsbuildinfo'
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
9:17:26 AM - Project '../web-bot-auth/tsconfig.json' is up to date because newest input '../web-bot-auth/src/verify.ts' is older than output '../web-bot-auth/dist/tsc/tsconfig.tsbuildinfo'
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
9:17:26 AM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/util.ts' is older than output '../provider/dist/tsc/tsconfig.tsbuildinfo'
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
9:17:27 AM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/index.ts' is older than output '../../dev/workspace/dist/tsc/tsconfig.tsbuildinfo'
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
9:17:27 AM - Project 'tsconfig.json' is out of date because output file 'dist/tsc/tsconfig.tsbuildinfo' does not exist
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
9:17:27 AM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
|
|
98
98
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @prosopo/cli
|
|
2
2
|
|
|
3
|
+
## 3.10.0
|
|
4
|
+
### Minor Changes
|
|
5
|
+
|
|
6
|
+
- 8bf0957: The IP lookup now reads a detector risk for the address (a number from 0 to 1, or nothing when there is no evidence) and keeps it on the lookup result, so it is saved with the session's IP info and written to the frictionless decision log next to the session's own bot score.
|
|
7
|
+
|
|
8
|
+
Sites get a new setting, `ipDetectorRiskWeight` (0 to 1, default 0). When it is above 0, the frictionless flow adds weight × risk to the bot score, capped at 1, before comparing it with the site's thresholds. It can only change which challenge is served; it never blocks. The amount added is recorded in the session's score components, and the log shows the score before and after. At the default of 0 nothing changes.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [8bf0957]
|
|
13
|
+
- @prosopo/types@5.22.0
|
|
14
|
+
- @prosopo/provider@5.25.0
|
|
15
|
+
- @prosopo/api@4.8.4
|
|
16
|
+
- @prosopo/common@3.3.2
|
|
17
|
+
- @prosopo/env@3.6.86
|
|
18
|
+
- @prosopo/keyring@2.10.17
|
|
19
|
+
|
|
3
20
|
## 3.9.8
|
|
4
21
|
### Patch Changes
|
|
5
22
|
|