@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.
@@ -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.85 kB │ gzip: 1.22 kB
93
- dist/cjs/commands/siteKeyRegister.cjs 4.22 kB │ gzip: 1.26 kB
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
   │ ╰─────── 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
  ────╯
104
104
  
105
- ✓ built in 53ms
105
+ ✓ built in 71ms
@@ -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.81 kB │ gzip: 1.23 kB
93
- dist/esm/commands/siteKeyRegister.js 4.10 kB │ gzip: 1.26 kB
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
- ✓ built in 84ms
97
+ ✓ built in 73ms
@@ -1,5 +1,5 @@
1
1
  $ tsc --build --verbose
2
- 7:07:19 PM - Projects in this build:
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/process.ts' is older than output '../locale/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/redisClient.ts' is older than output '../redis-client/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../database/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/index.ts' is older than output '../types-env/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/errorHandler.ts' is older than output '../api-express-router/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/errorSites.ts' is older than output '../datasets/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../icon-order-assets/tsconfig.json' is up to date because newest input '../icon-order-assets/src/background.ts' is older than output '../icon-order-assets/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/tests/productionProviderList.unit.test.ts' is older than output '../load-balancer/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - 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'
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
- 7:07:19 PM - Project '../web-bot-auth/tsconfig.json' is up to date because newest input '../web-bot-auth/src/base64.ts' is older than output '../web-bot-auth/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/util.ts' is older than output '../provider/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/projectInfo.ts' is older than output '../../dev/workspace/dist/tsc/tsconfig.tsbuildinfo'
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
- 7:07:19 PM - Project 'tsconfig.json' is out of date because output file 'dist/tsc/tsconfig.tsbuildinfo' does not exist
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
- 7:07:19 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
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