@prosopo/cli 3.8.3 → 3.8.5

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @prosopo/cli@3.8.3 build:cjs
2
+ > @prosopo/cli@3.8.5 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -24,6 +24,7 @@ ViteCommonJSConfig: .
24
24
  '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
25
25
  '/home/runner/work/captcha/captcha/packages/provider/tsconfig.json',
26
26
  '/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json',
27
+ '/home/runner/work/captcha/captcha/packages/captcha-severity/tsconfig.json',
27
28
  '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json',
28
29
  '/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
29
30
  '/home/runner/work/captcha/captcha/packages/puzzle-assets/tsconfig.json'
@@ -50,6 +51,7 @@ ViteCommonJSConfig: .
50
51
  '@prosopo/keyring',
51
52
  '@prosopo/provider',
52
53
  '@prosopo/api-express-router',
54
+ '@prosopo/captcha-severity',
53
55
  '@prosopo/datasets',
54
56
  '@prosopo/load-balancer',
55
57
  '@prosopo/puzzle-assets'
@@ -79,8 +81,8 @@ dist/cjs/reloader.cjs 1.87 kB │ gzip: 0.76 kB
79
81
  dist/cjs/commands/migrateAbuserScoreThreshold.cjs 2.17 kB │ gzip: 0.90 kB
80
82
  dist/cjs/argv.cjs 2.30 kB │ gzip: 0.66 kB
81
83
  dist/cjs/start.cjs 2.45 kB │ gzip: 0.84 kB
82
- dist/cjs/commands/siteKeyRegisterApi.cjs 3.54 kB │ gzip: 1.17 kB
83
- dist/cjs/commands/siteKeyRegister.cjs 4.01 kB │ gzip: 1.25 kB
84
+ dist/cjs/commands/siteKeyRegisterApi.cjs 3.70 kB │ gzip: 1.19 kB
85
+ dist/cjs/commands/siteKeyRegister.cjs 4.06 kB │ gzip: 1.22 kB
84
86
  dist/cjs/prosopo.config.cjs 4.58 kB │ gzip: 1.46 kB
85
87
  dist/cjs/RateLimiter.cjs 5.58 kB │ gzip: 0.89 kB
86
88
 
@@ -92,4 +94,4 @@ dist/cjs/RateLimiter.cjs 5.58 kB │ gzip: 0.89 kB
92
94
   │ ╰─────── 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`.
93
95
  ────╯
94
96
  
95
- ✓ built in 59ms
97
+ ✓ built in 70ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/cli@3.8.3 build:tsc
2
+ > @prosopo/cli@3.8.5 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 10:03:05 PM - Projects in this build:
5
+ 10:40:26 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -22,6 +22,7 @@
22
22
  * ../types-env/tsconfig.json
23
23
  * ../env/tsconfig.json
24
24
  * ../api-express-router/tsconfig.json
25
+ * ../captcha-severity/tsconfig.json
25
26
  * ../datasets/tsconfig.json
26
27
  * ../load-balancer/tsconfig.json
27
28
  * ../puzzle-assets/tsconfig.json
@@ -29,55 +30,57 @@
29
30
  * ../../dev/workspace/tsconfig.json
30
31
  * tsconfig.json
31
32
 
32
- 10:03:05 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/tsconfig.tsbuildinfo'
33
+ 10:40:26 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/vite/NodejsPolarsNativeFilePlugin.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
33
34
 
34
- 10:03:05 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
35
+ 10:40:26 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
35
36
 
36
- 10:03:05 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
37
+ 10:40:26 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
37
38
 
38
- 10:03:05 PM - 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'
39
+ 10:40:26 PM - 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'
39
40
 
40
- 10:03:05 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
41
+ 10:40:26 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
41
42
 
42
- 10:03:05 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
43
+ 10:40:26 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
43
44
 
44
- 10:03:05 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
45
+ 10:40:26 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/logger.ts' is older than output '../logger/tsconfig.tsbuildinfo'
45
46
 
46
- 10:03:05 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
47
+ 10:40:26 PM - 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'
47
48
 
48
- 10:03:05 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
49
+ 10:40:26 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
49
50
 
50
- 10:03:05 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/types.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
51
+ 10:40:26 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
51
52
 
52
- 10:03:05 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/tests/apiRoute.unit.test.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
53
+ 10:40:26 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/index.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
53
54
 
54
- 10:03:05 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
55
+ 10:40:26 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/index.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
55
56
 
56
- 10:03:05 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/tsconfig.tsbuildinfo'
57
+ 10:40:26 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/ruleRecord.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
57
58
 
58
- 10:03:05 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/index.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
59
+ 10:40:26 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/captcha.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
59
60
 
60
- 10:03:05 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
61
+ 10:40:26 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/redisCacheEscalation.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
61
62
 
62
- 10:03:05 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
63
+ 10:40:26 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/pair/decode.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
63
64
 
64
- 10:03:05 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/tests/typesEnv.test-d.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
65
+ 10:40:26 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/index.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
65
66
 
66
- 10:03:05 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/tsconfig.tsbuildinfo'
67
+ 10:40:26 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/tests/env.maintenance.unit.test.ts' is older than output '../env/tsconfig.tsbuildinfo'
67
68
 
68
- 10:03:05 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/tsconfig.tsbuildinfo'
69
+ 10:40:26 PM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/tests/unit/apiExpressRouterFactory.unit.test.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
69
70
 
70
- 10:03:05 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/dataset.unit.test.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
71
+ 10:40:26 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/tsconfig.tsbuildinfo'
71
72
 
72
- 10:03:05 PM - 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'
73
+ 10:40:26 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
73
74
 
74
- 10:03:05 PM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/tsconfig.tsbuildinfo'
75
+ 10:40:26 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/index.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
75
76
 
76
- 10:03:05 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/utils/normalizeRequestIp.ts' is older than output '../provider/tsconfig.tsbuildinfo'
77
+ 10:40:26 PM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/tsconfig.tsbuildinfo'
77
78
 
78
- 10:03:05 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/projectInfo.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
79
+ 10:40:26 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/utils/devicePlatform.ts' is older than output '../provider/tsconfig.tsbuildinfo'
79
80
 
80
- 10:03:05 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
81
+ 10:40:26 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/tests/projectInfo.unit.test.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
81
82
 
82
- 10:03:05 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
83
+ 10:40:26 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
84
+
85
+ 10:40:26 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
83
86
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/cli@3.8.3 build
2
+ > @prosopo/cli@3.8.5 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/cli@3.8.3 build:cross-env
6
+ > @prosopo/cli@3.8.5 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -28,6 +28,7 @@ ViteEsmConfig: .
28
28
  '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json',
29
29
  '/home/runner/work/captcha/captcha/packages/provider/tsconfig.json',
30
30
  '/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json',
31
+ '/home/runner/work/captcha/captcha/packages/captcha-severity/tsconfig.json',
31
32
  '/home/runner/work/captcha/captcha/packages/datasets/tsconfig.json',
32
33
  '/home/runner/work/captcha/captcha/packages/load-balancer/tsconfig.json',
33
34
  '/home/runner/work/captcha/captcha/packages/puzzle-assets/tsconfig.json'
@@ -54,6 +55,7 @@ ViteEsmConfig: .
54
55
  '@prosopo/keyring',
55
56
  '@prosopo/provider',
56
57
  '@prosopo/api-express-router',
58
+ '@prosopo/captcha-severity',
57
59
  '@prosopo/datasets',
58
60
  '@prosopo/load-balancer',
59
61
  '@prosopo/puzzle-assets'
@@ -83,9 +85,9 @@ dist/reloader.js 1.62 kB │ gzip: 0.69 kB
83
85
  dist/argv.js 1.98 kB │ gzip: 0.59 kB
84
86
  dist/commands/migrateAbuserScoreThreshold.js 2.11 kB │ gzip: 0.89 kB
85
87
  dist/start.js 2.23 kB │ gzip: 0.82 kB
86
- dist/commands/siteKeyRegisterApi.js 3.47 kB │ gzip: 1.17 kB
87
- dist/commands/siteKeyRegister.js 3.85 kB │ gzip: 1.25 kB
88
+ dist/commands/siteKeyRegisterApi.js 3.63 kB │ gzip: 1.19 kB
89
+ dist/commands/siteKeyRegister.js 3.91 kB │ gzip: 1.22 kB
88
90
  dist/prosopo.config.js 4.43 kB │ gzip: 1.47 kB
89
91
  dist/RateLimiter.js 5.16 kB │ gzip: 0.89 kB
90
92
 
91
- ✓ built in 64ms
93
+ ✓ built in 67ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,129 @@
1
1
  # @prosopo/cli
2
2
 
3
+ ## 3.8.5
4
+ ### Patch Changes
5
+
6
+ - 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
7
+
8
+ Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
9
+ 8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
10
+ 13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
11
+ `@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
12
+ `testcontainers` 11 -> 12. The rest are minor/patch.
13
+
14
+ Code changes the majors forced:
15
+ - `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
16
+ so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
17
+ `secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
18
+ `ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
19
+ - mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
20
+ `background: true` on schema indexes by default, and no longer declares
21
+ `id` on `Document`, which un-hid a mismatch between
22
+ `updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
23
+ filters on.
24
+ - mongoose 9 rejects an aggregation-pipeline update (an array) unless the
25
+ call passes `updatePipeline: true`, so the six pipeline writes in
26
+ `ProviderDatabase` now opt in explicitly.
27
+ - mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
28
+ `storeUserImageCaptchaSolution` passed its record straight in as the
29
+ update, and mongoose's `moveImmutableProperties` mutates that object on
30
+ an upsert -- adding the very `$setOnInsert` key the record then carried
31
+ into `CentralDbStreamer.streamImageRecord`. Image records stopped
32
+ reaching the central DB (the streamer is fire-and-forget, so it only
33
+ logged) and signup verification returned 500. The update is now an
34
+ explicit `$set` over a shallow copy.
35
+ - `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
36
+ mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
37
+ - `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
38
+ `@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
39
+ `@vitest/spy` and broke type inference in the provider test utils.
40
+ - 8a670d3: Remove the provider-side context validation path.
41
+
42
+ The provider read a per-context baseline out of `clientcontextentropies` on the frictionless path and compared a session's head hash against it. The task that wrote that collection was removed from the provider on 2026-08-21, so the read has returned `undefined` ever since and the branch has been dead in every deployment since then. Computing and applying the baseline now happens off-provider.
43
+
44
+ Removed: `contextAwareValidation.ts`, the decision-machine branch that used it, `getClientContextEntropy` on the provider and its database method, the `clientContextEntropy` table registration, the unused `getRoundsFromSimScore` helper, and the `contextAwareEnabled` parameter threaded into image verification — which logged and then did nothing, its return commented out.
45
+
46
+ Also removes the per-site `settings.contextAware` block that configured it, along with `ContextAwareSchema`, `IContextAware`, `IContexts`, `ContextConfigSchema`, `contextAwareThresholdDefault` and `expandContexts`, the legacy `default`/`webview` context keys and their helpers, and `FrictionlessReason.CONTEXT_AWARE_VALIDATION_FAILED`. The site-key registration CLI no longer writes a `contextAware` default into new sites.
47
+
48
+ `ContextType`, `contextTypeFromSession` and `deviceContextTypes` stay — the off-provider work keys on them. `ClientContextEntropyRecord` and its schema stay for the same reason; only the provider's use of them goes.
49
+
50
+ No behaviour change: every path removed here was already inert.
51
+ - Updated dependencies [7fd6eb2]
52
+ - Updated dependencies [424e467]
53
+ - Updated dependencies [89dd38a]
54
+ - Updated dependencies [4810cb3]
55
+ - Updated dependencies [80f73c1]
56
+ - Updated dependencies [3d2176d]
57
+ - Updated dependencies [8a670d3]
58
+ - @prosopo/provider@5.7.0
59
+ - @prosopo/workspace@3.2.1
60
+ - @prosopo/api@4.1.5
61
+ - @prosopo/common@3.1.53
62
+ - @prosopo/dotenv@3.0.54
63
+ - @prosopo/env@3.6.50
64
+ - @prosopo/keyring@2.9.84
65
+ - @prosopo/locale@3.4.1
66
+ - @prosopo/logger@2.0.8
67
+ - @prosopo/types@5.6.0
68
+ - @prosopo/util@3.3.8
69
+
70
+ ## 3.8.4
71
+ ### Patch Changes
72
+
73
+ - a62b994: Context-aware validation buckets by device type, not just webview.
74
+
75
+ Context-aware validation compares a session's head SimHash against a baseline
76
+ for its context. That context was `default | webview`, which puts a phone and
77
+ a desktop in the same bucket — and those two emit genuinely different
78
+ `<head>`s, so the blended baseline matches neither well. Contexts are now the
79
+ device family crossed with the webview flag: `desktop`, `desktop-webview`,
80
+ `mobile`, `mobile-webview`, `tablet`, `tablet-webview`.
81
+
82
+ `desktop-webview` is included deliberately. Desktop webviews are a real and
83
+ notably fraudulent population here (see the Twickets desktop-webview rules),
84
+ and folding them into the plain `desktop` baseline would let exactly the
85
+ traffic we want excluded define what "normal desktop" looks like.
86
+
87
+ **Classification.** `deviceTypeFromUserAgent` in `@prosopo/types` is a
88
+ dependency-free UA classifier, deliberately not ua-parser-js: this module is
89
+ imported by the browser bundles, and the off-provider entropy sweep has to
90
+ bucket stored sessions *identically* or it writes baselines the decision
91
+ machine never looks up. One shared function keeps the two sides in lockstep.
92
+ Tablets are matched before phones because an iPad's UA carries a
93
+ `Mobile/<build>` token and an Android tablet is exactly "Android without
94
+ Mobile". Known gap, documented at the call site: an iPadOS 13+ Safari in
95
+ desktop mode identifies as a Mac and lands in `desktop` — nothing in the UA
96
+ separates it from a real Mac, and both sides make the same call, which is
97
+ what matters for the lookup.
98
+
99
+ **Back-compat.** `default` and `webview` remain valid `ContextType` members,
100
+ so settings already stored against them keep parsing. `expandContexts` maps a
101
+ legacy `default` onto the three non-webview families and a legacy `webview`
102
+ onto the three webview families, at the threshold they were saved with; an
103
+ explicit device entry always wins over the legacy entry covering it. Nothing
104
+ downstream of settings parsing branches on the legacy keys, and no data
105
+ migration is required.
106
+
107
+ **Behaviour change.** A request whose context is not configured now skips
108
+ context validation instead of borrowing another context's baseline.
109
+ Previously, configuring a single context validated *every* request against it
110
+ — with six contexts that would measure desktop traffic against a tablet
111
+ baseline and reject real users wholesale. `isContextConfigured` is the new
112
+ guard; `determineContextType` now takes the raw request UA alongside the
113
+ webview flag.
114
+
115
+ New site-key registrations default to all six device contexts.
116
+ - a447afa: Per-sitekey `imageMinRounds` alongside the existing `imageMaxRounds`.
117
+
118
+ Every source of an image round count — access-policy rules, traffic-filter categories, routing machines, the staleness curve, and the provider's own heuristics — is now clamped into `[imageMinRounds, imageMaxRounds]` via `clampImageRounds`, so the sitekey's settings override its rules in both directions rather than only capping them. `imageMinRounds` defaults to 2, matching the floor that was previously hard-coded, so existing sitekeys are unaffected.
119
+ - Updated dependencies [a62b994]
120
+ - Updated dependencies [a447afa]
121
+ - @prosopo/types@5.5.3
122
+ - @prosopo/provider@5.6.4
123
+ - @prosopo/api@4.1.4
124
+ - @prosopo/env@3.6.49
125
+ - @prosopo/keyring@2.9.83
126
+
3
127
  ## 3.8.3
4
128
  ### Patch Changes
5
129