mezon-js 2.12.1 → 2.12.2

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/api.gen.ts CHANGED
@@ -2326,6 +2326,7 @@ export interface ApiSession {
2326
2326
  token?: string;
2327
2327
  // Whether to enable "Remember Me" for extended session duration.
2328
2328
  is_remember?: boolean;
2329
+ api_url?: string;
2329
2330
  }
2330
2331
 
2331
2332
  /** Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user. */
package/dist/api.gen.d.ts CHANGED
@@ -1330,6 +1330,7 @@ export interface ApiSession {
1330
1330
  refresh_token?: string;
1331
1331
  token?: string;
1332
1332
  is_remember?: boolean;
1333
+ api_url?: string;
1333
1334
  }
1334
1335
  /** Log out a session, invalidate a refresh token, or log out all sessions/refresh tokens for a user. */
1335
1336
  export interface ApiSessionLogoutRequest {
package/dist/session.d.ts CHANGED
@@ -51,6 +51,7 @@ export declare class Session implements ISession {
51
51
  user_id?: string;
52
52
  vars?: object;
53
53
  is_remember?: boolean;
54
+ api_url?: string;
54
55
  constructor(token: string, refresh_token: string, created: boolean, is_remember: boolean);
55
56
  isexpired(currenttime: number): boolean;
56
57
  isrefreshexpired(currenttime: number): boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mezon-js",
3
3
 
4
- "version": "2.12.1",
4
+ "version": "2.12.2",
5
5
 
6
6
  "scripts": {
7
7
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
package/session.ts CHANGED
@@ -57,6 +57,7 @@ export class Session implements ISession {
57
57
  user_id?: string;
58
58
  vars?: object;
59
59
  is_remember?: boolean;
60
+ api_url?: string;
60
61
 
61
62
  constructor(
62
63
  token: string,