@ttoss/react-auth-strapi 0.2.1 → 0.2.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/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const AuthProvider: (props: React.PropsWithChildren<{
|
|
|
9
9
|
apiUrl: string;
|
|
10
10
|
}>) => react_jsx_runtime.JSX.Element;
|
|
11
11
|
declare const useAuth: () => {
|
|
12
|
-
signOut
|
|
12
|
+
signOut: () => Promise<void>;
|
|
13
13
|
isAuthenticated: boolean;
|
|
14
14
|
user: _ttoss_react_auth_core.AuthUser | null;
|
|
15
15
|
tokens: _ttoss_react_auth_core.AuthTokens | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare const AuthProvider: (props: React.PropsWithChildren<{
|
|
|
9
9
|
apiUrl: string;
|
|
10
10
|
}>) => react_jsx_runtime.JSX.Element;
|
|
11
11
|
declare const useAuth: () => {
|
|
12
|
-
signOut
|
|
12
|
+
signOut: () => Promise<void>;
|
|
13
13
|
isAuthenticated: boolean;
|
|
14
14
|
user: _ttoss_react_auth_core.AuthUser | null;
|
|
15
15
|
tokens: _ttoss_react_auth_core.AuthTokens | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/react-auth-strapi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Authentication components and abstractions for React apps using Strapi.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=16.8.0",
|
|
29
|
-
"@ttoss/react-auth-core": "^0.2.
|
|
30
|
-
"@ttoss/react-
|
|
31
|
-
"@ttoss/react-
|
|
29
|
+
"@ttoss/react-auth-core": "^0.2.2",
|
|
30
|
+
"@ttoss/react-i18n": "^2.0.14",
|
|
31
|
+
"@ttoss/react-notifications": "^2.4.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/react": "^19.1.8",
|
|
35
35
|
"jest": "^30.0.4",
|
|
36
36
|
"react": "^19.1.0",
|
|
37
37
|
"tsup": "^8.5.0",
|
|
38
|
+
"@ttoss/react-auth-core": "^0.2.2",
|
|
38
39
|
"@ttoss/i18n-cli": "^0.7.31",
|
|
39
|
-
"@ttoss/react-auth-core": "^0.2.1",
|
|
40
40
|
"@ttoss/react-i18n": "^2.0.14",
|
|
41
41
|
"@ttoss/react-notifications": "^2.4.3"
|
|
42
42
|
},
|