Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@firebase/app-check-types

Package Overview
Dependencies
Maintainers
5
Versions
1228
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 0.2.0 to 0.3.0-20217322453

6

CHANGELOG.md
# @firebase/app-check-types
## 0.3.0-20217322453
### Minor Changes
- [`8599d9141`](https://github.com/firebase/firebase-js-sdk/commit/8599d91416ae8ac5202742f11cee00666d3360ec) [#4902](https://github.com/firebase/firebase-js-sdk/pull/4902) - Add `RecaptchaV3Provider` and `CustomProvider` classes that can be supplied to `firebase.appCheck().activate()`.
## 0.2.0

@@ -4,0 +10,0 @@

@@ -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",
"version": "0.3.0-20217322453",
"description": "@firebase/app-check Types",

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

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