@corbado/react-sdk
Advanced tools
Comparing version 0.1.7-alpha.8 to 1.0.0
{ | ||
"name": "@corbado/react-sdk", | ||
"version": "0.1.7-alpha.8", | ||
"version": "1.0.0", | ||
"description": "This SDK is for developers who want to add Corbado's Authentication management in their applications but want to use a UI flow of their own.", | ||
@@ -38,3 +38,3 @@ "author": "Abdullah Shahbaz <abdullah_ghani@live.com>", | ||
"dependencies": { | ||
"@corbado/web-core": "^0.1.7-alpha.8" | ||
"@corbado/web-core": "^1.0.0" | ||
}, | ||
@@ -45,3 +45,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "ac51a74caf6c815569b83894243f1aaa7d5d2071" | ||
"gitHead": "453ad7306d701d6e236bbad58b9692b0e5e81e50" | ||
} |
@@ -92,3 +92,3 @@ <img width="1070" alt="GitHub Repo Cover" src="https://github.com/corbado/corbado-php/assets/18458907/aa4f9df6-980b-4b24-bb2f-d71c0f480971"> | ||
} | ||
// Additional implementation | ||
@@ -108,7 +108,7 @@ }; | ||
const { loading, user } = useCorbadoSession(); | ||
if (loading) { | ||
// Render loading state | ||
} | ||
if (user) { | ||
@@ -122,3 +122,2 @@ // Render authenticated state | ||
**Remember to check `loading` state of the hook before using authentication states.** | ||
@@ -125,0 +124,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
38094
264
+ Added@corbado/web-core@1.1.10(transitive)
- Removed@corbado/web-core@0.1.7-alpha.8(transitive)
Updated@corbado/web-core@^1.0.0