ngx-captcha
Advanced tools
Comparing version 1.1.2 to 1.1.3
import { ModuleWithProviders } from '@angular/core'; | ||
import { INgxCaptchaConfig } from './recaptcha/recaptcha.config'; | ||
import { NgxCaptchaConfig } from './recaptcha/recaptcha.config'; | ||
export declare class NgxCaptchaModule { | ||
static forRoot(config: INgxCaptchaConfig): ModuleWithProviders; | ||
static forRoot(config: NgxCaptchaConfig): ModuleWithProviders; | ||
} |
@@ -9,6 +9,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var common_1 = require("@angular/common"); | ||
var core_1 = require("@angular/core"); | ||
var platform_browser_1 = require("@angular/platform-browser"); | ||
var invisible_recaptcha_component_1 = require("./recaptcha/invisible-recaptcha.component"); | ||
var recaptcha_2_component_1 = require("./recaptcha/recaptcha-2.component"); | ||
var invisible_recaptcha_component_1 = require("./recaptcha/invisible-recaptcha.component"); | ||
var recaptcha_config_1 = require("./recaptcha/recaptcha.config"); | ||
@@ -23,3 +24,6 @@ var NgxCaptchaModule = /** @class */ (function () { | ||
providers: [ | ||
{ provide: recaptcha_config_1.NgxCaptchaConfig, useValue: config } | ||
{ | ||
provide: recaptcha_config_1.NgxCaptchaConfig, | ||
useValue: config, | ||
} | ||
] | ||
@@ -31,3 +35,4 @@ }; | ||
imports: [ | ||
platform_browser_1.BrowserModule | ||
platform_browser_1.BrowserModule, | ||
common_1.CommonModule | ||
], | ||
@@ -34,0 +39,0 @@ declarations: [ |
{ | ||
"name": "ngx-captcha", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
35182
824