@amaster.ai/auth-client 1.1.69 → 1.1.71
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- 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-C2dUef9b.d.cts → types-okzoIgFt.d.cts} +2 -0
- package/dist/{types-C2dUef9b.d.ts → types-okzoIgFt.d.ts} +2 -0
- package/dist/user.d.cts +1 -1
- package/dist/user.d.ts +1 -1
- package/package.json +2 -2
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, n as OAuthProvider, w as SuccessResponse } from './types-
|
|
17
|
+
import { O as OAuthBinding, n as OAuthProvider, w as SuccessResponse } from './types-okzoIgFt.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, n as OAuthProvider, w as SuccessResponse } from './types-
|
|
17
|
+
import { O as OAuthBinding, n as OAuthProvider, w as SuccessResponse } from './types-okzoIgFt.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 { x as User } from './types-
|
|
17
|
+
import { x as User } from './types-okzoIgFt.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 { x as User } from './types-
|
|
17
|
+
import { x as User } from './types-okzoIgFt.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 { v as Session, w as SuccessResponse, r as RevokeAllSessionsResponse } from './types-
|
|
17
|
+
import { v as Session, w as SuccessResponse, r as RevokeAllSessionsResponse } from './types-okzoIgFt.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 { v as Session, w as SuccessResponse, r as RevokeAllSessionsResponse } from './types-
|
|
17
|
+
import { v as Session, w as SuccessResponse, r as RevokeAllSessionsResponse } from './types-okzoIgFt.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Sessions Module
|
|
@@ -39,6 +39,8 @@ import { MiniProgramRuntime } from '@amaster.ai/http-client';
|
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
41
|
interface AuthClientOptions {
|
|
42
|
+
/** Disable when a trusted host manages access-token renewal externally. Defaults to true. */
|
|
43
|
+
autoRefresh?: boolean;
|
|
42
44
|
/**
|
|
43
45
|
* API base URL (defaults to window.location.origin)
|
|
44
46
|
* @example "https://api.example.com"
|
|
@@ -39,6 +39,8 @@ import { MiniProgramRuntime } from '@amaster.ai/http-client';
|
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
41
|
interface AuthClientOptions {
|
|
42
|
+
/** Disable when a trusted host manages access-token renewal externally. Defaults to true. */
|
|
43
|
+
autoRefresh?: boolean;
|
|
42
44
|
/**
|
|
43
45
|
* API base URL (defaults to window.location.origin)
|
|
44
46
|
* @example "https://api.example.com"
|
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-
|
|
17
|
+
import { x as User, U as UpdateMeParams, C as ChangePasswordParams, w as SuccessResponse } from './types-okzoIgFt.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-
|
|
17
|
+
import { x as User, U as UpdateMeParams, C as ChangePasswordParams, w as SuccessResponse } from './types-okzoIgFt.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.
|
|
3
|
+
"version": "1.1.71",
|
|
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.
|
|
50
|
+
"@amaster.ai/http-client": "1.1.71"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"axios": "^1.11.0"
|