@satorijs/core
Advanced tools
Comparing version 3.0.0-rc.0 to 3.0.0-rc.1
import * as cordis from 'cordis'; | ||
import { Event, GuildMember, Message, User, SendOptions, Login, Methods, Status, WebSocket } from '@satorijs/protocol'; | ||
import h from '@satorijs/element'; | ||
import { Awaitable, Dict } from 'cosmokit'; | ||
import { Dict, Awaitable } from 'cosmokit'; | ||
import Schema from 'schemastery'; | ||
@@ -89,2 +89,3 @@ import Logger from 'reggol'; | ||
error?: Error; | ||
callbacks: Dict<Function>; | ||
protected context: Context; | ||
@@ -105,6 +106,6 @@ protected _status: Status; | ||
get sid(): string; | ||
session(body?: Partial<Event>): Session; | ||
session(event?: Partial<Event>): Session; | ||
dispatch(session: Session): void; | ||
sendMessage(channelId: string, content: Fragment, guildId?: string, options?: SendOptions): Promise<string[]>; | ||
sendPrivateMessage(userId: string, content: Fragment, options?: SendOptions): Promise<string[]>; | ||
sendPrivateMessage(userId: string, content: Fragment, guildId?: string, options?: SendOptions): Promise<string[]>; | ||
supports(name: string, session?: Partial<Session>): Promise<boolean>; | ||
@@ -150,2 +151,3 @@ checkPermission(name: string, session: Partial<Session>): Promise<boolean>; | ||
'interaction/command'(session: Session): void; | ||
'interaction/button'(session: Session): void; | ||
'message'(session: Session): void; | ||
@@ -152,0 +154,0 @@ 'message-created'(session: Session): void; |
{ | ||
"name": "@satorijs/core", | ||
"description": "Core components of Satorijs", | ||
"version": "3.0.0-rc.0", | ||
"version": "3.0.0-rc.1", | ||
"main": "lib/index.cjs", | ||
@@ -38,10 +38,10 @@ "module": "lib/index.mjs", | ||
"@satorijs/element": "^2.5.1", | ||
"@satorijs/protocol": "^1.0.0", | ||
"@satorijs/protocol": "^1.0.2", | ||
"cordis": "^2.8.8", | ||
"cordis-axios": "^3.3.1", | ||
"cordis-axios": "^3.3.2", | ||
"cosmokit": "^1.4.5", | ||
"ws": "^8.14.2", | ||
"reggol": "^1.5.1", | ||
"reggol": "^1.5.2", | ||
"schemastery": "^3.13.1" | ||
} | ||
} |
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
132766
1543
Updated@satorijs/protocol@^1.0.2
Updatedcordis-axios@^3.3.2
Updatedreggol@^1.5.2