@nestlab/google-recaptcha
Advanced tools
Comparing version 3.7.0 to 3.8.0
# Changelog | ||
## v3.8.0 | ||
- Updated `GoogleRecaptchaModuleAsyncOptions` interface | ||
## v3.7.0 | ||
@@ -4,0 +7,0 @@ - Added `RecaptchaConfigRef` for dynamic configuration |
@@ -5,4 +5,3 @@ import { GoogleRecaptchaGuardOptions } from './google-recaptcha-guard-options'; | ||
import { Logger } from '@nestjs/common'; | ||
import { InjectionToken } from '@nestjs/common/interfaces/modules/injection-token.interface'; | ||
import { OptionalFactoryDependency } from '@nestjs/common/interfaces/modules/optional-factory-dependency.interface'; | ||
import { Abstract } from '@nestjs/common/interfaces/abstract.interface'; | ||
export interface GoogleRecaptchaModuleOptions extends GoogleRecaptchaValidatorOptions, GoogleRecaptchaGuardOptions { | ||
@@ -17,3 +16,3 @@ debug?: boolean; | ||
export interface GoogleRecaptchaModuleAsyncOptions extends Pick<ModuleMetadata, 'imports'> { | ||
inject?: Array<InjectionToken | OptionalFactoryDependency>; | ||
inject?: Array<string | symbol | Type | Abstract<any> | Function>; | ||
useClass?: Type<GoogleRecaptchaOptionsFactory>; | ||
@@ -20,0 +19,0 @@ useExisting?: Type<GoogleRecaptchaOptionsFactory>; |
{ | ||
"name": "@nestlab/google-recaptcha", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"description": "Google recaptcha module for NestJS.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
98217
1252