@nestlab/google-recaptcha
Advanced tools
Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "@nestlab/google-recaptcha", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Google recaptcha module for NestJS.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -41,7 +41,7 @@ # Google recaptcha module | ||
|-------------------|--------------------------------------------------------|-------------| | ||
| `secretKey` | `string` | **Required.** Google recaptcha secret key | | ||
| `response` | `(request) => string` | **Required.** Function that returns response (recaptcha token) by request | | ||
| `skipIf` | `boolean | (request) => boolean \| Promise\<boolean\>` | Optional. Function that returns true if you allow the request to skip the recaptcha verification. Useful for involing other check methods (e.g. custom privileged API key) or for development or testing | | ||
| `useRecaptchaNet` | `boolean` | Optional. If your server has trouble connecting to https://www.google.com. You can use https://recaptcha.net instead, just set true | | ||
| `agent` | `https.Agent` | Optional. If you need to use an agent | | ||
| `secretKey` | string | **Required.** Google recaptcha secret key | | ||
| `response` | (request) => string | **Required.** Function that returns response (recaptcha token) by request | | ||
| `skipIf` | boolean \| (request) => boolean \| Promise\<boolean\> | Optional. Function that returns true if you allow the request to skip the recaptcha verification. Useful for involing other check methods (e.g. custom privileged API key) or for development or testing | | ||
| `useRecaptchaNet` | boolean | Optional. If your server has trouble connecting to https://www.google.com. You can use https://recaptcha.net instead, just set true | | ||
| `agent` | https.Agent | Optional. If you need to use an agent | | ||
@@ -48,0 +48,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package