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 2.0.2 to 2.0.3

decorators/set-recaptcha-options.d.ts

4

decorators/recaptcha.js

@@ -6,7 +6,7 @@ "use strict";

const google_recaptcha_guard_1 = require("../guards/google-recaptcha.guard");
const provider_declarations_1 = require("../provider.declarations");
const set_recaptcha_options_1 = require("./set-recaptcha-options");
function Recaptcha(options) {
return common_1.applyDecorators(common_1.SetMetadata(provider_declarations_1.RECAPTCHA_VALIDATION_OPTIONS, options), common_1.UseGuards(google_recaptcha_guard_1.GoogleRecaptchaGuard));
return common_1.applyDecorators(set_recaptcha_options_1.SetRecaptchaOptions(options), common_1.UseGuards(google_recaptcha_guard_1.GoogleRecaptchaGuard));
}
exports.Recaptcha = Recaptcha;
//# sourceMappingURL=recaptcha.js.map
{
"name": "@nestlab/google-recaptcha",
"version": "2.0.2",
"version": "2.0.3",
"description": "Google recaptcha module for NestJS.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -197,2 +197,3 @@ # Google recaptcha module

export class FeedbackController {
@SetRecaptchaOptions({action: 'Send', score: 0.8})
@UseGuards(Guard1, GoogleRecaptchaGuard, Guard2)

@@ -199,0 +200,0 @@ @Post('send')

Sorry, the diff of this file is not supported yet

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