create-fuzionx 0.1.47 → 0.1.48

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/fx.js CHANGED
@@ -64,8 +64,8 @@ if (existsSync(localBin) || existsSync(localCli)) {
64
64
  fx make:worker <Name> Create worker (shared/workers)
65
65
  fx make:test <Name> Create test
66
66
  fx dev Start dev server (--watch)
67
- fx dev:spa Start dev server + Vite HMR
68
- fx build:spa Build SPA for production
67
+ fx dev:spa [--app=<name>] Start dev server + Vite HMR
68
+ fx build:spa [--app=<name>] Build SPA for production
69
69
  fx stop Stop server (graceful)
70
70
  fx restart Restart server (graceful)
71
71
  fx test Run tests
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fuzionx",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "description": "Create a new FuzionX application — npx create-fuzionx my-app",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,8 +9,8 @@
9
9
  "test": "vitest run"
10
10
  },
11
11
  "dependencies": {
12
- "@fuzionx/framework": "^0.1.47",
13
- "@fuzionx/client": "^0.1.47",
12
+ "@fuzionx/framework": "^0.1.48",
13
+ "@fuzionx/client": "^0.1.48",
14
14
  "joi": "^18.1.1"
15
15
  },
16
16
  "devDependencies": {
@@ -4,7 +4,7 @@
4
4
  "description": "Vue.js 3 SPA + Tera SSR 하이브리드. WASM 암호화 통신.",
5
5
  "features": ["auth", "board", "i18n", "asp", "wasm"],
6
6
  "dependencies": {
7
- "@fuzionx/client": "^0.1.47"
7
+ "@fuzionx/client": "^0.1.48"
8
8
  },
9
9
  "devDependencies": {},
10
10
  "spaDevDependencies": {
@@ -201,9 +201,9 @@ async function connectWS() {
201
201
  // masterSecret는 main.js에서 inject('masterSecret')로 제공됨
202
202
  const masterSecret = injectedMasterSecret || '';
203
203
 
204
- ws = new window.FuzionXSocket(url, masterSecret, window.__FX_ENC_ENABLED__);
204
+ ws = new window.FuzionXSocket(url, masterSecret, window.__FX__ENC_ENABLED);
205
205
 
206
- ws.on('connect', () => { setStatus('connected', window.__FX_ENC_ENABLED__ ? 'connected (ASP 🔐)' : 'connected'); });
206
+ ws.on('connect', () => { setStatus('connected', window.__FX__ENC_ENABLED ? 'connected (ASP 🔐)' : 'connected'); });
207
207
 
208
208
  ws.on('message', (raw) => { console.log('[Chat] raw:', JSON.stringify(raw)); });
209
209