gapi-oauth-react-hooks
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "gapi-oauth-react-hooks", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"repository": "https://github.com/jpb06/gapi-oauth-react-hooks.git", | ||
@@ -5,0 +5,0 @@ "author": "jpb06 <jpb.06@outlook.com>", |
@@ -8,4 +8,5 @@ # gapi-oauth-react-hooks | ||
I needed SSO for google users and wasn't quite satisfied with what I found in the react eco system. Perhaps this will be useful for someone else, so here we go. | ||
The package exposes its own declaration files; you won't need to install an @types/\* if you use typescript. | ||
The package exposes its own declaration files; you won't need to install any @types/\* if you use typescript. | ||
## Requirements | ||
@@ -70,3 +71,3 @@ | ||
SignedIn: <SignedIn user={signedUser} authResponse={authResponse} onSignOut={handleSignOut} />, | ||
NotSignedIn: <SimpleButton onClick={handleSignIn} text="Login" />, | ||
NotSignedIn: <SimpleButton onClick={handleGoogleSignIn} text="Login" />, | ||
Errored: <>Oh no!</>, | ||
@@ -112,2 +113,3 @@ }; | ||
- 1.1.1 : Fixing misc typos in readme. | ||
- 1.1.0 : Returning auth response from the main hook. | ||
@@ -114,0 +116,0 @@ - 1.0.9 : Fixing a GapiState import. |
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
18761
123