🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@firebase/app-check-types

Package Overview
Dependencies
Maintainers
5
Versions
1414
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/app-check-types - npm Package Compare versions

Comparing version

to
0.2.0-canary.c493d9232

24

index.d.ts

@@ -20,2 +20,3 @@ /**

import { FirebaseApp } from '@firebase/app-types';
import { Provider } from '@firebase/component';

@@ -94,2 +95,25 @@ export interface FirebaseAppCheck {

export class ReCaptchaV3Provider {
/**
* @param siteKey - ReCAPTCHA v3 site key (public key).
*/
constructor(siteKey: string);
}
/*
* Custom token provider.
*/
export class CustomProvider {
/**
* @param options - Options for creating the custom provider.
*/
constructor(options: CustomProviderOptions);
}
interface CustomProviderOptions {
/**
* Function to get an App Check token through a custom provider
* service.
*/
getToken: () => Promise<AppCheckToken>;
}
/**

@@ -96,0 +120,0 @@ * The token returned from an `AppCheckProvider`.

2

package.json
{
"name": "@firebase/app-check-types",
"version": "0.2.0-canary.bd50d8310",
"version": "0.2.0-canary.c493d9232",
"description": "@firebase/app-check Types",

@@ -5,0 +5,0 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",