@neuctra/authix 1.1.2 → 1.1.4
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/src/index.d.ts
CHANGED
|
@@ -5,10 +5,5 @@ interface ReactSignedInProps {
|
|
|
5
5
|
width?: string;
|
|
6
6
|
height?: string;
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
9
|
-
* ReactSignedIn
|
|
10
|
-
* Renders children only when the user is signed in.
|
|
11
|
-
* Provides optional width/height props for consistent alignment in layouts.
|
|
12
|
-
*/
|
|
13
8
|
export declare const ReactSignedIn: React.FC<ReactSignedInProps>;
|
|
14
9
|
export {};
|
|
@@ -8,7 +8,7 @@ interface ReactSignedOutProps {
|
|
|
8
8
|
/**
|
|
9
9
|
* ReactSignedOut
|
|
10
10
|
* Renders its children only when the user is NOT signed in.
|
|
11
|
-
*
|
|
11
|
+
* Safe for SSR and reactive to auth changes.
|
|
12
12
|
*/
|
|
13
13
|
export declare const ReactSignedOut: React.FC<ReactSignedOutProps>;
|
|
14
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neuctra/authix",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Authentication SDK and UI components library for React
|
|
3
|
+
"version": "1.1.4",
|
|
4
|
+
"description": "Authentication SDK and UI components library for React with TailwindCSS",
|
|
5
5
|
"author": "Taha Asif",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
"import": "./dist/react/index.js",
|
|
18
18
|
"types": "./dist/react/index.d.ts"
|
|
19
19
|
},
|
|
20
|
-
"./vue": {
|
|
21
|
-
"import": "./dist/vue/index.js",
|
|
22
|
-
"types": "./dist/vue/index.d.ts"
|
|
23
|
-
},
|
|
24
20
|
"./sdk": {
|
|
25
21
|
"import": "./dist/sdk/index.js",
|
|
26
22
|
"types": "./dist/sdk/index.d.ts"
|
|
@@ -66,7 +62,6 @@
|
|
|
66
62
|
},
|
|
67
63
|
"peerDependencies": {
|
|
68
64
|
"react": ">=16",
|
|
69
|
-
"react-dom": ">=16"
|
|
70
|
-
"vue": ">=3"
|
|
65
|
+
"react-dom": ">=16"
|
|
71
66
|
}
|
|
72
67
|
}
|
package/dist/src/vue/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|