Socket
Socket
Sign inDemoInstall

vue-programmatic-invisible-google-recaptcha

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "vue-programmatic-invisible-google-recaptcha",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple invisible Google reCAPTCHA component focused solely on programmatic invocation.",

@@ -5,0 +5,0 @@ "author": "John Datserakis <johndatserakis@gmail.com>",

@@ -41,2 +41,6 @@ # vue-programmatic-invisible-google-recaptcha

- Load the Google reCAPTCHA library using the provided `script` tag.
- Whenever you'd like, invoke the reCAPTCHA using `this.$refs.invisibleRecaptcha1.execute()` method (replacing `invisibleRecaptcha1` with the `ref` name you set).
- Google will either decide to show a challange or not. Either way, you'll get the `recaptchaToken` in the registered `recaptchaCallback` event. Make sure to register for that.
- Use that token to verify in your backend.
- Call the method again if you'd like to get a new token.

@@ -43,0 +47,0 @@ ### Usage Example

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc