@prosopo/scripts 3.1.205 → 3.1.206
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 +3 -3
- package/.turbo/turbo-build$colon$tsc.log +33 -33
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +59 -0
- package/dist/cjs/setup/setup.cjs +10 -2
- package/dist/errorSites.d.ts +8 -0
- package/dist/errorSites.d.ts.map +1 -0
- package/dist/errorSites.js +2 -0
- package/dist/errorSites.js.map +1 -0
- package/dist/setup/setup.d.ts.map +1 -1
- package/dist/setup/setup.js +11 -3
- package/dist/setup/setup.js.map +1 -1
- package/package.json +19 -19
|
@@ -63,7 +63,7 @@ ViteCommonJSConfig: flux
|
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
[33mThe plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the [1mresolve.tsconfigPaths[22m option. You can remove the plugin and set [1mresolve.tsconfigPaths: true[22m in your Vite config instead.[39m
|
|
66
|
-
[36mvite v8.1.
|
|
66
|
+
[36mvite v8.1.6 [32mbuilding ssr environment for production...[36m[39m
|
|
67
67
|
Bundle build started
|
|
68
68
|
[2K
|
|
69
69
|
✓ 12 modules transformed.
|
|
@@ -80,6 +80,6 @@ dist/cjs/util/exec.cjs 1.07 kB │ gzip: 0.47 kB
|
|
|
80
80
|
dist/cjs/util/updateEnv.cjs 2.97 kB │ gzip: 1.07 kB
|
|
81
81
|
dist/cjs/cli/index.cjs 3.33 kB │ gzip: 1.19 kB
|
|
82
82
|
dist/cjs/scripts/setVersion.cjs 5.33 kB │ gzip: 1.65 kB
|
|
83
|
-
dist/cjs/setup/setup.cjs 5.
|
|
83
|
+
dist/cjs/setup/setup.cjs 5.65 kB │ gzip: 1.80 kB
|
|
84
84
|
|
|
85
|
-
[32m✓ built in
|
|
85
|
+
[32m✓ built in 45ms[39m
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
$ tsc --build --verbose
|
|
2
|
-
|
|
2
|
+
5:09:06 PM - Projects in this build:
|
|
3
3
|
* ../config/tsconfig.json
|
|
4
4
|
* ../../packages/util/tsconfig.json
|
|
5
5
|
* ../../packages/locale/tsconfig.json
|
|
6
6
|
* ../../packages/util-crypto/tsconfig.json
|
|
7
7
|
* ../../packages/types/tsconfig.json
|
|
8
8
|
* ../../packages/api/tsconfig.json
|
|
9
|
-
* ../../packages/logger/tsconfig.json
|
|
10
9
|
* ../../packages/common/tsconfig.json
|
|
10
|
+
* ../../packages/logger/tsconfig.json
|
|
11
11
|
* ../../packages/dotenv/tsconfig.json
|
|
12
12
|
* ../../packages/ipinfo/tsconfig.json
|
|
13
13
|
* ../../packages/api-route/tsconfig.json
|
|
@@ -31,65 +31,65 @@ $ tsc --build --verbose
|
|
|
31
31
|
* ../../packages/cli/tsconfig.json
|
|
32
32
|
* tsconfig.json
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
5:09:06 PM - Project '../config/tsconfig.json' is up to date because newest input '../config/src/webpack/webpack.config.ts' is older than output '../config/tsconfig.tsbuildinfo'
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
5:09:06 PM - Project '../../packages/util/tsconfig.json' is up to date because newest input '../../packages/util/src/url.ts' is older than output '../../packages/util/tsconfig.tsbuildinfo'
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
5:09:06 PM - Project '../../packages/locale/tsconfig.json' is up to date because newest input '../../packages/locale/src/translationKey.ts' is older than output '../../packages/locale/tsconfig.tsbuildinfo'
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
5:09:06 PM - Project '../../packages/util-crypto/tsconfig.json' is up to date because newest input '../../packages/util-crypto/src/types.ts' is older than output '../../packages/util-crypto/tsconfig.tsbuildinfo'
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
5:09:06 PM - Project '../../packages/types/tsconfig.json' is up to date because newest input '../../packages/types/src/types.test-d.ts' is older than output '../../packages/types/tsconfig.tsbuildinfo'
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
5:09:06 PM - Project '../../packages/api/tsconfig.json' is up to date because newest input '../../packages/api/src/index.ts' is older than output '../../packages/api/tsconfig.tsbuildinfo'
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
5:09:06 PM - Project '../../packages/common/tsconfig.json' is up to date because newest input '../../packages/common/src/errorCodes.ts' is older than output '../../packages/common/tsconfig.tsbuildinfo'
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
5:09:06 PM - Project '../../packages/logger/tsconfig.json' is up to date because newest input '../../packages/logger/src/index.ts' is older than output '../../packages/logger/tsconfig.tsbuildinfo'
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
5:09:06 PM - Project '../../packages/dotenv/tsconfig.json' is up to date because newest input '../../packages/dotenv/src/env.ts' is older than output '../../packages/dotenv/tsconfig.tsbuildinfo'
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
5:09:06 PM - Project '../../packages/ipinfo/tsconfig.json' is up to date because newest input '../../packages/ipinfo/src/types.ts' is older than output '../../packages/ipinfo/tsconfig.tsbuildinfo'
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
5:09:06 PM - Project '../../packages/api-route/tsconfig.json' is up to date because newest input '../../packages/api-route/src/apiRoutes.ts' is older than output '../../packages/api-route/tsconfig.tsbuildinfo'
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
5:09:06 PM - Project '../../packages/redis-client/tsconfig.json' is up to date because newest input '../../packages/redis-client/src/tests/redisIndex.integration.test.ts' is older than output '../../packages/redis-client/tsconfig.tsbuildinfo'
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
5:09:06 PM - Project '../../packages/user-access-policy/tsconfig.json' is up to date because newest input '../../packages/user-access-policy/src/transformRule.ts' is older than output '../../packages/user-access-policy/tsconfig.tsbuildinfo'
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
5:09:06 PM - Project '../../packages/types-database/tsconfig.json' is up to date because newest input '../../packages/types-database/src/index.ts' is older than output '../../packages/types-database/tsconfig.tsbuildinfo'
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
5:09:06 PM - Project '../../packages/database/tsconfig.json' is up to date because newest input '../../packages/database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../../packages/database/tsconfig.tsbuildinfo'
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
5:09:06 PM - Project '../../packages/keyring/tsconfig.json' is up to date because newest input '../../packages/keyring/src/keyring/keyring.test.ts' is older than output '../../packages/keyring/tsconfig.tsbuildinfo'
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
5:09:06 PM - Project '../../packages/types-env/tsconfig.json' is up to date because newest input '../../packages/types-env/src/tests/typesEnv.test-d.ts' is older than output '../../packages/types-env/tsconfig.tsbuildinfo'
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
5:09:06 PM - Project '../../packages/env/tsconfig.json' is up to date because newest input '../../packages/env/src/errorSites.ts' is older than output '../../packages/env/tsconfig.tsbuildinfo'
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
5:09:06 PM - Project '../../packages/api-express-router/tsconfig.json' is up to date because newest input '../../packages/api-express-router/src/tests/unit/apiExpressDefaultEndpointAdapter.unit.test.ts' is older than output '../../packages/api-express-router/tsconfig.tsbuildinfo'
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
5:09:06 PM - Project '../../packages/puzzle-assets/tsconfig.json' is up to date because newest input '../../packages/puzzle-assets/src/browser.ts' is older than output '../../packages/puzzle-assets/tsconfig.tsbuildinfo'
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
5:09:06 PM - Project '../../packages/audio-assets/tsconfig.json' is up to date because newest input '../../packages/audio-assets/src/distort.ts' is older than output '../../packages/audio-assets/tsconfig.tsbuildinfo'
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
5:09:06 PM - Project '../../packages/captcha-severity/tsconfig.json' is up to date because newest input '../../packages/captcha-severity/src/index.ts' is older than output '../../packages/captcha-severity/tsconfig.tsbuildinfo'
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
5:09:06 PM - Project '../../packages/datasets/tsconfig.json' is up to date because newest input '../../packages/datasets/src/errorSites.ts' is older than output '../../packages/datasets/tsconfig.tsbuildinfo'
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
5:09:06 PM - Project '../../packages/icon-order-assets/tsconfig.json' is up to date because newest input '../../packages/icon-order-assets/src/compose.ts' is older than output '../../packages/icon-order-assets/tsconfig.tsbuildinfo'
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
5:09:06 PM - Project '../../packages/load-balancer/tsconfig.json' is up to date because newest input '../../packages/load-balancer/src/developmentProviderUrl.ts' is older than output '../../packages/load-balancer/tsconfig.tsbuildinfo'
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
5:09:06 PM - Project '../../packages/web-bot-auth/tsconfig.json' is up to date because newest input '../../packages/web-bot-auth/src/base64.ts' is older than output '../../packages/web-bot-auth/tsconfig.tsbuildinfo'
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
5:09:06 PM - Project '../../packages/provider/tsconfig.json' is up to date because newest input '../../packages/provider/src/util.ts' is older than output '../../packages/provider/tsconfig.tsbuildinfo'
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
5:09:06 PM - Project '../workspace/tsconfig.json' is up to date because newest input '../workspace/src/projectInfo.ts' is older than output '../workspace/tsconfig.tsbuildinfo'
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
5:09:06 PM - Project '../../packages/cli/tsconfig.json' is up to date because newest input '../../packages/cli/src/errorSites.ts' is older than output '../../packages/cli/tsconfig.tsbuildinfo'
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
5:09:06 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
5:09:06 PM - Building project '/home/runner/work/captcha/captcha/dev/scripts/tsconfig.json'...
|
|
95
95
|
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -64,7 +64,7 @@ ViteEsmConfig: .
|
|
|
64
64
|
]
|
|
65
65
|
}
|
|
66
66
|
[33mThe plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the [1mresolve.tsconfigPaths[22m option. You can remove the plugin and set [1mresolve.tsconfigPaths: true[22m in your Vite config instead.[39m
|
|
67
|
-
[36mvite v8.1.
|
|
67
|
+
[36mvite v8.1.6 [32mbuilding ssr environment for production...[36m[39m
|
|
68
68
|
Bundle build started
|
|
69
69
|
[2K
|
|
70
70
|
✓ 16 modules transformed.
|
|
@@ -83,8 +83,8 @@ dist/workspace/dist/workspaceGlobs.js 1.17 kB │ gzip: 0.58 kB
|
|
|
83
83
|
dist/workspace/dist/index.js 1.47 kB │ gzip: 0.33 kB
|
|
84
84
|
dist/util/updateEnv.js 2.38 kB │ gzip: 0.94 kB
|
|
85
85
|
dist/cli/index.js 2.76 kB │ gzip: 1.04 kB
|
|
86
|
-
dist/setup/setup.js 4.70 kB │ gzip: 1.63 kB
|
|
87
86
|
dist/workspace/dist/projectInfo.js 4.71 kB │ gzip: 1.52 kB
|
|
88
87
|
dist/scripts/setVersion.js 4.73 kB │ gzip: 1.58 kB
|
|
88
|
+
dist/setup/setup.js 4.83 kB │ gzip: 1.66 kB
|
|
89
89
|
|
|
90
|
-
[32m✓ built in
|
|
90
|
+
[32m✓ built in 53ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# @prosopo/scripts
|
|
2
2
|
|
|
3
|
+
## 3.1.206
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- 46b97b7: Roll up the open Dependabot updates: express 5 (with `@types/express` 5), dotenv 18, undici 8, geolib 4, vitest 5, vite 8.1.6 everywhere, 17 minor and patch bumps (Babel, mongoose, i18next, ip-address, turbo and others), `@angular/router` in the Angular demo, and a GitHub Actions bump.
|
|
7
|
+
|
|
8
|
+
The whole vitest family moves to 5.0.4, including `@vitest/coverage-v8`, because `@vitest/browser-playwright` 5 only works with vitest 5. The `@types/express-serve-static-core` override moves to 5.1.3 to match `@types/express` 5.
|
|
9
|
+
|
|
10
|
+
`@prosopo/dotenv` now loads env files with `quiet: true`. Since dotenv 17, every load prints an "injected env" line to stderr unless told not to.
|
|
11
|
+
- d2148c8: Errors now carry a fixed code and a site instead of a translation key.
|
|
12
|
+
|
|
13
|
+
Every error is a `ProsopoError` with a `code` from one list in
|
|
14
|
+
`@prosopo/common` (`ERROR_CODES`) and an `errorSite` such as `PROV-12`, which
|
|
15
|
+
names the one place it was thrown. Together they make the `errorId`, e.g.
|
|
16
|
+
`SITE_KEY_INVALID:PROV-31`, which the widget shows after the message so a
|
|
17
|
+
screenshot is enough to find the throw.
|
|
18
|
+
|
|
19
|
+
What a client sees:
|
|
20
|
+
|
|
21
|
+
- A public error (bad site key, blocked network, and so on) sends its code,
|
|
22
|
+
English message, data and errorId.
|
|
23
|
+
- Anything else sends only `BACKEND_ERROR:<site>` (or `FRONTEND_ERROR:<site>`
|
|
24
|
+
from the widget) and a status. Internal details never leave the server.
|
|
25
|
+
|
|
26
|
+
The provider no longer translates errors. The widget looks up
|
|
27
|
+
`ERRORS.<CODE>` in its catalogue and falls back to the English message. The
|
|
28
|
+
old error classes (`ProsopoApiError`, `ProsopoEnvError` and the rest), the
|
|
29
|
+
`key`/`messageEn` fields and `localiseErrorMessage` are gone.
|
|
30
|
+
|
|
31
|
+
Other changes in behaviour:
|
|
32
|
+
|
|
33
|
+
- An error with no specific code is a hidden 500.
|
|
34
|
+
- Errors no longer log themselves when they are created. The server logs each
|
|
35
|
+
unhandled one once: 5xx as errors, 4xx at debug.
|
|
36
|
+
- An invalid PoW signature is a 401 instead of a 500.
|
|
37
|
+
- `stringifyBigInts` returns a copy instead of changing its input, so frozen
|
|
38
|
+
error context can be logged.
|
|
39
|
+
- The provider's last hand-written error replies now use the same error body.
|
|
40
|
+
These were the missing-header 401s, the access-policy block, autoBan, the
|
|
41
|
+
metrics 401/403 and the rate limiter. The rate limiter answers with a new
|
|
42
|
+
public `RATE_LIMITED` (429) code.
|
|
43
|
+
- Updated dependencies [46b97b7]
|
|
44
|
+
- Updated dependencies [d2148c8]
|
|
45
|
+
- Updated dependencies [2bcf2fe]
|
|
46
|
+
- Updated dependencies [22f0721]
|
|
47
|
+
- Updated dependencies [860948c]
|
|
48
|
+
- @prosopo/cli@3.8.36
|
|
49
|
+
- @prosopo/common@3.3.0
|
|
50
|
+
- @prosopo/datasets@3.2.9
|
|
51
|
+
- @prosopo/dotenv@3.0.62
|
|
52
|
+
- @prosopo/env@3.6.78
|
|
53
|
+
- @prosopo/keyring@2.10.9
|
|
54
|
+
- @prosopo/logger@2.1.5
|
|
55
|
+
- @prosopo/provider@5.20.0
|
|
56
|
+
- @prosopo/types@5.17.0
|
|
57
|
+
- @prosopo/types-env@2.11.24
|
|
58
|
+
- @prosopo/util@3.3.16
|
|
59
|
+
- @prosopo/util-crypto@13.6.1
|
|
60
|
+
- @prosopo/workspace@3.2.4
|
|
61
|
+
|
|
3
62
|
## 3.1.205
|
|
4
63
|
### Patch Changes
|
|
5
64
|
|
package/dist/cjs/setup/setup.cjs
CHANGED
|
@@ -88,7 +88,11 @@ async function setup(provider, sites) {
|
|
|
88
88
|
logger.debug(() => ({ msg: `Mnemonic: ${mnemonic}` }));
|
|
89
89
|
logger.debug(() => ({ msg: "Writing .env file..." }));
|
|
90
90
|
await copyEnvFile();
|
|
91
|
-
if (!process.env.PROSOPO_SITE_KEY) throw new _prosopo_common.
|
|
91
|
+
if (!process.env.PROSOPO_SITE_KEY) throw new _prosopo_common.ProsopoError({
|
|
92
|
+
code: "CONFIG_INVALID",
|
|
93
|
+
errorSite: "SCRP-1",
|
|
94
|
+
message: "PROSOPO_SITE_KEY is not set in .env file."
|
|
95
|
+
});
|
|
92
96
|
const config = (0, _prosopo_cli.defaultConfig)();
|
|
93
97
|
const providerSecret = config.account.secret;
|
|
94
98
|
const pair = (0, _prosopo_keyring.getPair)(providerSecret);
|
|
@@ -116,7 +120,11 @@ async function setup(provider, sites) {
|
|
|
116
120
|
process.exit();
|
|
117
121
|
} else {
|
|
118
122
|
console.error("no secret found in .env file");
|
|
119
|
-
throw new _prosopo_common.
|
|
123
|
+
throw new _prosopo_common.ProsopoError({
|
|
124
|
+
code: "CONFIG_INVALID",
|
|
125
|
+
errorSite: "SCRP-2",
|
|
126
|
+
message: "No secret provided"
|
|
127
|
+
});
|
|
120
128
|
}
|
|
121
129
|
}
|
|
122
130
|
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorSites.d.ts","sourceRoot":"","sources":["../src/errorSites.ts"],"names":[],"mappings":"AAcA,OAAO,QAAQ,iBAAiB,CAAC;IAChC,UAAU,UAAU;QACnB,QAAQ,EAAE,IAAI,CAAC;QACf,QAAQ,EAAE,IAAI,CAAC;KACf;CACD;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorSites.js","sourceRoot":"","sources":["../src/errorSites.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/setup/setup.ts"],"names":[],"mappings":"AAsFA,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,iBAW/D;AAED,wBAAsB,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/setup/setup.ts"],"names":[],"mappings":"AAsFA,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,iBAW/D;AAED,wBAAsB,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,iBAiG5D"}
|
package/dist/setup/setup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { setupProvider } from "./provider.js";
|
|
|
4
4
|
import { registerSiteKey } from "./site.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { defaultConfig, getSecret } from "@prosopo/cli";
|
|
7
|
-
import {
|
|
7
|
+
import { ProsopoError } from "@prosopo/common";
|
|
8
8
|
import { getEnvFile } from "@prosopo/dotenv";
|
|
9
9
|
import { ProviderEnvironment } from "@prosopo/env";
|
|
10
10
|
import { generateMnemonic, getDefaultSiteKeys, getPair } from "@prosopo/keyring";
|
|
@@ -84,7 +84,11 @@ async function setup(provider, sites) {
|
|
|
84
84
|
logger.debug(() => ({ msg: `Mnemonic: ${mnemonic}` }));
|
|
85
85
|
logger.debug(() => ({ msg: "Writing .env file..." }));
|
|
86
86
|
await copyEnvFile();
|
|
87
|
-
if (!process.env.PROSOPO_SITE_KEY) throw new
|
|
87
|
+
if (!process.env.PROSOPO_SITE_KEY) throw new ProsopoError({
|
|
88
|
+
code: "CONFIG_INVALID",
|
|
89
|
+
errorSite: "SCRP-1",
|
|
90
|
+
message: "PROSOPO_SITE_KEY is not set in .env file."
|
|
91
|
+
});
|
|
88
92
|
const config = defaultConfig();
|
|
89
93
|
const providerSecret = config.account.secret;
|
|
90
94
|
const env = new ProviderEnvironment(config, getPair(providerSecret), getPair(config.authAccount.secret));
|
|
@@ -109,7 +113,11 @@ async function setup(provider, sites) {
|
|
|
109
113
|
process.exit();
|
|
110
114
|
} else {
|
|
111
115
|
console.error("no secret found in .env file");
|
|
112
|
-
throw new
|
|
116
|
+
throw new ProsopoError({
|
|
117
|
+
code: "CONFIG_INVALID",
|
|
118
|
+
errorSite: "SCRP-2",
|
|
119
|
+
message: "No secret provided"
|
|
120
|
+
});
|
|
113
121
|
}
|
|
114
122
|
}
|
|
115
123
|
//#endregion
|
package/dist/setup/setup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/setup/setup.ts"],"names":[],"mappings":"AAcA,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O,EAAE;iBACzE,CAAC,CAAC,CAAC;gBAEJ,MAAM,eAAe,CAAC,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;gBAKnE,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;oBACvB,GAAG,EAAE,0CAA0C;iBAC/C,CAAC,CAAC,CAAC;gBAEJ,MAAM,WAAW,GAChB,OAAO,CAAC,QAAQ,CAAC,WAAW,KAAK,OAAO;oBACvC,CAAC,CAAC;wBACA,kBAAkB;wBAClB,oBAAoB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW,EAAE,EAAE;qBAChE;oBACF,CAAC,CAAC;wBACA,oBAAoB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW,EAAE,EAAE;qBAChE,CAAC;gBAEL,MAAM,cAAc,CAAC,WAAW,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;YACrE,CAAC;QACF,CAAC;QACD,OAAO,CAAC,IAAI,EAAE,CAAC;IAChB,CAAC;SAAM,CAAC;QACP,OAAO,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAC9C,MAAM,IAAI,YAAY,CAAC;YACtB,IAAI,EAAE,gBAAgB;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,oBAAoB;SAC7B,CAAC,CAAC;IACJ,CAAC;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/scripts",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.206",
|
|
4
4
|
"description": "Dev scripts for working with prosopo packages",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"@iarna/toml": "2.2.5",
|
|
22
22
|
"@polkadot/util": "14.0.3",
|
|
23
23
|
"@polkadot/util-crypto": "14.0.3",
|
|
24
|
-
"@prosopo/cli": "3.8.
|
|
25
|
-
"@prosopo/common": "3.
|
|
26
|
-
"@prosopo/logger": "2.1.
|
|
27
|
-
"@prosopo/datasets": "3.2.
|
|
28
|
-
"@prosopo/dotenv": "3.0.
|
|
29
|
-
"@prosopo/env": "3.6.
|
|
30
|
-
"@prosopo/keyring": "2.10.
|
|
31
|
-
"@prosopo/provider": "5.
|
|
32
|
-
"@prosopo/types": "5.
|
|
33
|
-
"@prosopo/types-env": "2.11.
|
|
34
|
-
"@prosopo/util": "3.3.
|
|
35
|
-
"@prosopo/util-crypto": "13.6.
|
|
36
|
-
"@prosopo/workspace": "3.2.
|
|
37
|
-
"dotenv": "
|
|
24
|
+
"@prosopo/cli": "3.8.36",
|
|
25
|
+
"@prosopo/common": "3.3.0",
|
|
26
|
+
"@prosopo/logger": "2.1.5",
|
|
27
|
+
"@prosopo/datasets": "3.2.9",
|
|
28
|
+
"@prosopo/dotenv": "3.0.62",
|
|
29
|
+
"@prosopo/env": "3.6.78",
|
|
30
|
+
"@prosopo/keyring": "2.10.9",
|
|
31
|
+
"@prosopo/provider": "5.20.0",
|
|
32
|
+
"@prosopo/types": "5.17.0",
|
|
33
|
+
"@prosopo/types-env": "2.11.24",
|
|
34
|
+
"@prosopo/util": "3.3.16",
|
|
35
|
+
"@prosopo/util-crypto": "13.6.1",
|
|
36
|
+
"@prosopo/workspace": "3.2.4",
|
|
37
|
+
"dotenv": "18.0.7",
|
|
38
38
|
"fast-glob": "3.3.3",
|
|
39
39
|
"fs-extra": "11.4.1",
|
|
40
40
|
"yargs": "18.2.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@prosopo/config": "3.
|
|
43
|
+
"@prosopo/config": "3.5.0",
|
|
44
44
|
"@types/fs-extra": "11.0.4",
|
|
45
45
|
"@types/node": "22.10.2",
|
|
46
46
|
"@types/yargs": "17.0.35",
|
|
47
|
-
"@vitest/coverage-v8": "
|
|
47
|
+
"@vitest/coverage-v8": "5.0.4",
|
|
48
48
|
"concurrently": "9.0.1",
|
|
49
49
|
"del-cli": "6.0.0",
|
|
50
50
|
"npm-run-all": "4.1.5",
|
|
51
51
|
"tslib": "2.7.0",
|
|
52
52
|
"tsx": "4.20.3",
|
|
53
53
|
"typescript": "5.6.2",
|
|
54
|
-
"vite": "8.1.
|
|
55
|
-
"vitest": "
|
|
54
|
+
"vite": "8.1.6",
|
|
55
|
+
"vitest": "5.0.4"
|
|
56
56
|
},
|
|
57
57
|
"repository": {
|
|
58
58
|
"type": "git",
|