milkio 1.0.0-alpha.39 → 1.0.0-alpha.40

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/listener/index.ts CHANGED
@@ -86,7 +86,7 @@ export const __initListener = (generated: GeneratedInit, runtime: any, executer:
86
86
 
87
87
  await runtime.emit("milkio:httpRequest", { executeId, logger, path: http.path.string as string, http });
88
88
 
89
- if (!runtime.develop && ((http.path.string as string).includes("__") || (http.path.string as string).startsWith("/$call/"))) {
89
+ if (!runtime.develop && ((http.path.string as string).includes("__") || (http.path.string as string).startsWith("/__/"))) {
90
90
  await runtime.emit("milkio:httpNotFound", { executeId, logger, path: http.path.string as string, http });
91
91
  throw reject("NOT_FOUND", { path: http.path.string as string });
92
92
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "milkio",
3
3
  "type": "module",
4
4
  "module": "index.ts",
5
- "version": "1.0.0-alpha.39",
5
+ "version": "1.0.0-alpha.40",
6
6
  "peerDependencies": {
7
7
  "typescript": "^5.4.2"
8
8
  },
package/world/index.ts CHANGED
@@ -70,7 +70,7 @@ export const createWorld = async <MilkioOptions extends MilkioInit>(generated: G
70
70
  commander,
71
71
  // listener
72
72
  listener,
73
- // functions
73
+ // function
74
74
  config,
75
75
  };
76
76