Skip to content

Commit 7d8c510

Browse files
updated npmjs.org's readme content
1 parent 8c9b860 commit 7d8c510

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

npmjs_readme.markd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,24 +158,24 @@ The validation is performed by calling the: `Validate(userEnteredCaptchaCode, ca
158158
```csharp
159159
// C#
160160
SimpleCaptcha yourFirstCaptcha = new SimpleCaptcha();
161-
bool isHuman = yourFirstCaptcha.Validate(captchaCode, captchaId);
161+
bool isHuman = yourFirstCaptcha.Validate(userEnteredCaptchaCode, captchaId);
162162
```
163163
```vbnet
164164
' VB.NET
165165
Dim yourFirstCaptcha As SimpleCaptcha = New SimpleCaptcha()
166-
Dim isHuman As Boolean = yourFirstCaptcha.Validate(captchaCode, captchaId)
166+
Dim isHuman As Boolean = yourFirstCaptcha.Validate(userEnteredCaptchaCode, captchaId)
167167
```
168168

169169
- If you have [Java Captcha](https://captcha.com/java-captcha.html) library on a server side validation would look similar to this:
170170
```java
171171
SimpleCaptcha yourFirstCaptcha = SimpleCaptcha.load(request);
172-
boolean isHuman = yourFirstCaptcha.validate(captchaCode, captchaId);
172+
boolean isHuman = yourFirstCaptcha.validate(userEnteredCaptchaCode, captchaId);
173173
```
174174

175175
- If you have [PHP Captcha](https://captcha.com/php-captcha.html) library on a server side validation would look similar to this:
176176
```php
177177
$yourFirstCaptcha = new SimpleCaptcha();
178-
$isHuman = $yourFirstCaptcha->Validate($captchaCode, $captchaId);
178+
$isHuman = $yourFirstCaptcha->Validate($userEnteredCaptchaCode, $captchaId);
179179
```
180180

181181
### Documentation:
@@ -189,9 +189,9 @@ $isHuman = $yourFirstCaptcha->Validate($captchaCode, $captchaId);
189189
### Dependencies:
190190

191191
The current version of the Angular Captcha Module requires one of the following BotDetect CAPTCHA backends:
192-
- [ASP.NET v4.4.1+](https://captcha.com/asp.net-captcha.html)
193-
- [Java v4.0.Beta3.6+](https://captcha.com/java-captcha.html)
194-
- [PHP v4.2.4+](https://captcha.com/php-captcha.html)
192+
- [ASP.NET v4.4.2+](https://captcha.com/asp.net-captcha.html)
193+
- [Java v4.0.Beta3.7+](https://captcha.com/java-captcha.html)
194+
- [PHP v4.2.5+](https://captcha.com/php-captcha.html)
195195

196196

197197
### Support:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-captcha",
3-
"version": "3.7.1",
3+
"version": "3.7.2",
44
"description": "BotDetect CAPTCHA Angular Module (TypeScript: Angular 2/4/5/6/7/8+)",
55
"scripts": {
66
"clean": "rimraf *.d.ts *.js *.map *.metadata.json src/**/*.d.ts src/**/*.js src/**/*.map src/**/*.metadata.json src/**/*.js.map",

0 commit comments

Comments
 (0)