@gaonjs/config 0.24.0 → 0.25.0

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.
Files changed (2) hide show
  1. package/dist/wire.js +5 -0
  2. package/package.json +6 -6
package/dist/wire.js CHANGED
@@ -401,6 +401,11 @@ async function assembleApp(config, root, domain, redis, nats) {
401
401
  apps: specs,
402
402
  version: config.web?.assetsVersion,
403
403
  cookieSecret: config.web?.cookieSecret,
404
+ // 결정 431: 프로세스 공용 redis(gaon.config 의 redis)를 web 에 넘긴다 — seal 의 replay
405
+ // nonce store 가 **세션 없는 앱**에서도 공유 store 를 타게 하는 폴백이다. 이전엔 seal 이
406
+ // spec.session?.redis 만 봐서, REDIS_URL 을 구성해도 세션을 안 쓰는 seal 앱(JWT API)은
407
+ // in-memory nonce(프로세스별 격리)로 조용히 떨어졌다. 세션 저장소 배선은 그대로다.
408
+ redis,
404
409
  // 결정 159(W1): i18n 설정이 있으면 매 요청 로케일을 협상해 ALS 에 심는다(자동 배선).
405
410
  // createApp 의 onRequest 슬롯이 이 통로다(web↔i18n 결합 회피). 이게 없으면
406
411
  // detectLanguage·enterLanguage 가 죽은 코드라 t() 가 항상 fallback 이었다(반쪽 배선).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaonjs/config",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Gaon 루트 설정 로더·자동 배선 (gaon.config.ts)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,14 +30,14 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "ioredis": "^5.4.1",
33
- "@gaonjs/adapter-mongo": "0.4.1",
34
- "@gaonjs/core": "0.2.4",
35
- "@gaonjs/async": "0.18.0",
33
+ "@gaonjs/adapter-mongo": "0.4.2",
36
34
  "@gaonjs/i18n": "0.3.0",
35
+ "@gaonjs/data": "0.25.2",
36
+ "@gaonjs/async": "0.18.1",
37
+ "@gaonjs/core": "0.2.4",
37
38
  "@gaonjs/mail": "0.5.0",
38
39
  "@gaonjs/storage": "0.1.5",
39
- "@gaonjs/data": "0.25.1",
40
- "@gaonjs/web": "0.29.0"
40
+ "@gaonjs/web": "0.30.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "fastify": "^5.0.0"