New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-google-invisible-recaptcha

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.0 to 0.1.1

33

dist/index.js

@@ -76,17 +76,19 @@ 'use strict';

var loaded = function loaded() {
var recaptchaId = window.grecaptcha.render(_this2.container, {
sitekey: sitekey,
size: 'invisible',
badge: badge,
callback: _this2.callbackName
});
_this2.execute = function () {
return window.grecaptcha.execute(recaptchaId);
};
_this2.reset = function () {
return window.grecaptcha.reset(recaptchaId);
};
_this2.getResponse = function () {
return window.grecaptcha.getResponse(recaptchaId);
};
if (_this2.container) {
var recaptchaId = window.grecaptcha.render(_this2.container, {
sitekey: sitekey,
size: 'invisible',
badge: badge,
callback: _this2.callbackName
});
_this2.execute = function () {
return window.grecaptcha.execute(recaptchaId);
};
_this2.reset = function () {
return window.grecaptcha.reset(recaptchaId);
};
_this2.getResponse = function () {
return window.grecaptcha.getResponse(recaptchaId);
};
}
};

@@ -107,2 +109,3 @@

delete window[this.callbackName];
delete this.container;
}

@@ -109,0 +112,0 @@ }, {

{
"name": "react-google-invisible-recaptcha",
"author": "szchenghuang <szchenghuang@gmail.com>",
"version": "0.1.0",
"version": "0.1.1",
"description": "A React component which is simply interested in Google invisible reCaptcha.",

@@ -6,0 +6,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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