@matt-block/react-recaptcha-v2
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -89,3 +89,3 @@ import React, { Component } from 'react'; | ||
var allScripts = Array.from(document.scripts); | ||
var reCaptchaSrcPattern = /https:\/\/www.gstatic.com\/recaptcha\/api2\/.*.js$/; | ||
var reCaptchaSrcPattern = /https:\/\/www.gstatic.com\/recaptcha\/releases\/.*.js$/; | ||
var additionalScripts = allScripts.filter(function (script) { | ||
@@ -92,0 +92,0 @@ return reCaptchaSrcPattern.test(script.src); |
{ | ||
"name": "@matt-block/react-recaptcha-v2", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Google reCAPTCHA v2 React component that does not pollute the DOM", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.esm.js", |
15731