@prosopo/keyring 2.10.8 → 2.10.9

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.
@@ -3,25 +3,23 @@ ViteCommonJSConfig: .
3
3
  {
4
4
  tsConfigPaths: [
5
5
  '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
6
+ '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
6
7
  '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
7
8
  '/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
8
- '/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
9
- '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
10
9
  '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json'
11
10
  ]
12
11
  }
13
12
  {
14
13
  externals: [
15
14
  '@prosopo/common',
15
+ '@prosopo/types',
16
16
  '@prosopo/locale',
17
17
  '@prosopo/util',
18
- '@prosopo/logger',
19
- '@prosopo/types',
20
18
  '@prosopo/util-crypto'
21
19
  ]
22
20
  }
23
21
  The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
24
- vite v8.1.5 building ssr environment for production...
22
+ vite v8.1.6 building ssr environment for production...
25
23
  Bundle build started
26
24
  
27
25
  ✓ 14 modules transformed.
@@ -35,10 +33,10 @@ dist/cjs/keyring/pairs.cjs 0.86 kB │ gzip: 0.38 kB
35
33
  dist/cjs/index.cjs 0.91 kB │ gzip: 0.31 kB
36
34
  dist/cjs/pair/encode.cjs 0.91 kB │ gzip: 0.44 kB
37
35
  dist/cjs/accounts/mnemonic.cjs 0.95 kB │ gzip: 0.38 kB
38
- dist/cjs/accounts/getPair.cjs 1.41 kB │ gzip: 0.60 kB
36
+ dist/cjs/accounts/getPair.cjs 1.51 kB │ gzip: 0.63 kB
39
37
  dist/cjs/pair/decode.cjs 1.77 kB │ gzip: 0.70 kB
40
38
  dist/cjs/accounts/testAccounts.cjs 1.83 kB │ gzip: 0.78 kB
41
39
  dist/cjs/pair/index.cjs 7.28 kB │ gzip: 2.12 kB
42
40
  dist/cjs/keyring/keyring.cjs 11.14 kB │ gzip: 3.05 kB
43
41
 
44
- ✓ built in 61ms
42
+ ✓ built in 75ms
@@ -1,29 +1,26 @@
1
1
  $ tsc --build --verbose
2
- 2:43:36 PM - Projects in this build:
2
+ 5:07:53 PM - Projects in this build:
3
3
  * ../../dev/config/tsconfig.json
4
4
  * ../util/tsconfig.json
5
5
  * ../locale/tsconfig.json
6
- * ../logger/tsconfig.json
7
6
  * ../util-crypto/tsconfig.json
8
7
  * ../types/tsconfig.json
9
8
  * ../common/tsconfig.json
10
9
  * tsconfig.json
11
10
 
12
- 2:43:36 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'
11
+ 5:07:54 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'
13
12
 
14
- 2:43:36 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
13
+ 5:07:54 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
15
14
 
16
- 2:43:36 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/process.ts' is older than output '../locale/tsconfig.tsbuildinfo'
15
+ 5:07:54 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
17
16
 
18
- 2:43:36 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
17
+ 5:07:54 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'
19
18
 
20
- 2:43:36 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'
19
+ 5:07:54 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
21
20
 
22
- 2:43:36 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
21
+ 5:07:54 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/errorCodes.ts' is older than output '../common/tsconfig.tsbuildinfo'
23
22
 
24
- 2:43:36 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
23
+ 5:07:54 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
25
24
 
26
- 2:43:36 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
27
-
28
- 2:43:36 PM - Building project '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json'...
25
+ 5:07:54 PM - Building project '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json'...
29
26
 
@@ -4,25 +4,23 @@ ViteEsmConfig: .
4
4
  {
5
5
  tsConfigPaths: [
6
6
  '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
7
+ '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
7
8
  '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
8
9
  '/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
9
- '/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
10
- '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
11
10
  '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json'
12
11
  ]
13
12
  }
14
13
  {
15
14
  externals: [
16
15
  '@prosopo/common',
16
+ '@prosopo/types',
17
17
  '@prosopo/locale',
18
18
  '@prosopo/util',
19
- '@prosopo/logger',
20
- '@prosopo/types',
21
19
  '@prosopo/util-crypto'
22
20
  ]
23
21
  }
24
22
  The plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the resolve.tsconfigPaths option. You can remove the plugin and set resolve.tsconfigPaths: true in your Vite config instead.
25
- vite v8.1.5 building ssr environment for production...
23
+ vite v8.1.6 building ssr environment for production...
26
24
  Bundle build started
27
25
  
28
26
  ✓ 14 modules transformed.
@@ -37,10 +35,10 @@ dist/index.js 0.54 kB │ gzip: 0.23 kB
37
35
  dist/keyring/pairs.js 0.71 kB │ gzip: 0.36 kB
38
36
  dist/pair/encode.js 0.77 kB │ gzip: 0.41 kB
39
37
  dist/accounts/mnemonic.js 0.84 kB │ gzip: 0.36 kB
40
- dist/accounts/getPair.js 1.24 kB │ gzip: 0.56 kB
38
+ dist/accounts/getPair.js 1.34 kB │ gzip: 0.59 kB
41
39
  dist/pair/decode.js 1.48 kB │ gzip: 0.66 kB
42
40
  dist/accounts/testAccounts.js 1.63 kB │ gzip: 0.76 kB
43
41
  dist/pair/index.js 6.98 kB │ gzip: 2.09 kB
44
42
  dist/keyring/keyring.js 10.74 kB │ gzip: 2.99 kB
45
43
 
46
- ✓ built in 64ms
44
+ ✓ built in 87ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # @prosopo/keyring
2
2
 
3
+ ## 2.10.9
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
+ - @prosopo/common@3.3.0
47
+ - @prosopo/types@5.17.0
48
+ - @prosopo/util@3.3.16
49
+ - @prosopo/util-crypto@13.6.1
50
+
3
51
  ## 2.10.8
4
52
  ### Patch Changes
5
53
 
@@ -1 +1 @@
1
- {"version":3,"file":"getPair.d.ts","sourceRoot":"","sources":["../../src/accounts/getPair.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,wBAAgB,OAAO,CACtB,MAAM,CAAC,EAAE,MAAM,GAAG,gBAAgB,GAAG,kBAAkB,EACvD,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,EAC7B,QAAQ,CAAC,EAAE,WAAW,EACtB,UAAU,CAAC,EAAE,MAAM,GACjB,WAAW,CAkCb"}
1
+ {"version":3,"file":"getPair.d.ts","sourceRoot":"","sources":["../../src/accounts/getPair.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,wBAAgB,OAAO,CACtB,MAAM,CAAC,EAAE,MAAM,GAAG,gBAAgB,GAAG,kBAAkB,EACvD,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,EAC7B,QAAQ,CAAC,EAAE,WAAW,EACtB,UAAU,CAAC,EAAE,MAAM,GACjB,WAAW,CAyCb"}
@@ -2,7 +2,7 @@ import { Keyring } from "../keyring/keyring.js";
2
2
  import { mnemonicValidate } from "@prosopo/util-crypto";
3
3
  import { hexToU8a } from "@polkadot/util/hex";
4
4
  import { isHex } from "@polkadot/util/is";
5
- import { ProsopoEnvError } from "@prosopo/common";
5
+ import { ProsopoError } from "@prosopo/common";
6
6
  //#region src/accounts/getPair.ts
7
7
  function getPair(secret, account, pairType, ss58Format) {
8
8
  pairType = pairType || "sr25519";
@@ -24,10 +24,19 @@ function getPair(secret, account, pairType, ss58Format) {
24
24
  ss58Format
25
25
  }).addFromJson(json);
26
26
  } catch (e) {
27
- throw new ProsopoEnvError("GENERAL.MISSING_SECRET_KEY", { context: { error: e } });
27
+ throw new ProsopoError({
28
+ code: "CONFIG_INVALID",
29
+ errorSite: "KEYR-1",
30
+ message: "Missing secret key",
31
+ cause: e
32
+ });
28
33
  }
29
34
  } else if (typeof secret === "object") return keyring.addFromJson(secret);
30
- else throw new ProsopoEnvError("GENERAL.MISSING_SECRET_KEY");
35
+ else throw new ProsopoError({
36
+ code: "CONFIG_INVALID",
37
+ errorSite: "KEYR-2",
38
+ message: "Missing secret key"
39
+ });
31
40
  }
32
41
  //#endregion
33
42
  export { getPair };
@@ -1 +1 @@
1
- {"version":3,"file":"getPair.js","sourceRoot":"","sources":["../../src/accounts/getPair.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,MAAM,UAAU,OAAO,CACtB,MAAuD,EACvD,OAA6B,EAC7B,QAAsB,EACtB,UAAmB;IAEnB,QAAQ,GAAG,QAAQ,IAAI,SAAS,CAAC;IACjC,UAAU,GAAG,UAAU,IAAI,EAAE,CAAC;IAC9B,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;IAC5D,IAAI,CAAC,MAAM,IAAI,OAAO,EAAE,CAAC;QACxB,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IACD,IAAI,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QAC1C,IAAI,gBAAgB,CAAC,MAAM,CAAC,E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C;YAC9D,OAAO,OAAO,CAAC,WAAW,CAAC,IAAwB,CAAC,CAAC;QACtD,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACZ,MAAM,IAAI,YAAY,CAAC;gBACtB,IAAI,EAAE,gBAAgB;gBACtB,SAAS,EAAE,QAAQ;gBACnB,OAAO,EAAE,oBAAoB;gBAC7B,KAAK,EAAE,CAAC;aACR,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;SAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QACvC,OAAO,OAAO,CAAC,WAAW,CAAC,MAA0B,CAAC,CAAC;IACxD,CAAC;SAAM,CAAC;QACP,MAAM,IAAI,YAAY,CAAC;YACtB,IAAI,EAAE,gBAAgB;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,oBAAoB;SAC7B,CAAC,CAAC;IACJ,CAAC;AACF,CAAC"}
@@ -24,10 +24,19 @@ function getPair(secret, account, pairType, ss58Format) {
24
24
  ss58Format
25
25
  }).addFromJson(json);
26
26
  } catch (e) {
27
- throw new _prosopo_common.ProsopoEnvError("GENERAL.MISSING_SECRET_KEY", { context: { error: e } });
27
+ throw new _prosopo_common.ProsopoError({
28
+ code: "CONFIG_INVALID",
29
+ errorSite: "KEYR-1",
30
+ message: "Missing secret key",
31
+ cause: e
32
+ });
28
33
  }
29
34
  } else if (typeof secret === "object") return keyring.addFromJson(secret);
30
- else throw new _prosopo_common.ProsopoEnvError("GENERAL.MISSING_SECRET_KEY");
35
+ else throw new _prosopo_common.ProsopoError({
36
+ code: "CONFIG_INVALID",
37
+ errorSite: "KEYR-2",
38
+ message: "Missing secret key"
39
+ });
31
40
  }
32
41
  //#endregion
33
42
  exports.getPair = getPair;
@@ -0,0 +1,8 @@
1
+ declare module "@prosopo/common" {
2
+ interface ErrorSites {
3
+ "KEYR-1": true;
4
+ "KEYR-2": true;
5
+ }
6
+ }
7
+ export {};
8
+ //# sourceMappingURL=errorSites.d.ts.map
@@ -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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=errorSites.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errorSites.js","sourceRoot":"","sources":["../src/errorSites.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/keyring",
3
- "version": "2.10.8",
3
+ "version": "2.10.9",
4
4
  "description": "Keypair generator for Prosopo",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,24 +28,24 @@
28
28
  "homepage": "https://github.com/prosopo/captcha#readme",
29
29
  "dependencies": {
30
30
  "@polkadot/util": "14.0.3",
31
- "@prosopo/common": "3.2.3",
32
- "@prosopo/types": "5.16.3",
33
- "@prosopo/util": "3.3.15",
34
- "@prosopo/util-crypto": "13.6.0",
35
- "dotenv": "16.4.5"
31
+ "@prosopo/common": "3.3.0",
32
+ "@prosopo/types": "5.17.0",
33
+ "@prosopo/util": "3.3.16",
34
+ "@prosopo/util-crypto": "13.6.1",
35
+ "dotenv": "18.0.7"
36
36
  },
37
37
  "devDependencies": {
38
- "@prosopo/config": "3.4.5",
38
+ "@prosopo/config": "3.5.0",
39
39
  "@types/node": "22.10.2",
40
- "@vitest/coverage-v8": "4.1.11",
40
+ "@vitest/coverage-v8": "5.0.4",
41
41
  "concurrently": "9.0.1",
42
42
  "del-cli": "6.0.0",
43
43
  "npm-run-all": "4.1.5",
44
44
  "tslib": "2.7.0",
45
45
  "tsx": "4.20.3",
46
46
  "typescript": "5.6.2",
47
- "vite": "8.1.5",
48
- "vitest": "4.1.11"
47
+ "vite": "8.1.6",
48
+ "vitest": "5.0.4"
49
49
  },
50
50
  "sideEffects": false,
51
51
  "scripts": {