Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestlab/google-recaptcha

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestlab/google-recaptcha - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

8

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc