bump beta.3

This commit is contained in:
undefined committed 2025-06-04 13:01:25 +08:00
1 parent cd24cba711
commit 23e4dbf1be
12 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ export class ApiService extends Service {
await emitHook?.(`api/before/${callOrName}`, args);
}
let result = await func(context, args as any, sendPayload);
if (result && 'next' in result) {
if (result && typeof result === 'object' && 'next' in result) {
const it = result as AsyncGenerator<any, any, never>;
while (true) {
const value = await it.next(); // eslint-disable-line no-await-in-loop
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/framework",
"version": "0.2.0-beta.2",
"version": "0.2.0-beta.3",
"main": "index.ts",
"license": "MIT",
"peerDependencies": {