shared-ritm 1.0.91 → 1.0.93

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.
@@ -6,6 +6,7 @@ type LoginResponse = {
6
6
  declare class AuthService extends ApiService {
7
7
  login(email: string, password: string): Promise<LoginResponse>;
8
8
  logout(): Promise<LoginResponse>;
9
+ userInfo(): Promise<any>;
9
10
  configs(): Promise<any>;
10
11
  }
11
12
  export default function useAuthService(): AuthService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.0.91",
3
+ "version": "1.0.93",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -24,6 +24,10 @@ class AuthService extends ApiService {
24
24
  return this.post<null, LoginResponse>(`/logout`, null)
25
25
  }
26
26
 
27
+ public userInfo() {
28
+ return this.get<any>(`/users/auth`)
29
+ }
30
+
27
31
  public configs() {
28
32
  return this.get<ConfigResponse>(`/configs`)
29
33
  }
@@ -10,7 +10,7 @@
10
10
  height: 100%;
11
11
  margin: 20px 0;
12
12
  padding: 30px;
13
- border-radius: 24px;
13
+ border-radius: 8px;
14
14
  background: #fff;
15
15
  box-shadow: 0px 6px 58px 0px rgba(0, 49, 122, 0.1);
16
16
  }