@prosopo/api-express-router 3.1.80 → 3.1.82

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-express-router@3.1.80 build:cjs
2
+ > @prosopo/api-express-router@3.1.82 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -57,4 +57,4 @@ dist/cjs/endpointAdapter/apiExpressDefaultEndpointAdapter.cjs 1.49 kB │ gzip:
57
57
  dist/cjs/middlewares/authMiddleware.cjs 1.71 kB │ gzip: 0.74 kB
58
58
  dist/cjs/middlewares/requestLoggerMiddleware.cjs 1.81 kB │ gzip: 0.78 kB
59
59
 
60
- ✓ built in 32ms
60
+ ✓ built in 48ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/api-express-router@3.1.80 build:tsc
2
+ > @prosopo/api-express-router@3.1.82 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 1:56:51 PM - Projects in this build:
5
+ 1:16:02 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../util/tsconfig.json
8
8
  * ../logger/tsconfig.json
@@ -22,41 +22,41 @@
22
22
  * ../env/tsconfig.json
23
23
  * tsconfig.json
24
24
 
25
- 1:56:51 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'
25
+ 1:16:02 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'
26
26
 
27
- 1:56:51 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
27
+ 1:16:02 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
28
28
 
29
- 1:56:51 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
29
+ 1:16:02 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
30
30
 
31
- 1:56:51 PM - Project '../api-route/tsconfig.json' is up to date because newest input '../api-route/src/index.ts' is older than output '../api-route/tsconfig.tsbuildinfo'
31
+ 1:16:02 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'
32
32
 
33
- 1:56:51 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
33
+ 1:16:02 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
- 1:56:51 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'
35
+ 1:16:02 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'
36
36
 
37
- 1:56:51 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
37
+ 1:16:02 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'
38
38
 
39
- 1:56:51 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
39
+ 1:16:02 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/utils/batches.ts' is older than output '../common/tsconfig.tsbuildinfo'
40
40
 
41
- 1:56:51 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
41
+ 1:16:02 PM - Project '../ipinfo/tsconfig.json' is up to date because newest input '../ipinfo/src/IpInfoService.ts' is older than output '../ipinfo/tsconfig.tsbuildinfo'
42
42
 
43
- 1:56:51 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'
43
+ 1:16:02 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'
44
44
 
45
- 1:56:51 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
45
+ 1:16:02 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/tests/apiHarness.ts' is older than output '../api/tsconfig.tsbuildinfo'
46
46
 
47
- 1:56:51 PM - Project '../user-access-policy/tsconfig.json' is up to date because newest input '../user-access-policy/src/rule.ts' is older than output '../user-access-policy/tsconfig.tsbuildinfo'
47
+ 1:16:02 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'
48
48
 
49
- 1:56:51 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'
49
+ 1:16:02 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'
50
50
 
51
- 1:56:51 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/mongoGlobalSetup.ts' is older than output '../database/tsconfig.tsbuildinfo'
51
+ 1:16:02 PM - Project '../database/tsconfig.json' is up to date because newest input '../database/src/tests/unit/captchaLabel.unit.test.ts' is older than output '../database/tsconfig.tsbuildinfo'
52
52
 
53
- 1:56:51 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
53
+ 1:16:02 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'
54
54
 
55
- 1:56:51 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'
55
+ 1:16:02 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'
56
56
 
57
- 1:56:51 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/index.ts' is older than output '../env/tsconfig.tsbuildinfo'
57
+ 1:16:02 PM - Project '../env/tsconfig.json' is up to date because newest input '../env/src/index.ts' is older than output '../env/tsconfig.tsbuildinfo'
58
58
 
59
- 1:56:51 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
59
+ 1:16:02 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
60
60
 
61
- 1:56:51 PM - Building project '/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json'...
61
+ 1:16:02 PM - Building project '/home/runner/work/captcha/captcha/packages/api-express-router/tsconfig.json'...
62
62
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/api-express-router@3.1.80 build
2
+ > @prosopo/api-express-router@3.1.82 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/api-express-router@3.1.80 build:cross-env
6
+ > @prosopo/api-express-router@3.1.82 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -62,4 +62,4 @@ dist/endpointAdapter/apiExpressDefaultEndpointAdapter.js 1.30 kB │ gzip: 0.59
62
62
  dist/middlewares/authMiddleware.js 1.60 kB │ gzip: 0.72 kB
63
63
  dist/middlewares/requestLoggerMiddleware.js 1.75 kB │ gzip: 0.76 kB
64
64
 
65
- ✓ built in 34ms
65
+ ✓ built in 61ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,67 @@
1
1
  # @prosopo/api-express-router
2
2
 
3
+ ## 3.1.82
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [6f57ee9]
7
+ - Updated dependencies [d288371]
8
+ - @prosopo/types@5.7.0
9
+ - @prosopo/util@3.3.9
10
+ - @prosopo/env@3.6.51
11
+ - @prosopo/api-route@2.6.58
12
+ - @prosopo/common@3.1.54
13
+ - @prosopo/logger@2.0.9
14
+
15
+ ## 3.1.81
16
+ ### Patch Changes
17
+
18
+ - 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
19
+
20
+ Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
21
+ 8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
22
+ 13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
23
+ `@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
24
+ `testcontainers` 11 -> 12. The rest are minor/patch.
25
+
26
+ Code changes the majors forced:
27
+ - `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
28
+ so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
29
+ `secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
30
+ `ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
31
+ - mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
32
+ `background: true` on schema indexes by default, and no longer declares
33
+ `id` on `Document`, which un-hid a mismatch between
34
+ `updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
35
+ filters on.
36
+ - mongoose 9 rejects an aggregation-pipeline update (an array) unless the
37
+ call passes `updatePipeline: true`, so the six pipeline writes in
38
+ `ProviderDatabase` now opt in explicitly.
39
+ - mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
40
+ `storeUserImageCaptchaSolution` passed its record straight in as the
41
+ update, and mongoose's `moveImmutableProperties` mutates that object on
42
+ an upsert -- adding the very `$setOnInsert` key the record then carried
43
+ into `CentralDbStreamer.streamImageRecord`. Image records stopped
44
+ reaching the central DB (the streamer is fire-and-forget, so it only
45
+ logged) and signup verification returned 500. The update is now an
46
+ explicit `$set` over a shallow copy.
47
+ - `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
48
+ mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
49
+ - `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
50
+ `@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
51
+ `@vitest/spy` and broke type inference in the provider test utils.
52
+ - Updated dependencies [1b77849]
53
+ - Updated dependencies [89dd38a]
54
+ - Updated dependencies [80f73c1]
55
+ - Updated dependencies [8a670d3]
56
+ - @prosopo/util-crypto@13.5.31
57
+ - @prosopo/api-route@2.6.57
58
+ - @prosopo/common@3.1.53
59
+ - @prosopo/env@3.6.50
60
+ - @prosopo/locale@3.4.1
61
+ - @prosopo/logger@2.0.8
62
+ - @prosopo/types@5.6.0
63
+ - @prosopo/util@3.3.8
64
+
3
65
  ## 3.1.80
4
66
  ### Patch Changes
5
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/api-express-router",
3
- "version": "3.1.80",
3
+ "version": "3.1.82",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -26,24 +26,24 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@polkadot/util": "13.5.7",
29
- "@prosopo/api-route": "2.6.56",
30
- "@prosopo/common": "3.1.52",
31
- "@prosopo/logger": "2.0.7",
32
- "@prosopo/env": "3.6.49",
33
- "@prosopo/locale": "3.4.0",
34
- "@prosopo/types": "5.5.3",
35
- "@prosopo/util": "3.3.7",
36
- "@prosopo/util-crypto": "13.5.30",
29
+ "@prosopo/api-route": "2.6.58",
30
+ "@prosopo/common": "3.1.54",
31
+ "@prosopo/logger": "2.0.9",
32
+ "@prosopo/env": "3.6.51",
33
+ "@prosopo/locale": "3.4.1",
34
+ "@prosopo/types": "5.7.0",
35
+ "@prosopo/util": "3.3.9",
36
+ "@prosopo/util-crypto": "13.5.31",
37
37
  "dotenv": "16.4.5",
38
38
  "express": "4.22.2",
39
39
  "i18next": "24.1.0",
40
- "uuid": "14.0.1",
40
+ "uuid": "14.0.2",
41
41
  "zod": "3.23.8"
42
42
  },
43
43
  "devDependencies": {
44
- "@prosopo/config": "3.3.12",
44
+ "@prosopo/config": "3.3.14",
45
45
  "@types/node": "22.10.2",
46
- "vitest": "4.1.10"
46
+ "vitest": "4.1.11"
47
47
  },
48
48
  "author": "PROSOPO LIMITED <info@prosopo.io>",
49
49
  "license": "Apache-2.0",