@koishijs/core
Advanced tools
Comparing version 4.9.3 to 4.9.4
@@ -113,2 +113,3 @@ import * as utils from '@koishijs/utils'; | ||
private _resolvePrefixes; | ||
private _stripNickname; | ||
private _process; | ||
@@ -384,3 +385,3 @@ private _handleMessage; | ||
send(content: string | satori.segment): Promise<string[]>; | ||
cancelQueued(delay?: number): void; | ||
cancelQueued(delay?: any): void; | ||
private _next; | ||
@@ -404,3 +405,3 @@ sendQueued(content: string | satori.segment, delay?: number): Promise<string[]>; | ||
middleware(middleware: Middleware): () => boolean; | ||
prompt(timeout?: number): Promise<string>; | ||
prompt(timeout?: any): Promise<string>; | ||
} | ||
@@ -429,7 +430,9 @@ export function getSessionId(session: Session): string; | ||
[Context.session]: Session; | ||
options: Context.Config; | ||
[Context.config]: Context.Config; | ||
} | ||
export class Context extends satori.Context { | ||
constructor(options?: Context.Config); | ||
get app(): this; | ||
get app(): cordis.Context.Parameterized<this, this[typeof cordis.Context.config]>; | ||
/** @deprecated use `root.config` instead */ | ||
get options(): this[typeof cordis.Context.config]; | ||
} | ||
@@ -436,0 +439,0 @@ export namespace Context { |
{ | ||
"name": "@koishijs/core", | ||
"description": "Core Features for Koishi", | ||
"version": "4.9.3", | ||
"version": "4.9.4", | ||
"main": "lib/index.cjs", | ||
@@ -33,7 +33,7 @@ "module": "lib/index.mjs", | ||
"dependencies": { | ||
"@koishijs/utils": "^6.2.1", | ||
"@minatojs/core": "^1.3.0", | ||
"@satorijs/core": "^1.1.9", | ||
"cordis": "^2.3.7" | ||
"@koishijs/utils": "^6.2.2", | ||
"@minatojs/core": "^1.3.1", | ||
"@satorijs/core": "^1.1.11", | ||
"cordis": "^2.4.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
442960
4501
Updated@koishijs/utils@^6.2.2
Updated@minatojs/core@^1.3.1
Updated@satorijs/core@^1.1.11
Updatedcordis@^2.4.4