mezon-js 2.15.23 → 2.15.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -36,7 +36,6 @@ export declare class Client {
36
36
  private _connectTimeoutTimer?;
37
37
  private _connectPromise?;
38
38
  private readonly transport;
39
- private readonly refreshTokenManager;
40
39
  host: string;
41
40
  port: string;
42
41
  useSSL: boolean;
@@ -124,7 +123,7 @@ export declare class Client {
124
123
  * This is a placeholder method that subclasses or instances can override
125
124
  * to perform actions before or after the refresh logic.
126
125
  */
127
- onRefreshSession(session: ApiSession): void;
126
+ onrefreshsession(session: ApiSession): void;
128
127
  /** check session isexpired */
129
128
  isexpired(session: Session): boolean;
130
129
  /** Authenticate a user with a custom id against the server. */
@@ -244,8 +243,6 @@ export declare class Client {
244
243
  listNotifications(session: Session, clanId: string, limit?: number, notificationId?: string, category?: number, direction?: number): Promise<ApiNotificationList>;
245
244
  /** Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user. */
246
245
  sessionLogout(session: Session, token: string, refreshToken: string, deviceId: string, platform: string): Promise<boolean>;
247
- /** Refresh a user's session using a refresh token retrieved from a previous authentication request. */
248
- sessionRefresh(session: Session, vars?: Record<string, string>): Promise<Session>;
249
246
  /** Remove an email+password from the social profiles on the current user's account. */
250
247
  unlinkEmail(session: Session, request: ApiAccountEmail): Promise<boolean>;
251
248
  /** Update fields in the current user's account. */
package/dist/index.d.ts CHANGED
@@ -15,7 +15,6 @@
15
15
  */
16
16
  import "whatwg-fetch";
17
17
  export * from "./client";
18
- export * from "./refresh_token_manager";
19
18
  export * from "./session";
20
19
  export * from "./utils";
21
20
  export * from "./types";