milkio 1.0.0-alpha.23 → 1.0.0-alpha.24

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/.co.toml CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
package/action/index.ts CHANGED
File without changes
package/command/index.ts CHANGED
File without changes
package/context/index.ts CHANGED
File without changes
package/events/index.ts CHANGED
File without changes
File without changes
File without changes
package/execute/index.ts CHANGED
File without changes
package/index.ts CHANGED
File without changes
package/listener/index.ts CHANGED
@@ -108,7 +108,7 @@ export const __initListener = (generated: GeneratedInit, runtime: any, executer:
108
108
  paramsType: "string",
109
109
  });
110
110
 
111
- if (executed.results.value !== undefined) response.body = TSON.stringify({ success: true, data: executed.results.value, executeId } satisfies MilkioResponseSuccess<any>);
111
+ if (response.body === "" && executed.results.value !== undefined) response.body = TSON.stringify({ success: true, data: executed.results.value, executeId } satisfies MilkioResponseSuccess<any>);
112
112
 
113
113
  await runtime.emit("milkio:httpResponse", { executeId, logger, path: http.path.string as string, http, context: executed.context });
114
114
 
package/logger/index.ts CHANGED
File without changes
package/meta/index.ts CHANGED
File without changes
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.23",
5
+ "version": "1.0.0-alpha.24",
6
6
  "peerDependencies": {
7
7
  "typescript": "^5.4.2"
8
8
  },
package/stream/index.ts CHANGED
File without changes
package/tsconfig.json CHANGED
File without changes
package/types/index.ts CHANGED
File without changes
File without changes
File without changes
package/world/index.ts CHANGED
File without changes