@prosopo/cli 3.6.71 → 3.6.72

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/cli@3.6.71 build:cjs
2
+ > @prosopo/cli@3.6.72 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -80,4 +80,4 @@ rendering chunks...
80
80
  dist/cjs/commands/siteKeyRegister.cjs 3.81 kB
81
81
  dist/cjs/prosopo.config.cjs 5.29 kB
82
82
  dist/cjs/RateLimiter.cjs 5.48 kB
83
- ✓ built in 204ms
83
+ ✓ built in 281ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/cli@3.6.71 build:tsc
2
+ > @prosopo/cli@3.6.72 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 12:18:17 PM - Projects in this build:
5
+ 10:23:28 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -28,53 +28,53 @@
28
28
  * ../../dev/workspace/tsconfig.json
29
29
  * tsconfig.json
30
30
 
31
- 12:18:17 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/index.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
31
+ 10:23:28 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'
32
32
 
33
- 12:18:17 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
33
+ 10:23:28 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
34
34
 
35
- 12:18:17 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
35
+ 10:23:28 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
36
36
 
37
- 12:18:17 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'
37
+ 10:23:28 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'
38
38
 
39
- 12:18:17 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/provider/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
39
+ 10:23:28 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/procaptcha/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
40
40
 
41
- 12:18:17 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
41
+ 10:23:28 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
42
42
 
43
- 12:18:17 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
43
+ 10:23:28 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
44
44
 
45
- 12:18:17 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
45
+ 10:23:28 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/tsconfig.tsbuildinfo'
46
46
 
47
- 12:18:17 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
47
+ 10:23:28 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
48
48
 
49
- 12:18:17 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
49
+ 10:23:28 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
50
50
 
51
- 12:18:17 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'
51
+ 10:23:28 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'
52
52
 
53
- 12:18:17 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'
53
+ 10:23:28 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'
54
54
 
55
- 12:18:17 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'
55
+ 10:23:28 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/ruleRecord.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
56
56
 
57
- 12:18:17 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types/captcha.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
57
+ 10:23:28 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'
58
58
 
59
- 12:18:17 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
59
+ 10:23:28 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/redisCacheEscalation.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
60
60
 
61
- 12:18:17 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
61
+ 10:23:28 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
62
62
 
63
- 12:18:17 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/index.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
63
+ 10:23:28 PM - Project '../types-env/tsconfig.json' is up to date because newest input '../types-env/src/env.ts' is older than output '../types-env/tsconfig.tsbuildinfo'
64
64
 
65
- 12:18:17 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/tsconfig.tsbuildinfo'
65
+ 10:23:28 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/index.ts' is older than output '../env/tsconfig.tsbuildinfo'
66
66
 
67
- 12:18:17 PM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/apiExpressRouterFactory.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
67
+ 10:23:28 PM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/apiExpressRouterFactory.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
68
68
 
69
- 12:18:17 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
69
+ 10:23:28 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/dataset.unit.test.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
70
70
 
71
- 12:18:17 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
71
+ 10:23:28 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
72
72
 
73
- 12:18:17 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/utils/dns.ts' is older than output '../provider/tsconfig.tsbuildinfo'
73
+ 10:23:28 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/utils/normalizeRequestIp.ts' is older than output '../provider/tsconfig.tsbuildinfo'
74
74
 
75
- 12:18:17 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/index.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
75
+ 10:23:28 PM - Project '../../dev/workspace/tsconfig.json' is up to date because newest input '../../dev/workspace/src/index.ts' is older than output '../../dev/workspace/tsconfig.tsbuildinfo'
76
76
 
77
- 12:18:17 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
77
+ 10:23:28 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
78
78
 
79
- 12:18:17 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
79
+ 10:23:28 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
80
80
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/cli@3.6.71 build
2
+ > @prosopo/cli@3.6.72 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/cli@3.6.71 build:cross-env
6
+ > @prosopo/cli@3.6.72 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -83,4 +83,4 @@ rendering chunks...
83
83
  dist/commands/siteKeyRegister.js 3.67 kB
84
84
  dist/prosopo.config.js 4.91 kB
85
85
  dist/RateLimiter.js 5.25 kB
86
- ✓ built in 374ms
86
+ ✓ built in 346ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @prosopo/cli
2
2
 
3
+ ## 3.6.72
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [a0cb39e]
7
+ - @prosopo/types@4.9.12
8
+ - @prosopo/api@3.5.19
9
+ - @prosopo/env@3.6.18
10
+ - @prosopo/keyring@2.9.60
11
+ - @prosopo/provider@4.15.12
12
+
3
13
  ## 3.6.71
4
14
  ### Patch Changes
5
15
 
@@ -1782,7 +1782,7 @@ function zr(e, t, r) {
1782
1782
  throw new Error(`Index ${t} smaller than 0`);
1783
1783
  return e[t];
1784
1784
  }
1785
- const xMe = typeof process < "u" ? "3.6.71" : void 0, Bve = xMe || "dev", q6 = new Array(256), $ve = new Array(256 * 256);
1785
+ const xMe = typeof process < "u" ? "3.6.72" : void 0, Bve = xMe || "dev", q6 = new Array(256), $ve = new Array(256 * 256);
1786
1786
  for (let e = 0; e < 256; e++)
1787
1787
  q6[e] = e.toString(16).padStart(2, "0");
1788
1788
  for (let e = 0; e < 256; e++) {
@@ -10935,11 +10935,13 @@ const j4e = rt.nativeEnum(Ei), q4e = rt.object({
10935
10935
  datacenterNameAllowlist: Or(
10936
10936
  nt().min(1).max(J4e)
10937
10937
  ).max(Z4e).optional(),
10938
- // Opt-in: when the catcher confirmed `dnsEvent.pathValid === true`, skip
10939
- // the datacenter / VPN / proxy / Tor evaluation on the DNS peer +
10940
- // resolver IPs. Otherwise users on public DoH resolvers (whose resolver
10941
- // IPs are necessarily datacenter) trip the rule.
10942
- skipExtrasOnValidDnsPath: lr().optional().default(!1),
10938
+ // When the catcher confirmed `dnsEvent.pathValid === true`, skip the
10939
+ // datacenter / VPN / proxy / Tor evaluation on the DNS peer + resolver
10940
+ // IPs. Default on: without this, users on public DoH resolvers or ISP
10941
+ // shared anycast resolvers (whose resolver IPs are necessarily
10942
+ // datacenter or high-abuser) trip the rule despite the visitor being
10943
+ // a real user on a real network.
10944
+ skipExtrasOnValidDnsPath: lr().optional().default(!0),
10943
10945
  blockMobile: lr().optional().default(!1),
10944
10946
  blockSatellite: lr().optional().default(!1),
10945
10947
  blockCrawler: lr().optional().default(!1)
@@ -61508,7 +61510,7 @@ const qTe = new rr.Schema({
61508
61510
  abuserScoreThreshold: { type: Number, min: 0, max: 1, default: 0 },
61509
61511
  blockDatacenter: { type: Boolean, default: !1 },
61510
61512
  datacenterNameAllowlist: { type: [String], required: !1 },
61511
- skipExtrasOnValidDnsPath: { type: Boolean, default: !1 },
61513
+ skipExtrasOnValidDnsPath: { type: Boolean, default: !0 },
61512
61514
  blockMobile: { type: Boolean, default: !1 },
61513
61515
  blockSatellite: { type: Boolean, default: !1 },
61514
61516
  blockCrawler: { type: Boolean, default: !1 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/cli",
3
- "version": "3.6.71",
3
+ "version": "3.6.72",
4
4
  "description": "CLI for Prosopo Provider",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,15 +32,15 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@polkadot/types-codec": "16.4.9",
35
- "@prosopo/api": "3.5.18",
35
+ "@prosopo/api": "3.5.19",
36
36
  "@prosopo/common": "3.1.47",
37
37
  "@prosopo/logger": "2.0.3",
38
38
  "@prosopo/dotenv": "3.0.49",
39
- "@prosopo/env": "3.6.17",
40
- "@prosopo/keyring": "2.9.59",
39
+ "@prosopo/env": "3.6.18",
40
+ "@prosopo/keyring": "2.9.60",
41
41
  "@prosopo/locale": "3.2.7",
42
- "@prosopo/provider": "4.15.11",
43
- "@prosopo/types": "4.9.11",
42
+ "@prosopo/provider": "4.15.12",
43
+ "@prosopo/types": "4.9.12",
44
44
  "@prosopo/util": "3.3.4",
45
45
  "@prosopo/workspace": "3.1.20",
46
46
  "cron-parser": "4.9.0",