@prosopo/types-database 5.3.3 → 5.3.4
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$tsc.log +15 -15
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +54 -0
- package/dist/cjs/types/client.cjs +9 -10
- package/dist/types/client.d.ts +3 -0
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/client.js +10 -11
- package/dist/types/client.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/types-database@5.3.
|
|
2
|
+
> @prosopo/types-database@5.3.4 build:cjs
|
|
3
3
|
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
4
|
|
|
5
5
|
ViteCommonJSConfig: .
|
|
@@ -46,7 +46,7 @@ dist/cjs/types/captcha.cjs 0.99 kB │ gzip: 0.27 kB
|
|
|
46
46
|
dist/cjs/_virtual/_rolldown/runtime.cjs 1.00 kB │ gzip: 0.50 kB
|
|
47
47
|
dist/cjs/types/index.cjs 2.42 kB │ gzip: 0.48 kB
|
|
48
48
|
dist/cjs/index.cjs 2.52 kB │ gzip: 0.53 kB
|
|
49
|
-
dist/cjs/types/client.cjs 7.
|
|
49
|
+
dist/cjs/types/client.cjs 7.36 kB │ gzip: 1.65 kB
|
|
50
50
|
dist/cjs/types/provider.cjs 28.61 kB │ gzip: 4.50 kB
|
|
51
51
|
|
|
52
|
-
[32m✓ built in
|
|
52
|
+
[32m✓ built in 41ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/types-database@5.3.
|
|
2
|
+
> @prosopo/types-database@5.3.4 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1:56:29 PM - Projects in this build:
|
|
6
6
|
* ../../dev/config/tsconfig.json
|
|
7
7
|
* ../locale/tsconfig.json
|
|
8
8
|
* ../util/tsconfig.json
|
|
@@ -16,29 +16,29 @@
|
|
|
16
16
|
* ../user-access-policy/tsconfig.json
|
|
17
17
|
* tsconfig.json
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
1:56:29 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'
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
1:56:29 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
1:56:29 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
1:56:29 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
1:56:29 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'
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
1:56:29 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
1:56:29 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
1:56:29 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'
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
1:56:29 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'
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
1:56:29 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
1:56:29 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/rule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
1:56:29 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
1:56:29 PM - Building project '/home/runner/work/captcha/captcha/packages/types-database/tsconfig.json'...
|
|
44
44
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/types-database@5.3.
|
|
2
|
+
> @prosopo/types-database@5.3.4 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/types-database@5.3.
|
|
6
|
+
> @prosopo/types-database@5.3.4 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
ViteEsmConfig: .
|
|
@@ -50,7 +50,7 @@ dist/types/spamEmailDomain.js 0.23 kB │ gzip: 0.17 kB
|
|
|
50
50
|
dist/types/captcha.js 0.82 kB │ gzip: 0.25 kB
|
|
51
51
|
dist/types/index.js 1.60 kB │ gzip: 0.38 kB
|
|
52
52
|
dist/index.js 1.67 kB │ gzip: 0.40 kB
|
|
53
|
-
dist/types/client.js 7.
|
|
53
|
+
dist/types/client.js 7.12 kB │ gzip: 1.64 kB
|
|
54
54
|
dist/types/provider.js 27.47 kB │ gzip: 4.47 kB
|
|
55
55
|
|
|
56
|
-
[32m✓ built in
|
|
56
|
+
[32m✓ built in 284ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# @prosopo/types-database
|
|
2
2
|
|
|
3
|
+
## 5.3.4
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- a62b994: Context-aware validation buckets by device type, not just webview.
|
|
7
|
+
|
|
8
|
+
Context-aware validation compares a session's head SimHash against a baseline
|
|
9
|
+
for its context. That context was `default | webview`, which puts a phone and
|
|
10
|
+
a desktop in the same bucket — and those two emit genuinely different
|
|
11
|
+
`<head>`s, so the blended baseline matches neither well. Contexts are now the
|
|
12
|
+
device family crossed with the webview flag: `desktop`, `desktop-webview`,
|
|
13
|
+
`mobile`, `mobile-webview`, `tablet`, `tablet-webview`.
|
|
14
|
+
|
|
15
|
+
`desktop-webview` is included deliberately. Desktop webviews are a real and
|
|
16
|
+
notably fraudulent population here (see the Twickets desktop-webview rules),
|
|
17
|
+
and folding them into the plain `desktop` baseline would let exactly the
|
|
18
|
+
traffic we want excluded define what "normal desktop" looks like.
|
|
19
|
+
|
|
20
|
+
**Classification.** `deviceTypeFromUserAgent` in `@prosopo/types` is a
|
|
21
|
+
dependency-free UA classifier, deliberately not ua-parser-js: this module is
|
|
22
|
+
imported by the browser bundles, and the off-provider entropy sweep has to
|
|
23
|
+
bucket stored sessions *identically* or it writes baselines the decision
|
|
24
|
+
machine never looks up. One shared function keeps the two sides in lockstep.
|
|
25
|
+
Tablets are matched before phones because an iPad's UA carries a
|
|
26
|
+
`Mobile/<build>` token and an Android tablet is exactly "Android without
|
|
27
|
+
Mobile". Known gap, documented at the call site: an iPadOS 13+ Safari in
|
|
28
|
+
desktop mode identifies as a Mac and lands in `desktop` — nothing in the UA
|
|
29
|
+
separates it from a real Mac, and both sides make the same call, which is
|
|
30
|
+
what matters for the lookup.
|
|
31
|
+
|
|
32
|
+
**Back-compat.** `default` and `webview` remain valid `ContextType` members,
|
|
33
|
+
so settings already stored against them keep parsing. `expandContexts` maps a
|
|
34
|
+
legacy `default` onto the three non-webview families and a legacy `webview`
|
|
35
|
+
onto the three webview families, at the threshold they were saved with; an
|
|
36
|
+
explicit device entry always wins over the legacy entry covering it. Nothing
|
|
37
|
+
downstream of settings parsing branches on the legacy keys, and no data
|
|
38
|
+
migration is required.
|
|
39
|
+
|
|
40
|
+
**Behaviour change.** A request whose context is not configured now skips
|
|
41
|
+
context validation instead of borrowing another context's baseline.
|
|
42
|
+
Previously, configuring a single context validated *every* request against it
|
|
43
|
+
— with six contexts that would measure desktop traffic against a tablet
|
|
44
|
+
baseline and reject real users wholesale. `isContextConfigured` is the new
|
|
45
|
+
guard; `determineContextType` now takes the raw request UA alongside the
|
|
46
|
+
webview flag.
|
|
47
|
+
|
|
48
|
+
New site-key registrations default to all six device contexts.
|
|
49
|
+
- a447afa: Per-sitekey `imageMinRounds` alongside the existing `imageMaxRounds`.
|
|
50
|
+
|
|
51
|
+
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.
|
|
52
|
+
- Updated dependencies [a62b994]
|
|
53
|
+
- Updated dependencies [a447afa]
|
|
54
|
+
- @prosopo/types@5.5.3
|
|
55
|
+
- @prosopo/user-access-policy@3.12.32
|
|
56
|
+
|
|
3
57
|
## 5.3.3
|
|
4
58
|
### Patch Changes
|
|
5
59
|
|
|
@@ -140,6 +140,11 @@ var UserSettingsSchema = new mongoose.Schema({
|
|
|
140
140
|
default: _prosopo_types.imageMaxRoundsDefault,
|
|
141
141
|
required: false
|
|
142
142
|
},
|
|
143
|
+
imageMinRounds: {
|
|
144
|
+
type: Number,
|
|
145
|
+
default: _prosopo_types.imageMinRoundsDefault,
|
|
146
|
+
required: false
|
|
147
|
+
},
|
|
143
148
|
puzzleTolerance: {
|
|
144
149
|
type: Number,
|
|
145
150
|
required: false
|
|
@@ -160,16 +165,10 @@ var UserSettingsSchema = new mongoose.Schema({
|
|
|
160
165
|
},
|
|
161
166
|
contexts: {
|
|
162
167
|
type: mongoose.default.Schema.Types.Mixed,
|
|
163
|
-
default: {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
[_prosopo_types.ContextType.Webview]: {
|
|
169
|
-
type: _prosopo_types.ContextType.Webview,
|
|
170
|
-
threshold: _prosopo_types.contextAwareThresholdDefault
|
|
171
|
-
}
|
|
172
|
-
}
|
|
168
|
+
default: Object.fromEntries(_prosopo_types.deviceContextTypes.map((type) => [type, {
|
|
169
|
+
type,
|
|
170
|
+
threshold: _prosopo_types.contextAwareThresholdDefault
|
|
171
|
+
}]))
|
|
173
172
|
}
|
|
174
173
|
},
|
|
175
174
|
spamEmailDomainCheckEnabled: {
|
package/dist/types/client.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export declare const UserSettingsSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
151
151
|
}> | null | undefined;
|
|
152
152
|
} | null | undefined;
|
|
153
153
|
imageMaxRounds?: number | null | undefined;
|
|
154
|
+
imageMinRounds?: number | null | undefined;
|
|
154
155
|
contextAware?: {
|
|
155
156
|
enabled: boolean;
|
|
156
157
|
contexts: any;
|
|
@@ -277,6 +278,7 @@ export declare const UserSettingsSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
277
278
|
}> | null | undefined;
|
|
278
279
|
} | null | undefined;
|
|
279
280
|
imageMaxRounds?: number | null | undefined;
|
|
281
|
+
imageMinRounds?: number | null | undefined;
|
|
280
282
|
contextAware?: {
|
|
281
283
|
enabled: boolean;
|
|
282
284
|
contexts: any;
|
|
@@ -403,6 +405,7 @@ export declare const UserSettingsSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
403
405
|
}> | null | undefined;
|
|
404
406
|
} | null | undefined;
|
|
405
407
|
imageMaxRounds?: number | null | undefined;
|
|
408
|
+
imageMinRounds?: number | null | undefined;
|
|
406
409
|
contextAware?: {
|
|
407
410
|
enabled: boolean;
|
|
408
411
|
contexts: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/types/client.ts"],"names":[],"mappings":"AAcA,OAAO,EACN,WAAW,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/types/client.ts"],"names":[],"mappings":"AAcA,OAAO,EACN,WAAW,EAGX,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,mBAAmB,EAmBnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,QAAQ,GAAG,SAAS,CAAC;AAE3D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmElC,CAAC;AAIH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBvC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,MAAM,CAAC;QAClB,MAAM,EAAE,OAAO,CAAC;KAChB,EAAE;kBACW,IAAI,EAAE;;;;;;;;;EAwCnB,CAAC;AAEH,oBAAY,UAAU;IACrB,QAAQ,aAAa;CACrB;AAED,MAAM,WAAW,eAAgB,SAAQ,SAAS;IACjD,SAAS,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;IAChC,iBAAiB,CAAC,kBAAkB,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;CAC1E"}
|
package/dist/types/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CaptchaType,
|
|
1
|
+
import { CaptchaType, DEFAULT_POW_CAPTCHA_SOLUTION_TIMEOUT, DEFAULT_POW_CAPTCHA_VERIFIED_TIMEOUT, TrafficFilterAction, abuseScoreThresholdDefault, abuseScoreThresholdExceedActionDefault, captchaTypeDefault, cityChangeActionDefault, contextAwareThresholdDefault, countryChangeActionDefault, deviceContextTypes, distanceExceedActionDefault, distanceThresholdKmDefault, domainsDefault, frictionlessThresholdDefault, frictionlessTypesDefault, imageMaxRoundsDefault, imageMinRoundsDefault, imageThresholdDefault, ispChangeActionDefault, powDifficultyDefault, requireAllConditionsDefault } from "@prosopo/types";
|
|
2
2
|
import mongoose, { Schema } from "mongoose";
|
|
3
3
|
//#region src/types/client.ts
|
|
4
4
|
var IPValidationRulesSchema = new Schema({
|
|
@@ -138,6 +138,11 @@ var UserSettingsSchema = new Schema({
|
|
|
138
138
|
default: imageMaxRoundsDefault,
|
|
139
139
|
required: false
|
|
140
140
|
},
|
|
141
|
+
imageMinRounds: {
|
|
142
|
+
type: Number,
|
|
143
|
+
default: imageMinRoundsDefault,
|
|
144
|
+
required: false
|
|
145
|
+
},
|
|
141
146
|
puzzleTolerance: {
|
|
142
147
|
type: Number,
|
|
143
148
|
required: false
|
|
@@ -158,16 +163,10 @@ var UserSettingsSchema = new Schema({
|
|
|
158
163
|
},
|
|
159
164
|
contexts: {
|
|
160
165
|
type: mongoose.Schema.Types.Mixed,
|
|
161
|
-
default: {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
},
|
|
166
|
-
[ContextType.Webview]: {
|
|
167
|
-
type: ContextType.Webview,
|
|
168
|
-
threshold: contextAwareThresholdDefault
|
|
169
|
-
}
|
|
170
|
-
}
|
|
166
|
+
default: Object.fromEntries(deviceContextTypes.map((type) => [type, {
|
|
167
|
+
type,
|
|
168
|
+
threshold: contextAwareThresholdDefault
|
|
169
|
+
}]))
|
|
171
170
|
}
|
|
172
171
|
},
|
|
173
172
|
spamEmailDomainCheckEnabled: {
|
package/dist/types/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/types/client.ts"],"names":[],"mappings":"AAcA,OAAO,EACN,WAAW,EACX,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/types/client.ts"],"names":[],"mappings":"AAcA,OAAO,EACN,WAAW,EACX,oCAAoC,EACpC,oCAAoC,EAIpC,mBAAmB,EACnB,0BAA0B,EAC1B,sCAAsC,EACtC,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,EAC5B,0BAA0B,EAC1B,kBAAkB,EAClB,2BAA2B,EAC3B,0BAA0B,EAC1B,cAAc,EACd,4BAA4B,EAC5B,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,2BAA2B,GAC3B,MAAM,gBAAgB,CAAC;AACxB,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAM5D,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,MAAM,CAAC;IACjD,OAAO,EAAE;QACR,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,IAAI;KACd;IACD,OA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;IACrB,mCAAqB,CAAA;AACtB,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/types-database",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"description": "Types for prosopo database",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@prosopo/common": "3.1.52",
|
|
41
41
|
"@prosopo/locale": "3.4.0",
|
|
42
42
|
"@prosopo/logger": "2.0.7",
|
|
43
|
-
"@prosopo/types": "5.5.
|
|
44
|
-
"@prosopo/user-access-policy": "3.12.
|
|
43
|
+
"@prosopo/types": "5.5.3",
|
|
44
|
+
"@prosopo/user-access-policy": "3.12.32",
|
|
45
45
|
"bson": "6.10.4",
|
|
46
46
|
"mongoose": "8.24.1",
|
|
47
47
|
"zod": "3.23.8"
|