invisible-grecaptcha
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -78,3 +78,3 @@ 'use strict'; | ||
* @param {Object} options - The options to create a invisible recaptcha. | ||
* @param {string} options.sitekey - Your recaptcha sitekey. | ||
* @param {string} options.sitekey - Your recaptcha sitekey. You can get one here: https://www.google.com/recaptcha/admin. | ||
* @param {verifyCallback} options.callback - Captcha callback. | ||
@@ -81,0 +81,0 @@ * @param {string} [options.locale] - Language of the captcha. See available language codes https://developers.google.com/recaptcha/docs/language. Auto-detects the user's language if unspecified. |
@@ -74,3 +74,3 @@ var CALLBACK_NAME = '_grecaptcha.onload-callback'; | ||
* @param {Object} options - The options to create a invisible recaptcha. | ||
* @param {string} options.sitekey - Your recaptcha sitekey. | ||
* @param {string} options.sitekey - Your recaptcha sitekey. You can get one here: https://www.google.com/recaptcha/admin. | ||
* @param {verifyCallback} options.callback - Captcha callback. | ||
@@ -77,0 +77,0 @@ * @param {string} [options.locale] - Language of the captcha. See available language codes https://developers.google.com/recaptcha/docs/language. Auto-detects the user's language if unspecified. |
@@ -80,3 +80,3 @@ (function (global, factory) { | ||
* @param {Object} options - The options to create a invisible recaptcha. | ||
* @param {string} options.sitekey - Your recaptcha sitekey. | ||
* @param {string} options.sitekey - Your recaptcha sitekey. You can get one here: https://www.google.com/recaptcha/admin. | ||
* @param {verifyCallback} options.callback - Captcha callback. | ||
@@ -83,0 +83,0 @@ * @param {string} [options.locale] - Language of the captcha. See available language codes https://developers.google.com/recaptcha/docs/language. Auto-detects the user's language if unspecified. |
{ | ||
"name": "invisible-grecaptcha", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Invisible reCAPTCHA integration", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -10,2 +10,4 @@ # invisible-grecaptcha | ||
[Checkout the demo](https://thiamsantos.github.io/invisible-grecaptcha/). | ||
## Table of Contents | ||
@@ -79,3 +81,3 @@ | ||
- `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** The options to create a invisible recaptcha. | ||
- `options.sitekey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Your recaptcha sitekey. | ||
- `options.sitekey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Your recaptcha sitekey. You can get one here: <https://www.google.com/recaptcha/admin>. | ||
- `options.callback` **[verifyCallback](#verifycallback)** Captcha callback. | ||
@@ -82,0 +84,0 @@ - `options.locale` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** Language of the captcha. See available language codes <https://developers.google.com/recaptcha/docs/language>. Auto-detects the user's language if unspecified. (optional, default `null`) |
25241
131