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

react-google-recaptcha-hook

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-recaptcha-hook - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json

@@ -20,3 +20,3 @@ {

"license": "MIT",
"version": "0.2.0",
"version": "0.2.1",
"files": [

@@ -23,0 +23,0 @@ "dist",

@@ -11,3 +11,3 @@ # React Hook for Google reCAPTCHA V3

## Simeplest Example
## Simplest Example

@@ -34,5 +34,11 @@ ```javascript

const {
executeGoogleReCaptcha, // execute reCAPTCHA, return torken
showGoogleReCaptcha, // show recaptcha-badge
hideGoogleReCaptcha, // hide recaptcha-badge
// execute reCAPTCHA with action, return torken
// (action: string) => Promise<string>
executeGoogleReCaptcha,
// show recaptcha-badge
// () => void
showGoogleReCaptcha,
// hide recaptcha-badge
// () => void
hideGoogleReCaptcha,
} = useGoogleReCaptcha(

@@ -39,0 +45,0 @@ `${YOUR_SITE_KEY}`, // your site key

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