@gaonjs/web 0.2.1 → 0.2.2

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/dist/app.d.ts CHANGED
@@ -54,6 +54,8 @@ export interface CreateAppOptions {
54
54
  readonly realtime?: {
55
55
  readonly nats: GaonNats;
56
56
  readonly server?: string;
57
+ /** 허브 TCP 주소 'host:port'(errata E-2). 생략 시 NATS KV 공지 발견. */
58
+ readonly hubAddr?: string;
57
59
  readonly heartbeatMs?: number;
58
60
  };
59
61
  }
package/dist/app.js CHANGED
@@ -32,6 +32,7 @@ export async function createApp(opts) {
32
32
  runtime = await createChannelRuntime({
33
33
  nats: opts.realtime.nats,
34
34
  server,
35
+ hubAddr: opts.realtime.hubAddr,
35
36
  heartbeatMs: opts.realtime.heartbeatMs,
36
37
  });
37
38
  // 전역 upgrade 훅은 루트에서 한 번만 — 채널 라우트는 앱 스코프에서 정의.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaonjs/web",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Gaon 웹 레이어: Fastify 통합·파일 기반 라우팅·보안 기본값 (구현 예정)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -34,8 +34,8 @@
34
34
  "fastify": "^5.10.0",
35
35
  "ioredis": "^5.11.1",
36
36
  "jose": "^6.2.4",
37
- "@gaonjs/core": "0.1.3",
38
- "@gaonjs/async": "0.2.0"
37
+ "@gaonjs/async": "0.2.1",
38
+ "@gaonjs/core": "0.1.3"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json"