svelte-adapter-uws 0.4.0 → 0.4.1

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/files/handler.js +1 -1
  2. package/package.json +1 -1
package/files/handler.js CHANGED
@@ -1285,7 +1285,7 @@ function handleRequest(res, req) {
1285
1285
  // WS_ENABLED is set by the adapter at build time - no inference from exports needed
1286
1286
  if (WS_ENABLED) {
1287
1287
  // Warn about unrecognized exports - catches typos like "mesage" or "opn"
1288
- const knownWsExports = new Set(['open', 'message', 'upgrade', 'close', 'drain', 'subscribe']);
1288
+ const knownWsExports = new Set(['open', 'message', 'upgrade', 'close', 'drain', 'subscribe', 'unsubscribe']);
1289
1289
  for (const name of Object.keys(wsModule)) {
1290
1290
  if (!knownWsExports.has(name)) {
1291
1291
  console.warn(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-adapter-uws",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "SvelteKit adapter for uWebSockets.js - high-performance C++ HTTP server with built-in WebSocket support",
5
5
  "author": "Kevin Radziszewski",
6
6
  "license": "MIT",