@prosopo/database 3.14.5 → 3.14.6
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/database@3.14.
|
|
2
|
+
> @prosopo/database@3.14.6 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 7.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[2m69.27 kB[22m[1m[22m
|
|
52
|
-
[32m✓ built in
|
|
52
|
+
[32m✓ built in 511ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/database@3.14.
|
|
2
|
+
> @prosopo/database@3.14.6 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
9:54:08 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
|
+
9:54:08 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/dependencies.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
9:54:09 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
|
+
9:54:09 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
|
+
9:54:09 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
|
+
9:54:09 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
|
+
9:54:09 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
|
+
9:54:09 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'
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
9:54:09 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
|
+
9:54:09 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/tests/testRedisConnection.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
9:54:09 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
|
+
9:54:09 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
|
+
9:54:09 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
|
+
9:54:09 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
9:54:09 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.14.
|
|
2
|
+
> @prosopo/database@3.14.6 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/database@3.14.
|
|
6
|
+
> @prosopo/database@3.14.6 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 7.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[2m69.06 kB[22m[1m[22m
|
|
56
|
-
[32m✓ built in
|
|
56
|
+
[32m✓ built in 462ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @prosopo/database
|
|
2
2
|
|
|
3
|
+
## 3.14.6
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [89ab6fc]
|
|
7
|
+
- Updated dependencies [0f3750b]
|
|
8
|
+
- @prosopo/types@4.7.3
|
|
9
|
+
- @prosopo/types-database@4.10.6
|
|
10
|
+
- @prosopo/user-access-policy@3.10.6
|
|
11
|
+
|
|
3
12
|
## 3.14.5
|
|
4
13
|
### Patch Changes
|
|
5
14
|
|
|
@@ -117,11 +126,11 @@
|
|
|
117
126
|
|
|
118
127
|
The dapp-verify recency check used to be `now - challengeTimestamp <= timeout`. The window was issuance→verify, which gave bots room to stockpile pre-solved solutions and redeem them many seconds (sometimes minutes) later from the time they reached the provider.
|
|
119
128
|
|
|
120
|
-
The check is now `now - challengeRecord.submittedAtTimestamp <= clientSettings.verifiedTimeout`. The window measures from the moment the user's solution actually arrived. Combined with the new lifecycle fields, this
|
|
129
|
+
The check is now `now - challengeRecord.submittedAtTimestamp <= clientSettings.verifiedTimeout`. The window measures from the moment the user's solution actually arrived. Combined with the new lifecycle fields, this tightens the stockpile attack surface.
|
|
121
130
|
|
|
122
131
|
### Settings move
|
|
123
132
|
|
|
124
|
-
`verifiedTimeout` moves to `ClientSettingsSchema` (per-client, operator-set via the portal). Default stays at 120000ms for back-compat; auto-submit dapps
|
|
133
|
+
`verifiedTimeout` moves to `ClientSettingsSchema` (per-client, operator-set via the portal). Default stays at 120000ms for back-compat; auto-submit dapps should set it to ~10000ms.
|
|
125
134
|
|
|
126
135
|
Removed from request bodies entirely:
|
|
127
136
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/database",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.6",
|
|
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.40",
|
|
42
42
|
"@prosopo/logger": "1.0.4",
|
|
43
43
|
"@prosopo/redis-client": "1.0.25",
|
|
44
|
-
"@prosopo/types": "4.7.
|
|
45
|
-
"@prosopo/types-database": "4.10.
|
|
46
|
-
"@prosopo/user-access-policy": "3.10.
|
|
44
|
+
"@prosopo/types": "4.7.3",
|
|
45
|
+
"@prosopo/types-database": "4.10.6",
|
|
46
|
+
"@prosopo/user-access-policy": "3.10.6",
|
|
47
47
|
"@prosopo/util": "3.3.1",
|
|
48
48
|
"bson": "6.10.4",
|
|
49
49
|
"make-dir": "3.1.0",
|