Socket
Socket
Sign inDemoInstall

react-simple-captcha

Package Overview
Dependencies
106
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.2.3 to 5.2.4

2

package.json
{
"name": "react-simple-captcha",
"version": "5.2.3",
"version": "5.2.4",
"description": "A very simple and powerful captcha for ReactJS",

@@ -5,0 +5,0 @@ "main": "react-simple-captcha.js",

@@ -105,7 +105,7 @@ # React Simple Captcha

| ------ | ------ |
| < LoadCanvasTemplate /> | It will load the captcha **with 'Reload Captcha'** functionality. Place between your render code, usage example < LoadCanvasTemplate /> |
| < LoadCanvasTemplateNoReload /> | It will load the captcha **without 'Reload Captcha'** functionality. Place between your render code, usage example < LoadCanvasTemplateNoReload /> |
| loadcaptchaenginge(*Number_Of_Captcha_Charcters*); | Simply paste it in **componentDidMount()**. Pass number of captcha characters you want to display. |
| validateCaptcha(*User_Submitted_Value*) | Will return *true* if user submitted value matches with captcha otherwise *false*. Also will reload captcha if user submitted value is *false* |
| validateCaptcha(*User_Submitted_Value*, *false*) | Will return *true* if user submitted value matches with captcha otherwise *false*. Will not reload captcha if user submitted value is *false* |
| **< LoadCanvasTemplate />** | It will load the captcha **with 'Reload Captcha'** functionality. Place between your render code, usage example **< LoadCanvasTemplate />** |
| **< LoadCanvasTemplateNoReload />** | It will load the captcha **without 'Reload Captcha'** functionality. Place between your render code, usage example **< LoadCanvasTemplateNoReload />** |
| **loadcaptchaenginge(*Number_Of_Captcha_Charcters*);** | Simply paste it in **componentDidMount()**. Pass number of captcha characters you want to display. |
| **validateCaptcha(*User_Submitted_Value*)** | Will return *true* if user submitted value matches with captcha otherwise *false*. Also will reload captcha if user submitted value is *false* |
| **validateCaptcha(*User_Submitted_Value*, *false*)** | Will return *true* if user submitted value matches with captcha otherwise *false*. Will not reload captcha if user submitted value is *false* |

@@ -112,0 +112,0 @@ ### 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