Socket
Socket
Sign inDemoInstall

angular-captcha

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-captcha - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

package.json
{
"name": "angular-captcha",
"version": "1.1.0",
"version": "1.2.0",
"description": "BotDetect Captcha Angular Module (TypeScript / Angular 2+)",

@@ -5,0 +5,0 @@ "scripts": {

@@ -67,3 +67,3 @@ "use strict";

// build BotDetect client-side script include url
var url = this.captchaHelper.buildUrl(this.captchaService.handlerUrl, {
var url = this.captchaHelper.buildUrl(this.captchaService.captchaEndpoint, {
get: 'script-include'

@@ -87,3 +87,3 @@ });

// build BotDetect init script include url.
var initScriptIncludeUrl = this.captchaHelper.buildUrl(this.captchaService.handlerUrl, {
var initScriptIncludeUrl = this.captchaHelper.buildUrl(this.captchaService.captchaEndpoint, {
get: 'init-script-include',

@@ -90,0 +90,0 @@ c: this.styleName,

@@ -17,3 +17,3 @@ import { Http } from '@angular/http';

*/
readonly handlerUrl: string;
readonly captchaEndpoint: string;
/**

@@ -20,0 +20,0 @@ * Get BotDetect instance, which is provided by BotDetect script.

@@ -26,3 +26,3 @@ "use strict";

});
Object.defineProperty(CaptchaService.prototype, "handlerUrl", {
Object.defineProperty(CaptchaService.prototype, "captchaEndpoint", {
/**

@@ -54,3 +54,3 @@ * The captcha handler url for BotDetect requests.

CaptchaService.prototype.getHtml = function () {
var url = this.captchaHelper.buildUrl(this.handlerUrl, {
var url = this.captchaHelper.buildUrl(this.captchaEndpoint, {
get: 'html',

@@ -57,0 +57,0 @@ c: this.styleName

Sorry, the diff of this file is not supported yet

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