Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gapi-oauth-react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gapi-oauth-react-hooks - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc