@prosopo/types-database 4.11.6 → 4.11.8
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/types-database@4.11.
|
|
2
|
+
> @prosopo/types-database@4.11.8 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,4 +46,4 @@ rendering chunks...
|
|
|
46
46
|
[2mdist/cjs/[22m[36mindex.cjs [39m[1m[2m 2.07 kB[22m[1m[22m
|
|
47
47
|
[2mdist/cjs/[22m[36mtypes/client.cjs [39m[1m[2m 6.27 kB[22m[1m[22m
|
|
48
48
|
[2mdist/cjs/[22m[36mtypes/provider.cjs [39m[1m[2m25.32 kB[22m[1m[22m
|
|
49
|
-
[32m✓ built in
|
|
49
|
+
[32m✓ built in 256ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/types-database@4.11.
|
|
2
|
+
> @prosopo/types-database@4.11.8 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
11:42:03 AM - 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
|
+
11:42:03 AM - 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'
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
11:42:03 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/useTranslation.ts' is older than output '../locale/tsconfig.tsbuildinfo'
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
11:42:03 AM - 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
|
+
11:42:03 AM - 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
|
+
11:42:03 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'
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
11:42:03 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/provider/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
11:42:03 AM - 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
|
+
11:42:03 AM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/apiRoutes.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
11:42:03 AM - 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
|
+
11:42:03 AM - 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
|
+
11:42:03 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/tsconfig.tsbuildinfo'
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
11:42:03 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
11:42:03 AM - 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@4.11.
|
|
2
|
+
> @prosopo/types-database@4.11.8 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/types-database@4.11.
|
|
6
|
+
> @prosopo/types-database@4.11.8 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
ViteEsmConfig: .
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @prosopo/types-database
|
|
2
2
|
|
|
3
|
+
## 4.11.8
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- 17bc76e: feat: switch handshake timings from milliseconds to microseconds
|
|
7
|
+
|
|
8
|
+
Milliseconds bucket fast handshakes (local proxies, same-DC clients) to 0/1 and destroy the distribution shape we need for proxy detection. `time.Now()` on Linux is ~1μs precise via vDSO — μs is the honest resolution ceiling.
|
|
9
|
+
|
|
10
|
+
Wire changes (must land together with the paired chaddy release):
|
|
11
|
+
|
|
12
|
+
- Headers consumed by `handshakeTimingMiddleware`: `x-tls-tcp-to-chello-ms` / `x-tls-chello-to-handshake-ms` → `x-tls-tcp-to-chello-us` / `x-tls-chello-to-handshake-us`.
|
|
13
|
+
- Request augmentation, `HandshakeTiming` fields, decision-machine input, `Session` shape (Zod + Mongoose schemas): `tcpToChelloMs` / `chelloToHandshakeMs` → `tcpToChelloUs` / `chelloToHandshakeUs`.
|
|
14
|
+
- New sessions in `captchastorage.sessions` will now write `tcpToChelloUs` / `chelloToHandshakeUs` in μs. Historical `*Ms` fields on existing session records remain as-is (not migrated) — analytics that read both must range-scan by field name.
|
|
15
|
+
|
|
16
|
+
Rollout: deploy paired chaddy image (emits `-Us` headers) simultaneously; the deploy-order window drops timing signal but no data corruption is possible (mismatched header names simply resolve to `undefined`).
|
|
17
|
+
- Updated dependencies [7d7e767]
|
|
18
|
+
- Updated dependencies [b3f351b]
|
|
19
|
+
- Updated dependencies [17bc76e]
|
|
20
|
+
- @prosopo/user-access-policy@3.12.0
|
|
21
|
+
- @prosopo/types@4.9.6
|
|
22
|
+
|
|
23
|
+
## 4.11.7
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [6cb3218]
|
|
27
|
+
- @prosopo/types@4.9.5
|
|
28
|
+
- @prosopo/user-access-policy@3.11.3
|
|
29
|
+
|
|
3
30
|
## 4.11.6
|
|
4
31
|
### Patch Changes
|
|
5
32
|
|
|
@@ -504,10 +504,10 @@ const SessionRecordSchema = new mongoose.Schema({
|
|
|
504
504
|
entropyWallClockOffsetMs: { type: Number, required: false },
|
|
505
505
|
entropyMathRandomFirst: { type: Number, required: false },
|
|
506
506
|
// Per-TLS-connection handshake timings forwarded by the chaddy Caddy
|
|
507
|
-
// plugin (X-TLS-TCP-To-Chello-
|
|
508
|
-
// See @prosopo/types Session.
|
|
509
|
-
|
|
510
|
-
|
|
507
|
+
// plugin (X-TLS-TCP-To-Chello-Us / X-TLS-Chello-To-Handshake-Us).
|
|
508
|
+
// See @prosopo/types Session.tcpToChelloUs for full semantics.
|
|
509
|
+
tcpToChelloUs: { type: Number, required: false },
|
|
510
|
+
chelloToHandshakeUs: { type: Number, required: false },
|
|
511
511
|
// DNS observation merge target. Populated by
|
|
512
512
|
// POST /v1/prosopo/provider/admin/dns/event from the dns-event
|
|
513
513
|
// sidecar (see types/provider/database.ts → Session.dnsEvent).
|
package/dist/types/provider.js
CHANGED
|
@@ -502,10 +502,10 @@ const SessionRecordSchema = new Schema({
|
|
|
502
502
|
entropyWallClockOffsetMs: { type: Number, required: false },
|
|
503
503
|
entropyMathRandomFirst: { type: Number, required: false },
|
|
504
504
|
// Per-TLS-connection handshake timings forwarded by the chaddy Caddy
|
|
505
|
-
// plugin (X-TLS-TCP-To-Chello-
|
|
506
|
-
// See @prosopo/types Session.
|
|
507
|
-
|
|
508
|
-
|
|
505
|
+
// plugin (X-TLS-TCP-To-Chello-Us / X-TLS-Chello-To-Handshake-Us).
|
|
506
|
+
// See @prosopo/types Session.tcpToChelloUs for full semantics.
|
|
507
|
+
tcpToChelloUs: { type: Number, required: false },
|
|
508
|
+
chelloToHandshakeUs: { type: Number, required: false },
|
|
509
509
|
// DNS observation merge target. Populated by
|
|
510
510
|
// POST /v1/prosopo/provider/admin/dns/event from the dns-event
|
|
511
511
|
// sidecar (see types/provider/database.ts → Session.dnsEvent).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/types-database",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.8",
|
|
4
4
|
"description": "Types for prosopo database",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@prosopo/common": "3.1.43",
|
|
40
40
|
"@prosopo/locale": "3.2.6",
|
|
41
41
|
"@prosopo/logger": "2.0.1",
|
|
42
|
-
"@prosopo/types": "4.9.
|
|
43
|
-
"@prosopo/user-access-policy": "3.
|
|
42
|
+
"@prosopo/types": "4.9.6",
|
|
43
|
+
"@prosopo/user-access-policy": "3.12.0",
|
|
44
44
|
"bson": "6.10.4",
|
|
45
45
|
"mongoose": "8.13.0",
|
|
46
46
|
"zod": "3.23.8"
|