New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@internetarchive/recaptcha-manager

Package Overview
Dependencies
Maintainers
15
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/recaptcha-manager - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

demo/app-root.ts
import { html, css, LitElement } from 'lit';
import { customElement, state } from 'lit/decorators.js';
import { RecaptchaWidget } from '../src/recaptcha-widget';
import { RecaptchaWidgetInterface } from '../src/recaptcha-widget';
import {

@@ -19,5 +19,5 @@ RecaptchaManager,

private recaptcha1?: RecaptchaWidget;
private recaptcha1?: RecaptchaWidgetInterface;
private recaptcha2?: RecaptchaWidget;
private recaptcha2?: RecaptchaWidgetInterface;

@@ -24,0 +24,0 @@ render() {

/// <reference types="grecaptcha" />
import { LazyLoaderServiceInterface } from '@internetarchive/lazy-loader-service';
import { RecaptchaWidget } from './recaptcha-widget';
import { RecaptchaWidgetInterface } from './recaptcha-widget';
export interface RecaptchaManagerInterface {

@@ -11,3 +11,3 @@ /**

recaptchaParams?: ReCaptchaV2.Parameters;
}): Promise<RecaptchaWidget>;
}): Promise<RecaptchaWidgetInterface>;
}

@@ -27,3 +27,3 @@ export declare class RecaptchaManager implements RecaptchaManagerInterface {

recaptchaParams?: ReCaptchaV2.Parameters;
}): Promise<RecaptchaWidget>;
}): Promise<RecaptchaWidgetInterface>;
/**

@@ -30,0 +30,0 @@ * Load the Recaptch library from Google.

@@ -10,3 +10,3 @@ {

"author": "Internet Archive",
"version": "0.1.0",
"version": "0.1.1",
"main": "dist/index.js",

@@ -13,0 +13,0 @@ "module": "dist/index.js",

@@ -5,3 +5,3 @@ import {

} from '@internetarchive/lazy-loader-service';
import { RecaptchaWidget } from './recaptcha-widget';
import { RecaptchaWidget, RecaptchaWidgetInterface } from './recaptcha-widget';

@@ -15,3 +15,3 @@ export interface RecaptchaManagerInterface {

recaptchaParams?: ReCaptchaV2.Parameters;
}): Promise<RecaptchaWidget>;
}): Promise<RecaptchaWidgetInterface>;
}

@@ -40,3 +40,3 @@

recaptchaParams?: ReCaptchaV2.Parameters;
}): Promise<RecaptchaWidget> {
}): Promise<RecaptchaWidgetInterface> {
const key = options?.siteKey ?? this.defaultSiteKey;

@@ -43,0 +43,0 @@ if (!key) {

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