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.
- package/files/handler.js +1 -1
- 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