@prosopo/api 3.5.1 → 3.5.3
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/api@3.5.
|
|
2
|
+
> @prosopo/api@3.5.3 build:cjs
|
|
3
3
|
> NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
|
|
4
4
|
|
|
5
5
|
ViteCommonJSConfig: .
|
|
@@ -32,4 +32,4 @@ rendering chunks...
|
|
|
32
32
|
[2mdist/cjs/[22m[36mindex.cjs [39m[1m[2m 0.50 kB[22m[1m[22m
|
|
33
33
|
[2mdist/cjs/[22m[36mapi/HttpClientBase.cjs [39m[1m[2m 2.90 kB[22m[1m[22m
|
|
34
34
|
[2mdist/cjs/[22m[36mapi/ProviderApi.cjs [39m[1m[2m12.96 kB[22m[1m[22m
|
|
35
|
-
[32m✓ built in
|
|
35
|
+
[32m✓ built in 196ms[39m
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/api@3.5.
|
|
2
|
+
> @prosopo/api@3.5.3 build:tsc
|
|
3
3
|
> tsc --build --verbose
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
9:53:32 PM - Projects in this build:
|
|
6
6
|
* ../../dev/config/tsconfig.json
|
|
7
7
|
* ../locale/tsconfig.json
|
|
8
8
|
* ../util/tsconfig.json
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
* ../types/tsconfig.json
|
|
11
11
|
* tsconfig.json
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
9:53:32 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'
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
9:53:32 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
9:53:32 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
9:53:32 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'
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
9:53:32 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/provider/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
9:53:32 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
9:53:32 PM - Building project '/home/runner/work/captcha/captcha/packages/api/tsconfig.json'...
|
|
26
26
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @prosopo/api@3.5.
|
|
2
|
+
> @prosopo/api@3.5.3 build
|
|
3
3
|
> npm run build:cross-env -- --mode ${NODE_ENV:-development}
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @prosopo/api@3.5.
|
|
6
|
+
> @prosopo/api@3.5.3 build:cross-env
|
|
7
7
|
> vite build --config vite.esm.config.ts --mode production
|
|
8
8
|
|
|
9
9
|
ViteEsmConfig: .
|
|
@@ -35,4 +35,4 @@ rendering chunks...
|
|
|
35
35
|
[2mdist/[22m[36mindex.js [39m[1m[2m 0.32 kB[22m[1m[22m
|
|
36
36
|
[2mdist/[22m[36mapi/HttpClientBase.js [39m[1m[2m 2.71 kB[22m[1m[22m
|
|
37
37
|
[2mdist/[22m[36mapi/ProviderApi.js [39m[1m[2m12.56 kB[22m[1m[22m
|
|
38
|
-
[32m✓ built in
|
|
38
|
+
[32m✓ built in 198ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @prosopo/api
|
|
2
2
|
|
|
3
|
+
## 3.5.3
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- Updated dependencies [89ab6fc]
|
|
7
|
+
- Updated dependencies [0f3750b]
|
|
8
|
+
- @prosopo/types@4.7.3
|
|
9
|
+
|
|
10
|
+
## 3.5.2
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [edcd450]
|
|
14
|
+
- Updated dependencies [5295c4b]
|
|
15
|
+
- @prosopo/types@4.7.2
|
|
16
|
+
|
|
3
17
|
## 3.5.1
|
|
4
18
|
### Patch Changes
|
|
5
19
|
|
|
@@ -55,11 +69,11 @@
|
|
|
55
69
|
|
|
56
70
|
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.
|
|
57
71
|
|
|
58
|
-
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
|
|
72
|
+
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.
|
|
59
73
|
|
|
60
74
|
### Settings move
|
|
61
75
|
|
|
62
|
-
`verifiedTimeout` moves to `ClientSettingsSchema` (per-client, operator-set via the portal). Default stays at 120000ms for back-compat; auto-submit dapps
|
|
76
|
+
`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.
|
|
63
77
|
|
|
64
78
|
Removed from request bodies entirely:
|
|
65
79
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/api",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.3",
|
|
4
4
|
"description": "Wrapper for the provider API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/prosopo/captcha#readme",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@prosopo/types": "4.7.
|
|
39
|
+
"@prosopo/types": "4.7.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@prosopo/config": "3.3.2",
|