fix: call setAppReady() automatically in createFromNuxtConfig

This commit is contained in:
Fabian @ Blax Software 2026-04-16 08:52:52 +02:00
parent 34f9d8fd81
commit cca10c6061
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,9 @@ export function createFromNuxtConfig(options: NuxtNetworkingOptions = {}): {
;(globalThis as any).ws = ws
}
// In Nuxt, the plugin IS the init — unblock gated sends immediately
ws.setAppReady()
return { api, ws }
}