@amaster.ai/auth-client 1.1.0-beta.1 → 1.1.0-beta.16
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/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/oauth.d.cts +1 -1
- package/dist/oauth.d.ts +1 -1
- package/dist/permissions.d.cts +1 -1
- package/dist/permissions.d.ts +1 -1
- package/dist/sessions.d.cts +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{types-Be3I8qJG.d.cts → types-C56GAJKY.d.cts} +0 -2
- package/dist/{types-Be3I8qJG.d.ts → types-C56GAJKY.d.ts} +0 -2
- package/dist/user.d.cts +1 -1
- package/dist/user.d.ts +1 -1
- package/package.json +2 -2
package/dist/auth.d.cts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient, ClientResult } from '@amaster.ai/http-client';
|
|
17
|
-
import { q as User, i as RegisterParams, e as LoginResponse, L as LoginParams, c as CodeLoginParams, S as SendCodeParams, p as SuccessResponse, b as CaptchaResponse, g as OAuthProvider, M as MiniProgramPhoneResponse, R as RefreshTokenResponse } from './types-
|
|
17
|
+
import { q as User, i as RegisterParams, e as LoginResponse, L as LoginParams, c as CodeLoginParams, S as SendCodeParams, p as SuccessResponse, b as CaptchaResponse, g as OAuthProvider, M as MiniProgramPhoneResponse, R as RefreshTokenResponse } from './types-C56GAJKY.cjs';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Authentication Module
|
package/dist/auth.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient, ClientResult } from '@amaster.ai/http-client';
|
|
17
|
-
import { q as User, i as RegisterParams, e as LoginResponse, L as LoginParams, c as CodeLoginParams, S as SendCodeParams, p as SuccessResponse, b as CaptchaResponse, g as OAuthProvider, M as MiniProgramPhoneResponse, R as RefreshTokenResponse } from './types-
|
|
17
|
+
import { q as User, i as RegisterParams, e as LoginResponse, L as LoginParams, c as CodeLoginParams, S as SendCodeParams, p as SuccessResponse, b as CaptchaResponse, g as OAuthProvider, M as MiniProgramPhoneResponse, R as RefreshTokenResponse } from './types-C56GAJKY.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Authentication Module
|
package/dist/index.d.cts
CHANGED
|
@@ -19,8 +19,8 @@ import { createPermissionsModule } from './permissions.cjs';
|
|
|
19
19
|
import { createUserModule } from './user.cjs';
|
|
20
20
|
import { createOAuthModule } from './oauth.cjs';
|
|
21
21
|
import { createSessionsModule } from './sessions.cjs';
|
|
22
|
-
import { A as AuthClientOptions, a as AuthEvent, E as EventHandler } from './types-
|
|
23
|
-
export { b as CaptchaResponse, C as ChangePasswordParams, c as CodeLoginParams, d as CodeLoginType, L as LoginParams, e as LoginResponse, f as LoginType, O as OAuthBinding, g as OAuthProvider, P as Permission, h as PermissionDetail, R as RefreshTokenResponse, i as RegisterParams, j as RegisterResponse, k as RevokeAllSessionsResponse, l as Role, m as RoleDetail, S as SendCodeParams, n as SendCodeType, o as Session, p as SuccessResponse, U as UpdateMeParams, q as User } from './types-
|
|
22
|
+
import { A as AuthClientOptions, a as AuthEvent, E as EventHandler } from './types-C56GAJKY.cjs';
|
|
23
|
+
export { b as CaptchaResponse, C as ChangePasswordParams, c as CodeLoginParams, d as CodeLoginType, L as LoginParams, e as LoginResponse, f as LoginType, O as OAuthBinding, g as OAuthProvider, P as Permission, h as PermissionDetail, R as RefreshTokenResponse, i as RegisterParams, j as RegisterResponse, k as RevokeAllSessionsResponse, l as Role, m as RoleDetail, S as SendCodeParams, n as SendCodeType, o as Session, p as SuccessResponse, U as UpdateMeParams, q as User } from './types-C56GAJKY.cjs';
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Main Authentication Client
|
package/dist/index.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ import { createPermissionsModule } from './permissions.js';
|
|
|
19
19
|
import { createUserModule } from './user.js';
|
|
20
20
|
import { createOAuthModule } from './oauth.js';
|
|
21
21
|
import { createSessionsModule } from './sessions.js';
|
|
22
|
-
import { A as AuthClientOptions, a as AuthEvent, E as EventHandler } from './types-
|
|
23
|
-
export { b as CaptchaResponse, C as ChangePasswordParams, c as CodeLoginParams, d as CodeLoginType, L as LoginParams, e as LoginResponse, f as LoginType, O as OAuthBinding, g as OAuthProvider, P as Permission, h as PermissionDetail, R as RefreshTokenResponse, i as RegisterParams, j as RegisterResponse, k as RevokeAllSessionsResponse, l as Role, m as RoleDetail, S as SendCodeParams, n as SendCodeType, o as Session, p as SuccessResponse, U as UpdateMeParams, q as User } from './types-
|
|
22
|
+
import { A as AuthClientOptions, a as AuthEvent, E as EventHandler } from './types-C56GAJKY.js';
|
|
23
|
+
export { b as CaptchaResponse, C as ChangePasswordParams, c as CodeLoginParams, d as CodeLoginType, L as LoginParams, e as LoginResponse, f as LoginType, O as OAuthBinding, g as OAuthProvider, P as Permission, h as PermissionDetail, R as RefreshTokenResponse, i as RegisterParams, j as RegisterResponse, k as RevokeAllSessionsResponse, l as Role, m as RoleDetail, S as SendCodeParams, n as SendCodeType, o as Session, p as SuccessResponse, U as UpdateMeParams, q as User } from './types-C56GAJKY.js';
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Main Authentication Client
|
package/dist/oauth.d.cts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient, ClientResult } from '@amaster.ai/http-client';
|
|
17
|
-
import { O as OAuthBinding, g as OAuthProvider, p as SuccessResponse } from './types-
|
|
17
|
+
import { O as OAuthBinding, g as OAuthProvider, p as SuccessResponse } from './types-C56GAJKY.cjs';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* OAuth Module
|
package/dist/oauth.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient, ClientResult } from '@amaster.ai/http-client';
|
|
17
|
-
import { O as OAuthBinding, g as OAuthProvider, p as SuccessResponse } from './types-
|
|
17
|
+
import { O as OAuthBinding, g as OAuthProvider, p as SuccessResponse } from './types-C56GAJKY.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* OAuth Module
|
package/dist/permissions.d.cts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient } from '@amaster.ai/http-client';
|
|
17
|
-
import { q as User } from './types-
|
|
17
|
+
import { q as User } from './types-C56GAJKY.cjs';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Permissions Module
|
package/dist/permissions.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient } from '@amaster.ai/http-client';
|
|
17
|
-
import { q as User } from './types-
|
|
17
|
+
import { q as User } from './types-C56GAJKY.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Permissions Module
|
package/dist/sessions.d.cts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient, ClientResult } from '@amaster.ai/http-client';
|
|
17
|
-
import { o as Session, p as SuccessResponse, k as RevokeAllSessionsResponse } from './types-
|
|
17
|
+
import { o as Session, p as SuccessResponse, k as RevokeAllSessionsResponse } from './types-C56GAJKY.cjs';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Sessions Module
|
package/dist/sessions.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* ============================================================================
|
|
15
15
|
*/
|
|
16
16
|
import { HttpClient, ClientResult } from '@amaster.ai/http-client';
|
|
17
|
-
import { o as Session, p as SuccessResponse, k as RevokeAllSessionsResponse } from './types-
|
|
17
|
+
import { o as Session, p as SuccessResponse, k as RevokeAllSessionsResponse } from './types-C56GAJKY.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Sessions Module
|
|
@@ -301,8 +301,6 @@ interface LoginResponse {
|
|
|
301
301
|
user: User;
|
|
302
302
|
/** Access token (JWT) for API authentication */
|
|
303
303
|
accessToken: string;
|
|
304
|
-
/** Refresh token for obtaining new access tokens */
|
|
305
|
-
refreshToken?: string;
|
|
306
304
|
/** Token expiration time in seconds */
|
|
307
305
|
expiresIn?: number;
|
|
308
306
|
}
|
|
@@ -301,8 +301,6 @@ interface LoginResponse {
|
|
|
301
301
|
user: User;
|
|
302
302
|
/** Access token (JWT) for API authentication */
|
|
303
303
|
accessToken: string;
|
|
304
|
-
/** Refresh token for obtaining new access tokens */
|
|
305
|
-
refreshToken?: string;
|
|
306
304
|
/** Token expiration time in seconds */
|
|
307
305
|
expiresIn?: number;
|
|
308
306
|
}
|
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 { q as User, U as UpdateMeParams, C as ChangePasswordParams, p as SuccessResponse } from './types-
|
|
17
|
+
import { q as User, U as UpdateMeParams, C as ChangePasswordParams, p as SuccessResponse } from './types-C56GAJKY.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 { q as User, U as UpdateMeParams, C as ChangePasswordParams, p as SuccessResponse } from './types-
|
|
17
|
+
import { q as User, U as UpdateMeParams, C as ChangePasswordParams, p as SuccessResponse } from './types-C56GAJKY.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.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.16",
|
|
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.0-beta.
|
|
50
|
+
"@amaster.ai/http-client": "1.1.0-beta.16"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"axios": "^1.11.0"
|