next-ws 0.0.0-beta-20250824084203 → 0.0.0-beta-20250826080310

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/dist/cli.cjs CHANGED
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  var import_minimist = __toESM(require("minimist"));
28
28
 
29
29
  // package.json
30
- var version = "0.0.0-beta-20250824084203";
30
+ var version = "0.0.0-beta-20250826080310";
31
31
 
32
32
  // src/commands/helpers/define.ts
33
33
  function defineCommandGroup(definition) {
@@ -138,7 +138,7 @@ async function importRouteModule(nextServer, filePath) {
138
138
  }
139
139
  try {
140
140
  const buildPagePath = nextServer.getPagePath(filePath);
141
- return require(buildPagePath).routeModule;
141
+ return (await require(buildPagePath)).routeModule;
142
142
  } catch (cause) {
143
143
  console.error(cause);
144
144
  return void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-ws",
3
- "version": "0.0.0-beta-20250824084203",
3
+ "version": "0.0.0-beta-20250826080310",
4
4
  "description": "Add support for WebSockets in the Next.js app directory",
5
5
  "license": "MIT",
6
6
  "keywords": [