feat: add current session ID hash and getter method in SessionManager
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -2557,6 +2557,8 @@ export class WebEmbed {
|
||||
|
||||
export class SessionManager extends CachedManager<string, Session, any> {
|
||||
private constructor(client: Client, iterable: Iterable<any>);
|
||||
public currentSessionIdHash: string | null;
|
||||
public readonly currentSession: Session | null;
|
||||
public fetch(): Promise<Collection<string, Session>>;
|
||||
public logoutAllDevices(): Promise<void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user