@prosopo/database 3.13.9 → 3.13.10
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 +2 -2
- package/.turbo/turbo-build$colon$tsc.log +16 -16
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +10 -0
- package/dist/tests/integration/centralStreamingEnrichment.integration.test.d.ts +2 -0
- package/dist/tests/integration/centralStreamingEnrichment.integration.test.d.ts.map +1 -0
- package/dist/tests/integration/centralStreamingEnrichment.integration.test.js +121 -0
- package/dist/tests/integration/centralStreamingEnrichment.integration.test.js.map +1 -0
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/database@3.13.
|
|
2
|
+
> @prosopo/database@3.13.10 build:cjs
|
|
3
3
|
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
4
|
|
|
5
5
|
ViteCommonJSConfig: .
|
|
@@ -49,4 +49,4 @@ rendering chunks...
|
|
|
49
49
|
[2mdist/cjs/[22m[36mdatabases/captcha.cjs [39m[1m[2m 5.87 kB[22m[1m[22m
|
|
50
50
|
[2mdist/cjs/[22m[36mredisCache.cjs [39m[1m[2m12.40 kB[22m[1m[22m
|
|
51
51
|
[2mdist/cjs/[22m[36mdatabases/provider.cjs [39m[1m[2m62.82 kB[22m[1m[22m
|
|
52
|
-
[32m✓ built in
|
|
52
|
+
[32m✓ built in 504ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/database@3.13.
|
|
2
|
+
> @prosopo/database@3.13.10 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
5:56:19 PM - Projects in this build:
|
|
6
6
|
* ../../dev/config/tsconfig.json
|
|
7
7
|
* ../locale/tsconfig.json
|
|
8
8
|
* ../util/tsconfig.json
|
|
@@ -17,31 +17,31 @@
|
|
|
17
17
|
* ../types-database/tsconfig.json
|
|
18
18
|
* tsconfig.json
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
5:56: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/tsconfig.tsbuildinfo'
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
5:56:19 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
5:56:19 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
5:56:19 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
5:56: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/tsconfig.tsbuildinfo'
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
5:56:19 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/provider/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
5:56:19 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
5:56: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/tsconfig.tsbuildinfo'
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
5:56:20 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'
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
5:56:20 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
5:56:20 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'
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
5:56:20 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'
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
5:56:20 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
5:56:20 PM - Building project '/home/runner/work/captcha/captcha/packages/database/tsconfig.json'...
|
|
47
47
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/database@3.13.
|
|
2
|
+
> @prosopo/database@3.13.10 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/database@3.13.
|
|
6
|
+
> @prosopo/database@3.13.10 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
ViteEsmConfig: .
|
|
@@ -53,4 +53,4 @@ rendering chunks...
|
|
|
53
53
|
[2mdist/[22m[36mdatabases/captcha.js [39m[1m[2m 5.45 kB[22m[1m[22m
|
|
54
54
|
[2mdist/[22m[36mredisCache.js [39m[1m[2m12.30 kB[22m[1m[22m
|
|
55
55
|
[2mdist/[22m[36mdatabases/provider.js [39m[1m[2m62.61 kB[22m[1m[22m
|
|
56
|
-
[32m✓ built in
|
|
56
|
+
[32m✓ built in 456ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @prosopo/database
|
|
2
2
|
|
|
3
|
+
## 3.13.10
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [2972def]
|
|
7
|
+
- Updated dependencies [bc3813d]
|
|
8
|
+
- Updated dependencies [4d05e3f]
|
|
9
|
+
- @prosopo/types-database@4.9.0
|
|
10
|
+
- @prosopo/types@4.4.0
|
|
11
|
+
- @prosopo/user-access-policy@3.8.1
|
|
12
|
+
|
|
3
13
|
## 3.13.9
|
|
4
14
|
### Patch Changes
|
|
5
15
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralStreamingEnrichment.integration.test.d.ts","sourceRoot":"","sources":["../../../src/tests/integration/centralStreamingEnrichment.integration.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { LogLevel, getLogger } from "@prosopo/logger";
|
|
2
|
+
import { CaptchaStatus, IpAddressType, UserCommitmentSchema, } from "@prosopo/types";
|
|
3
|
+
import { UserCommitmentRecordSchema, } from "@prosopo/types-database";
|
|
4
|
+
import { MongoMemoryServer } from "mongodb-memory-server";
|
|
5
|
+
import { afterAll, beforeAll, describe, expect, it } from "vitest";
|
|
6
|
+
import { CentralDbStreamer } from "../../databases/centralDbStreamer.js";
|
|
7
|
+
const logger = getLogger(LogLevel.enum.error, "centralStreamingEnrichment.test");
|
|
8
|
+
const ipv4Composite = (lower) => ({
|
|
9
|
+
lower,
|
|
10
|
+
type: IpAddressType.v4,
|
|
11
|
+
});
|
|
12
|
+
const validIpInfo = {
|
|
13
|
+
ip: "203.0.113.7",
|
|
14
|
+
isValid: true,
|
|
15
|
+
isVPN: false,
|
|
16
|
+
isTor: false,
|
|
17
|
+
isProxy: false,
|
|
18
|
+
isDatacenter: false,
|
|
19
|
+
isAbuser: false,
|
|
20
|
+
isMobile: false,
|
|
21
|
+
isSatellite: false,
|
|
22
|
+
isCrawler: false,
|
|
23
|
+
countryCode: "GB",
|
|
24
|
+
asnNumber: 64500,
|
|
25
|
+
abuserScore: 0.01,
|
|
26
|
+
companyAbuserScore: 0.01,
|
|
27
|
+
};
|
|
28
|
+
const parsedUserAgentInfo = {
|
|
29
|
+
ua: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36",
|
|
30
|
+
browser: {
|
|
31
|
+
name: "Chrome",
|
|
32
|
+
version: "148.0.0.0",
|
|
33
|
+
major: "148",
|
|
34
|
+
},
|
|
35
|
+
cpu: { architecture: "amd64" },
|
|
36
|
+
device: {},
|
|
37
|
+
engine: { name: "Blink", version: "148.0.0.0" },
|
|
38
|
+
os: { name: "Windows", version: "10" },
|
|
39
|
+
};
|
|
40
|
+
const buildCommit = (id) => ({
|
|
41
|
+
id,
|
|
42
|
+
userAccount: "userTest",
|
|
43
|
+
dappAccount: "dappTest",
|
|
44
|
+
providerAccount: "providerTest",
|
|
45
|
+
datasetId: "datasetTest",
|
|
46
|
+
result: { status: CaptchaStatus.approved },
|
|
47
|
+
userSignature: "0xsig",
|
|
48
|
+
ipAddress: ipv4Composite(3405803783n),
|
|
49
|
+
providedIp: ipv4Composite(3405803783n),
|
|
50
|
+
headers: { host: "pronode-test.local" },
|
|
51
|
+
ja4: "t13d1516h2_test_abcdef",
|
|
52
|
+
userSubmitted: true,
|
|
53
|
+
serverChecked: true,
|
|
54
|
+
requestedAtTimestamp: new Date("2026-06-10T07:30:00Z"),
|
|
55
|
+
pending: false,
|
|
56
|
+
salt: "0xsalt",
|
|
57
|
+
requestHash: "0xreqhash",
|
|
58
|
+
deadlineTimestamp: new Date("2026-06-10T07:31:00Z"),
|
|
59
|
+
threshold: 0.8,
|
|
60
|
+
sessionId: "pronode-test-session-1",
|
|
61
|
+
ipInfo: validIpInfo,
|
|
62
|
+
parsedUserAgentInfo,
|
|
63
|
+
});
|
|
64
|
+
const requiredEnrichmentPaths = [
|
|
65
|
+
"ipInfo",
|
|
66
|
+
"parsedUserAgentInfo",
|
|
67
|
+
"sessionId",
|
|
68
|
+
"providedIp",
|
|
69
|
+
];
|
|
70
|
+
describe("CentralDbStreamer end-to-end: UserCommitmentSchema.parse → streamImageRecord → central DB", () => {
|
|
71
|
+
let mongod;
|
|
72
|
+
let streamer;
|
|
73
|
+
beforeAll(async () => {
|
|
74
|
+
mongod = await MongoMemoryServer.create();
|
|
75
|
+
streamer = new CentralDbStreamer(mongod.getUri(), logger);
|
|
76
|
+
});
|
|
77
|
+
afterAll(async () => {
|
|
78
|
+
const db = streamer
|
|
79
|
+
.db;
|
|
80
|
+
await db.close();
|
|
81
|
+
await mongod.stop();
|
|
82
|
+
});
|
|
83
|
+
it("preserves ipInfo and parsedUserAgentInfo on the central commitment doc", async () => {
|
|
84
|
+
const id = "commitment-enrichment-roundtrip";
|
|
85
|
+
const commit = buildCommit(id);
|
|
86
|
+
const commitmentRecord = UserCommitmentSchema.parse({
|
|
87
|
+
...commit,
|
|
88
|
+
lastUpdatedTimestamp: new Date("2026-06-10T07:30:05Z"),
|
|
89
|
+
});
|
|
90
|
+
expect(commitmentRecord.ipInfo).toBeDefined();
|
|
91
|
+
expect(commitmentRecord.parsedUserAgentInfo).toBeDefined();
|
|
92
|
+
streamer.streamImageRecord(commitmentRecord);
|
|
93
|
+
const tables = streamer.db.tables;
|
|
94
|
+
let stored = null;
|
|
95
|
+
for (let i = 0; i < 50 && stored === null; i++) {
|
|
96
|
+
await new Promise((r) => setTimeout(r, 20));
|
|
97
|
+
stored = await tables.commitment
|
|
98
|
+
.findOne({ id })
|
|
99
|
+
.lean();
|
|
100
|
+
}
|
|
101
|
+
expect(stored).not.toBeNull();
|
|
102
|
+
if (!stored)
|
|
103
|
+
return;
|
|
104
|
+
expect(stored.ipInfo).toMatchObject(validIpInfo);
|
|
105
|
+
expect(stored.parsedUserAgentInfo).toMatchObject(parsedUserAgentInfo);
|
|
106
|
+
for (const path of requiredEnrichmentPaths) {
|
|
107
|
+
expect(stored[path], `mongoose path '${path}' was stripped between Zod parse and central DB`).toBeDefined();
|
|
108
|
+
}
|
|
109
|
+
expect(stored.id).toBe(id);
|
|
110
|
+
expect(stored.userAccount).toBe("userTest");
|
|
111
|
+
expect(stored.dappAccount).toBe("dappTest");
|
|
112
|
+
expect(stored.sessionId).toBe("pronode-test-session-1");
|
|
113
|
+
expect(stored.result?.status).toBe(CaptchaStatus.approved);
|
|
114
|
+
});
|
|
115
|
+
it("UserCommitmentSchema.parse does not strip any mongoose-declared optional field listed in requiredEnrichmentPaths", () => {
|
|
116
|
+
for (const path of requiredEnrichmentPaths) {
|
|
117
|
+
expect(UserCommitmentRecordSchema.path(path), `mongoose UserCommitmentRecordSchema is missing declared path '${path}'`).toBeDefined();
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
//# sourceMappingURL=centralStreamingEnrichment.integration.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"centralStreamingEnrichment.integration.test.js","sourceRoot":"","sources":["../../../src/tests/integration/centralStreamingEnrichment.integration.test.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EACN,aAAa,EAGb,aAAa,EAGb,oBAAoB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEN,0BAA0B,GAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAkBzE,MAAM,MAAM,GAAG,SAAS,CACvB,QAAQ,CAAC,IAAI,CAAC,KAAK,EACnB,iCAAiC,CACjC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,KAAa,EAAsB,EAAE,CAAC,CAAC;IAC7D,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CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QACxD,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kHAAkH,EAAE,GAAG,EAAE;QAI3H,KAAK,MAAM,IAAI,IAAI,uBAAuB,EAAE,CAAC;YAC5C,MAAM,CACL,0BAA0B,CAAC,IAAI,CAAC,IAAI,CAAC,EACrC,iEAAiE,IAAI,GAAG,CACxE,CAAC,WAAW,EAAE,CAAC;QACjB,CAAC;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/database",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.10",
|
|
4
4
|
"description": "Prosopo database plugins for provider",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@prosopo/common": "3.1.38",
|
|
42
42
|
"@prosopo/logger": "1.0.2",
|
|
43
43
|
"@prosopo/redis-client": "1.0.23",
|
|
44
|
-
"@prosopo/types": "4.
|
|
45
|
-
"@prosopo/types-database": "4.
|
|
46
|
-
"@prosopo/user-access-policy": "3.8.
|
|
44
|
+
"@prosopo/types": "4.4.0",
|
|
45
|
+
"@prosopo/types-database": "4.9.0",
|
|
46
|
+
"@prosopo/user-access-policy": "3.8.1",
|
|
47
47
|
"@prosopo/util": "3.2.15",
|
|
48
48
|
"make-dir": "3.1.0",
|
|
49
49
|
"mongodb": "6.15.0",
|