@nestlab/google-recaptcha
Advanced tools
Comparing version 1.1.10 to 1.1.11
{ | ||
"name": "@nestlab/google-recaptcha", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Google recaptcha module for NestJS.", | ||
@@ -44,3 +44,2 @@ "keywords": [ | ||
"@types/node": "^12.12.14", | ||
"dts-bundle-webpack": "^1.0.2", | ||
"jest": "^24.9.0", | ||
@@ -52,6 +51,3 @@ "reflect-metadata": "^0.1.13", | ||
"ts-node": "^8.5.2", | ||
"typescript": "^3.7.2", | ||
"webpack": "^4.43.0", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-node-externals": "^1.7.2" | ||
"typescript": "^3.7.2" | ||
}, | ||
@@ -58,0 +54,0 @@ "jest": { |
@@ -39,11 +39,10 @@ # Google recaptcha module | ||
| Property | Type | Description | | ||
|-------------------|--------------------------------------------------------|-------------| | ||
| `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 | | ||
| Property | Description | | ||
|-------------------|-------------| | ||
| `secretKey` | **Required.**<br> Type: `string`<br> Google recaptcha secret key | | ||
| `response` | **Required.**<br> Type: `(request) => string`<br> Function that returns response (recaptcha token) by request | | ||
| `skipIf` | Optional.<br> Type: `boolean` \| `(request) => boolean \| Promise<boolean>` <br> 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` | Optional.<br> Type: `boolean`<br> If your server has trouble connecting to https://www.google.com. You can use https://recaptcha.net instead, just set true | | ||
| `agent` | Optional.<br> Type: `https.Agent`<br> If you need to use an agent | | ||
If you want import configs from your [ConfigService](https://docs.nestjs.com/techniques/configuration#getting-started) via [custom getter function](https://docs.nestjs.com/techniques/configuration#custom-getter-functions) that will return `GoogleRecaptchaModuleOptions` object. | ||
@@ -50,0 +49,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
13
31951
148