diff --git a/package.json b/package.json index 4e0cff0..0084bd0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "1.3.4", + "version": "1.3.5", "packageManager": "pnpm@8.6.1", "type": "module", "scripts": { diff --git a/packages/create-gopeed-ext/package.json b/packages/create-gopeed-ext/package.json index 1d71abc..a270c60 100644 --- a/packages/create-gopeed-ext/package.json +++ b/packages/create-gopeed-ext/package.json @@ -1,6 +1,6 @@ { "name": "create-gopeed-ext", - "version": "1.3.4", + "version": "1.3.5", "keywords": [ "gopeed" ], diff --git a/packages/create-gopeed-ext/templates/webpack/package.json b/packages/create-gopeed-ext/templates/webpack/package.json index 9f838a1..d30249f 100644 --- a/packages/create-gopeed-ext/templates/webpack/package.json +++ b/packages/create-gopeed-ext/templates/webpack/package.json @@ -20,7 +20,7 @@ "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", - "gopeed": "^1.3.4", + "gopeed": "^1.3.5", "gopeed-polyfill-webpack-plugin": "^1.0.2", "prettier": "^3.0.3", "webpack": "^5.75.0", diff --git a/packages/gopeed-rest/package.json b/packages/gopeed-rest/package.json index eccdefb..7dd2465 100644 --- a/packages/gopeed-rest/package.json +++ b/packages/gopeed-rest/package.json @@ -1,6 +1,6 @@ { "name": "@gopeed/rest", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "dist/index.js", "exports": { diff --git a/packages/gopeed-types/package.json b/packages/gopeed-types/package.json index 56347f8..e19affc 100644 --- a/packages/gopeed-types/package.json +++ b/packages/gopeed-types/package.json @@ -1,6 +1,6 @@ { "name": "@gopeed/types", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "dist/index.js", "exports": { diff --git a/packages/gopeed/package.json b/packages/gopeed/package.json index 47b7dd5..7b1792e 100644 --- a/packages/gopeed/package.json +++ b/packages/gopeed/package.json @@ -1,6 +1,6 @@ { "name": "gopeed", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "index.js", "type": "module", diff --git a/packages/gopeed/types/events.d.ts b/packages/gopeed/types/events.d.ts index cb53294..6dfe19b 100644 --- a/packages/gopeed/types/events.d.ts +++ b/packages/gopeed/types/events.d.ts @@ -10,8 +10,8 @@ export interface OnStartContext { task: Task; } -export type EventOnResolve = (ctx: OnResovleContext) => void; -export type EventOnStart = (ctx: OnStartContext) => void; +export type EventOnResolve = (ctx: OnResovleContext) => Promise | void; +export type EventOnStart = (ctx: OnStartContext) => Promise | void; export interface Events { onResolve: (handler: EventOnResolve) => void;