@prosopo/cli 3.7.19 → 3.7.20

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.7.19 build:cjs
2
+ > @prosopo/cli@3.7.20 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -92,4 +92,4 @@ dist/cjs/RateLimiter.cjs 5.58 kB │ gzip: 0.89 kB
92
92
   │ ╰─────── This `import.meta` will be replaced with an empty object (`{}`) automatically. If this is desired, you can suppress this warning by adding `transform.define: { 'import.meta': {} }`. If `import.meta` needs to be kept as-is, you need to set the output format to `esm`.
93
93
  ────╯
94
94
  
95
- ✓ built in 40ms
95
+ ✓ built in 85ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/cli@3.7.19 build:tsc
2
+ > @prosopo/cli@3.7.20 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 11:18:21 AM - Projects in this build:
5
+ 12:31:55 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -29,55 +29,55 @@
29
29
  * ../../dev/workspace/tsconfig.json
30
30
  * tsconfig.json
31
31
 
32
- 11:18:21 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/vite/vite.frontend.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
32
+ 12:31:55 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'
33
33
 
34
- 11:18:21 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
34
+ 12:31:55 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
35
35
 
36
- 11:18:21 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
36
+ 12:31:55 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
37
37
 
38
- 11:18:21 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'
38
+ 12:31:55 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'
39
39
 
40
- 11:18:21 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
40
+ 12:31:55 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
41
41
 
42
- 11:18:21 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
42
+ 12:31:55 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
43
43
 
44
- 11:18:21 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
44
+ 12:31:55 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/tests/loggerBrowser.unit.test.ts' is older than output '../logger/tsconfig.tsbuildinfo'
45
45
 
46
- 11:18:21 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/tsconfig.tsbuildinfo'
46
+ 12:31:55 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/tsconfig.tsbuildinfo'
47
47
 
48
- 11:18:21 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/index.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
48
+ 12:31:56 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
49
49
 
50
- 11:18:21 AM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
50
+ 12:31:56 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/types.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
51
51
 
52
- 11:18:21 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'
52
+ 12:31:56 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'
53
53
 
54
- 11:18:21 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'
54
+ 12:31:56 PM - Project '../redis-client/tsconfig.json' is up to date because newest input '../redis-client/src/redisClient.ts' is older than output '../redis-client/tsconfig.tsbuildinfo'
55
55
 
56
- 11:18:21 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'
56
+ 12:31:56 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'
57
57
 
58
- 11:18:21 AM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types.test-d.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
58
+ 12:31:56 PM - Project '../types-database/tsconfig.json' is up to date because newest input '../types-database/src/types.test-d.ts' is older than output '../types-database/tsconfig.tsbuildinfo'
59
59
 
60
- 11:18:21 AM - 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
+ 12:31:56 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
61
61
 
62
- 11:18:21 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
62
+ 12:31:56 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/keyring/keyring.test.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
63
63
 
64
- 11:18:21 AM - 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'
64
+ 12:31:56 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'
65
65
 
66
- 11:18:21 AM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/env.ts' is older than output '../env/tsconfig.tsbuildinfo'
66
+ 12:31:56 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/index.ts' is older than output '../env/tsconfig.tsbuildinfo'
67
67
 
68
- 11:18:21 AM - Project '../api-express-router/tsconfig.json' is up to date because newest input '../api-express-router/src/errorHandler.ts' is older than output '../api-express-router/tsconfig.tsbuildinfo'
68
+ 12:31:56 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'
69
69
 
70
- 11:18:21 AM - 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
+ 12:31:56 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'
71
71
 
72
- 11:18:21 AM - 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
+ 12:31:56 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'
73
73
 
74
- 11:18:21 AM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/tsconfig.tsbuildinfo'
74
+ 12:31:56 PM - Project '../puzzle-assets/tsconfig.json' is up to date because newest input '../puzzle-assets/src/background.ts' is older than output '../puzzle-assets/tsconfig.tsbuildinfo'
75
75
 
76
- 11:18:21 AM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/util.ts' is older than output '../provider/tsconfig.tsbuildinfo'
76
+ 12:31:56 PM - Project '../provider/tsconfig.json' is up to date because newest input '../provider/src/util.ts' is older than output '../provider/tsconfig.tsbuildinfo'
77
77
 
78
- 11:18:21 AM - 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'
78
+ 12:31:56 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'
79
79
 
80
- 11:18:21 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
80
+ 12:31:56 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
81
81
 
82
- 11:18:21 AM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
82
+ 12:31:56 PM - Building project '/home/runner/work/captcha/captcha/packages/cli/tsconfig.json'...
83
83
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/cli@3.7.19 build
2
+ > @prosopo/cli@3.7.20 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/cli@3.7.19 build:cross-env
6
+ > @prosopo/cli@3.7.20 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -88,4 +88,4 @@ dist/commands/siteKeyRegister.js 3.30 kB │ gzip: 1.14 kB
88
88
  dist/prosopo.config.js 4.43 kB │ gzip: 1.47 kB
89
89
  dist/RateLimiter.js 5.16 kB │ gzip: 0.89 kB
90
90
 
91
- ✓ built in 48ms
91
+ ✓ built in 54ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @prosopo/cli
2
2
 
3
+ ## 3.7.20
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [6411f64]
7
+ - @prosopo/provider@5.3.6
8
+ - @prosopo/types@5.2.5
9
+ - @prosopo/api@4.0.13
10
+ - @prosopo/env@3.6.37
11
+ - @prosopo/keyring@2.9.76
12
+
3
13
  ## 3.7.19
4
14
  ### Patch Changes
5
15
 
@@ -1392,7 +1392,7 @@ function sn(e, t, n) {
1392
1392
  }
1393
1393
  //#endregion
1394
1394
  //#region ../util/dist/version.js
1395
- var cn = (typeof process < "u" ? "3.7.19" : void 0) || "dev", ln = Array(256), un = Array(256 * 256);
1395
+ var cn = (typeof process < "u" ? "3.7.20" : void 0) || "dev", ln = Array(256), un = Array(256 * 256);
1396
1396
  for (let e = 0; e < 256; e++) ln[e] = e.toString(16).padStart(2, "0");
1397
1397
  for (let e = 0; e < 256; e++) {
1398
1398
  let t = e << 8;
@@ -96119,6 +96119,7 @@ var tte = async (e, t) => {
96119
96119
  ...n.tcpToChelloUs !== void 0 && { tcpToChelloUs: n.tcpToChelloUs },
96120
96120
  ...n.chelloToHandshakeUs !== void 0 && { chelloToHandshakeUs: n.chelloToHandshakeUs },
96121
96121
  ...U7(n),
96122
+ ...n.ipInfo && "isValid" in n.ipInfo && n.ipInfo.isValid && { ipInfo: n.ipInfo },
96122
96123
  ...w.session.currentUrl && { currentUrl: w.session.currentUrl },
96123
96124
  ...w.session.iframeUrl && { iframeUrl: w.session.iframeUrl }
96124
96125
  }
@@ -96265,6 +96266,7 @@ var tte = async (e, t) => {
96265
96266
  ...n.tcpToChelloUs !== void 0 && { tcpToChelloUs: n.tcpToChelloUs },
96266
96267
  ...n.chelloToHandshakeUs !== void 0 && { chelloToHandshakeUs: n.chelloToHandshakeUs },
96267
96268
  ...U7(n),
96269
+ ...n.ipInfo && "isValid" in n.ipInfo && n.ipInfo.isValid && { ipInfo: n.ipInfo },
96268
96270
  ...m && { currentUrl: m },
96269
96271
  ...h && { iframeUrl: h }
96270
96272
  }
@@ -96773,7 +96775,8 @@ var tte = async (e, t) => {
96773
96775
  ...h && { fingerprintProof: h },
96774
96776
  ...t.tcpToChelloUs !== void 0 && { tcpToChelloUs: t.tcpToChelloUs },
96775
96777
  ...t.chelloToHandshakeUs !== void 0 && { chelloToHandshakeUs: t.chelloToHandshakeUs },
96776
- ...U7(t)
96778
+ ...U7(t),
96779
+ ...t.ipInfo && "isValid" in t.ipInfo && t.ipInfo.isValid && { ipInfo: t.ipInfo }
96777
96780
  }
96778
96781
  });
96779
96782
  let _ = e.settings.solutionTimeout ?? e.settings.verifiedTimeout, v = await a.powCaptchaManager.verifyPowCaptchaSolution(o, s.provider.challenge, c, _, s.user.timestamp, bn(t.ip || ""), i, d, f, p, m);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/cli",
3
- "version": "3.7.19",
3
+ "version": "3.7.20",
4
4
  "description": "CLI for Prosopo Provider",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,15 +35,15 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@polkadot/types-codec": "16.4.9",
38
- "@prosopo/api": "4.0.12",
38
+ "@prosopo/api": "4.0.13",
39
39
  "@prosopo/common": "3.1.50",
40
40
  "@prosopo/logger": "2.0.6",
41
41
  "@prosopo/dotenv": "3.0.52",
42
- "@prosopo/env": "3.6.36",
43
- "@prosopo/keyring": "2.9.75",
42
+ "@prosopo/env": "3.6.37",
43
+ "@prosopo/keyring": "2.9.76",
44
44
  "@prosopo/locale": "3.3.0",
45
- "@prosopo/provider": "5.3.5",
46
- "@prosopo/types": "5.2.4",
45
+ "@prosopo/provider": "5.3.6",
46
+ "@prosopo/types": "5.2.5",
47
47
  "@prosopo/util": "3.3.6",
48
48
  "@prosopo/workspace": "3.2.0",
49
49
  "cron-parser": "4.9.0",