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

react-google-recaptcha

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-recaptcha - npm Package Compare versions

Comparing version 1.0.2 to 1.0.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

v1.0.4 - Thu 27 Sep 2018 15:14 PST
---------------------------------------
- add .babelrc to .npmignore [(#111)](https://github.com/dozoisch/react-google-recaptcha/issues/111)
v1.0.2 - Wed, 5 Sep 2018 13:21:00 EST

@@ -2,0 +9,0 @@ ---------------------------------------

2

package.json
{
"name": "react-google-recaptcha",
"version": "1.0.2",
"version": "1.0.4",
"description": "React Component Wrapper for Google reCAPTCHA",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -70,3 +70,3 @@ # react-google-recaptcha

onSubmit = () ={
const recaptchaValue = recaptchaRef.getValue();
const recaptchaValue = recaptchaRef.current.getValue();
this.props.onSubmit(recaptchaValue);

@@ -101,3 +101,3 @@ }

ReactDOM.render(
<form onSubmit={() => { captcha.execute(); }}>
<form onSubmit={() => { recaptchaRef.current.execute(); }}>
<ReCAPTCHA

@@ -104,0 +104,0 @@ ref={recaptchaRef}

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