diff --git a/src/nuxt.ts b/src/nuxt.ts index 2a1174a..e1dd524 100644 --- a/src/nuxt.ts +++ b/src/nuxt.ts @@ -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 } }