@amaster.ai/auth-client 1.1.61-beta.0 → 1.1.61-beta.1

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.
@@ -14,7 +14,7 @@
14
14
  * ============================================================================
15
15
  */
16
16
  import { HttpClient, ClientResult } from '@amaster.ai/http-client';
17
- import { v as Session, w as SuccessResponse, r as RevokeAllSessionsResponse } from './types-CFVDTREm.js';
17
+ import { v as Session, w as SuccessResponse, r as RevokeAllSessionsResponse } from './types-gL38Ysk-.js';
18
18
 
19
19
  /**
20
20
  * Sessions Module
@@ -61,8 +61,10 @@ interface AuthClientOptions {
61
61
  */
62
62
  onUnauthorized?: () => void;
63
63
  /**
64
- * Automatically handle OAuth callback on initialization
65
- * When enabled, the client will automatically detect and process OAuth callback URLs with #access_token
64
+ * Automatically handle OAuth callback on initialization.
65
+ * When enabled, the client detects callback URLs containing an access-token hash,
66
+ * `login_ticket`, or `oauth_error`. Do not also handle the callback manually unless
67
+ * this option is disabled. Repeated calls on one client instance reuse the same result.
66
68
  * @default true
67
69
  * @example
68
70
  * ```typescript
@@ -61,8 +61,10 @@ interface AuthClientOptions {
61
61
  */
62
62
  onUnauthorized?: () => void;
63
63
  /**
64
- * Automatically handle OAuth callback on initialization
65
- * When enabled, the client will automatically detect and process OAuth callback URLs with #access_token
64
+ * Automatically handle OAuth callback on initialization.
65
+ * When enabled, the client detects callback URLs containing an access-token hash,
66
+ * `login_ticket`, or `oauth_error`. Do not also handle the callback manually unless
67
+ * this option is disabled. Repeated calls on one client instance reuse the same result.
66
68
  * @default true
67
69
  * @example
68
70
  * ```typescript
package/dist/user.d.cts CHANGED
@@ -14,7 +14,7 @@
14
14
  * ============================================================================
15
15
  */
16
16
  import { HttpClient, ClientResult } from '@amaster.ai/http-client';
17
- import { x as User, U as UpdateMeParams, C as ChangePasswordParams, w as SuccessResponse } from './types-CFVDTREm.cjs';
17
+ import { x as User, U as UpdateMeParams, C as ChangePasswordParams, w as SuccessResponse } from './types-gL38Ysk-.cjs';
18
18
 
19
19
  /**
20
20
  * User Management Module
package/dist/user.d.ts CHANGED
@@ -14,7 +14,7 @@
14
14
  * ============================================================================
15
15
  */
16
16
  import { HttpClient, ClientResult } from '@amaster.ai/http-client';
17
- import { x as User, U as UpdateMeParams, C as ChangePasswordParams, w as SuccessResponse } from './types-CFVDTREm.js';
17
+ import { x as User, U as UpdateMeParams, C as ChangePasswordParams, w as SuccessResponse } from './types-gL38Ysk-.js';
18
18
 
19
19
  /**
20
20
  * User Management Module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/auth-client",
3
- "version": "1.1.61-beta.0",
3
+ "version": "1.1.61-beta.1",
4
4
  "description": "Authentication SDK for Amaster platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -47,7 +47,7 @@
47
47
  "registry": "https://registry.npmjs.org/"
48
48
  },
49
49
  "dependencies": {
50
- "@amaster.ai/http-client": "1.1.61-beta.0"
50
+ "@amaster.ai/http-client": "1.1.61-beta.1"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "axios": "^1.11.0"