@prosopo/keyring 2.9.83 → 2.9.85

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/keyring@2.9.83 build:cjs
2
+ > @prosopo/keyring@2.9.85 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -44,4 +44,4 @@ dist/cjs/pair/decode.cjs 1.77 kB │ gzip: 0.70 kB
44
44
  dist/cjs/pair/index.cjs 7.26 kB │ gzip: 2.12 kB
45
45
  dist/cjs/keyring/keyring.cjs 11.14 kB │ gzip: 3.05 kB
46
46
 
47
- ✓ built in 61ms
47
+ ✓ built in 108ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/keyring@2.9.83 build:tsc
2
+ > @prosopo/keyring@2.9.85 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 1:56:18 PM - Projects in this build:
5
+ 1:15:11 PM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../locale/tsconfig.json
8
8
  * ../util/tsconfig.json
@@ -12,21 +12,21 @@
12
12
  * ../common/tsconfig.json
13
13
  * tsconfig.json
14
14
 
15
- 1:56:18 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'
15
+ 1:15:11 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'
16
16
 
17
- 1:56:18 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
17
+ 1:15:11 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
18
18
 
19
- 1:56:18 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
19
+ 1:15:11 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
20
20
 
21
- 1:56:18 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
21
+ 1:15:11 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
22
22
 
23
- 1:56:18 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'
23
+ 1:15:11 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'
24
24
 
25
- 1:56:18 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/index.ts' is older than output '../types/tsconfig.tsbuildinfo'
25
+ 1:15:11 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'
26
26
 
27
- 1:56:18 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/index.ts' is older than output '../common/tsconfig.tsbuildinfo'
27
+ 1:15:11 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/utils/batches.ts' is older than output '../common/tsconfig.tsbuildinfo'
28
28
 
29
- 1:56:18 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
29
+ 1:15:11 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
30
30
 
31
- 1:56:18 PM - Building project '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json'...
31
+ 1:15:11 PM - Building project '/home/runner/work/captcha/captcha/packages/keyring/tsconfig.json'...
32
32
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/keyring@2.9.83 build
2
+ > @prosopo/keyring@2.9.85 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/keyring@2.9.83 build:cross-env
6
+ > @prosopo/keyring@2.9.85 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
package/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # @prosopo/keyring
2
2
 
3
+ ## 2.9.85
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/common@3.1.54
11
+
12
+ ## 2.9.84
13
+ ### Patch Changes
14
+
15
+ - 89dd38a: chore(deps): batch the outstanding dependabot bumps into one upgrade
16
+
17
+ Rolls up dependabot PRs #3112, #3127-#3134 and #3159. Majors: `mongoose`
18
+ 8 -> 9, `bson` 6 -> 7, `@noble/curves` 1 -> 2, `@polkadot/util-crypto`
19
+ 13 -> 14, `@typegoose/auto-increment` 4 -> 5, `@babel/preset-env` 7 -> 8,
20
+ `@types/jsdom` 21 -> 30, `@types/bcrypt` 5 -> 6, `@actions/github` 6 -> 9,
21
+ `testcontainers` 11 -> 12. The rest are minor/patch.
22
+
23
+ Code changes the majors forced:
24
+ - `@noble/curves` v2 requires `.js` specifiers and renamed the point API,
25
+ so `secp256k1.ProjectivePoint.fromHex(...).toRawBytes()` becomes
26
+ `secp256k1.Point.fromBytes(...).toBytes()`, `RistrettoPoint` becomes
27
+ `ristretto255.Point`, and `abstract/utils` moves to `utils.js`.
28
+ - mongoose 9 drops `RootFilterQuery` (now `QueryFilter`), no longer sets
29
+ `background: true` on schema indexes by default, and no longer declares
30
+ `id` on `Document`, which un-hid a mismatch between
31
+ `updateDappUserCommitment`'s `Hash` parameter and the `string` `id` it
32
+ filters on.
33
+ - mongoose 9 rejects an aggregation-pipeline update (an array) unless the
34
+ call passes `updatePipeline: true`, so the six pipeline writes in
35
+ `ProviderDatabase` now opt in explicitly.
36
+ - mongoose 9's `castUpdate` throws on a `$setOnInsert` key inside `$set`.
37
+ `storeUserImageCaptchaSolution` passed its record straight in as the
38
+ update, and mongoose's `moveImmutableProperties` mutates that object on
39
+ an upsert -- adding the very `$setOnInsert` key the record then carried
40
+ into `CentralDbStreamer.streamImageRecord`. Image records stopped
41
+ reaching the central DB (the streamer is fire-and-forget, so it only
42
+ logged) and signup verification returned 500. The update is now an
43
+ explicit `$set` over a shallow copy.
44
+ - `@prosopo/database` moves from mongodb 6.20 to 7.5 to match the driver
45
+ mongoose 9 pulls, so bson 7 is the only copy resolvable in the package.
46
+ - `vitest`/`@vitest/coverage-v8` go to 4.1.11 alongside dependabot's
47
+ `@vitest/spy` bump; leaving them at 4.1.10 installed a second copy of
48
+ `@vitest/spy` and broke type inference in the provider test utils.
49
+ - Updated dependencies [1b77849]
50
+ - Updated dependencies [89dd38a]
51
+ - Updated dependencies [80f73c1]
52
+ - Updated dependencies [8a670d3]
53
+ - @prosopo/util-crypto@13.5.31
54
+ - @prosopo/common@3.1.53
55
+ - @prosopo/types@5.6.0
56
+ - @prosopo/util@3.3.8
57
+
3
58
  ## 2.9.83
4
59
  ### Patch Changes
5
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/keyring",
3
- "version": "2.9.83",
3
+ "version": "2.9.85",
4
4
  "description": "Keypair generator for Prosopo",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -38,17 +38,17 @@
38
38
  "homepage": "https://github.com/prosopo/captcha#readme",
39
39
  "dependencies": {
40
40
  "@polkadot/util": "13.5.7",
41
- "@polkadot/util-crypto": "13.5.7",
42
- "@prosopo/common": "3.1.52",
43
- "@prosopo/types": "5.5.3",
44
- "@prosopo/util": "3.3.7",
45
- "@prosopo/util-crypto": "13.5.30",
41
+ "@polkadot/util-crypto": "14.0.3",
42
+ "@prosopo/common": "3.1.54",
43
+ "@prosopo/types": "5.7.0",
44
+ "@prosopo/util": "3.3.9",
45
+ "@prosopo/util-crypto": "13.5.31",
46
46
  "dotenv": "16.4.5"
47
47
  },
48
48
  "devDependencies": {
49
- "@prosopo/config": "3.3.12",
49
+ "@prosopo/config": "3.3.14",
50
50
  "@types/node": "22.10.2",
51
- "@vitest/coverage-v8": "4.1.10",
51
+ "@vitest/coverage-v8": "4.1.11",
52
52
  "concurrently": "9.0.1",
53
53
  "del-cli": "6.0.0",
54
54
  "npm-run-all": "4.1.5",
@@ -56,7 +56,7 @@
56
56
  "tsx": "4.20.3",
57
57
  "typescript": "5.6.2",
58
58
  "vite": "8.1.5",
59
- "vitest": "4.1.10"
59
+ "vitest": "4.1.11"
60
60
  },
61
61
  "sideEffects": false
62
62
  }