🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@firebase/app-check

Package Overview
Dependencies
Maintainers
4
Versions
1696
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/app-check - npm Package Compare versions

Comparing version
0.11.4
to
0.12.0-20260615181107
+4
-2
dist/app-check-public.d.ts

@@ -40,3 +40,3 @@ /**

*/
provider: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
provider?: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
/**

@@ -148,4 +148,6 @@ * If set to true, enables automatic background refresh of App Check token.

*/
export declare function initializeAppCheck(app: FirebaseApp | undefined, options: AppCheckOptions): AppCheck;
export declare function initializeAppCheck(app?: FirebaseApp, options?: AppCheckOptions): AppCheck;
/* Excluded from this release type: _initializeAppCheckInternal */
/**

@@ -152,0 +154,0 @@ * Registers a listener to changes in the token state. There can be more

@@ -46,3 +46,3 @@ /**

*/
provider: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
provider?: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
/**

@@ -170,5 +170,13 @@ * If set to true, enables automatic background refresh of App Check token.

*/
export declare function initializeAppCheck(app: FirebaseApp | undefined, options: AppCheckOptions): AppCheck;
export declare function initializeAppCheck(app?: FirebaseApp, options?: AppCheckOptions): AppCheck;
/**
* Internal wrapper that sets a state variable flagging that this was
* initialized under the hood by a product SDK.
*
* @internal
*/
export declare function _initializeAppCheckInternal(initializerName: string, app?: FirebaseApp, options?: AppCheckOptions): AppCheck;
/**
* Registers a listener to changes in the token state. There can be more

@@ -175,0 +183,0 @@ * than one listener registered at the same time for one or more

@@ -32,4 +32,11 @@ /**

*/
export declare function initializeAppCheck(app: FirebaseApp | undefined, options: AppCheckOptions): AppCheck;
export declare function initializeAppCheck(app?: FirebaseApp, options?: AppCheckOptions): AppCheck;
/**
* Internal wrapper that sets a state variable flagging that this was
* initialized under the hood by a product SDK.
*
* @internal
*/
export declare function _initializeAppCheckInternal(initializerName: string, app?: FirebaseApp, options?: AppCheckOptions): AppCheck;
/**
* Set whether App Check will automatically refresh tokens as needed.

@@ -36,0 +43,0 @@ *

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

ALREADY_INITIALIZED = "already-initialized",
ALREADY_INTERNALLY_INITIALIZED = "already-internally-initialized",
USE_BEFORE_ACTIVATION = "use-before-activation",

@@ -29,2 +30,3 @@ FETCH_NETWORK_ERROR = "fetch-network-error",

RECAPTCHA_ERROR = "recaptcha-error",
NO_PROVIDER = "no-provider",
INITIAL_THROTTLE = "initial-throttle",

@@ -37,2 +39,5 @@ THROTTLED = "throttled"

};
[AppCheckError.ALREADY_INTERNALLY_INITIALIZED]: {
initializerName: string;
};
[AppCheckError.USE_BEFORE_ACTIVATION]: {

@@ -39,0 +44,0 @@ appName: string;

@@ -54,3 +54,3 @@ /**

*/
provider: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
provider?: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
/**

@@ -57,0 +57,0 @@ * If set to true, enables automatic background refresh of App Check token.

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

isTokenAutoRefreshEnabled?: boolean;
internallyInitializedBy?: string;
}

@@ -34,0 +35,0 @@ export interface ReCAPTCHAState {

@@ -32,4 +32,11 @@ /**

*/
export declare function initializeAppCheck(app: FirebaseApp | undefined, options: AppCheckOptions): AppCheck;
export declare function initializeAppCheck(app?: FirebaseApp, options?: AppCheckOptions): AppCheck;
/**
* Internal wrapper that sets a state variable flagging that this was
* initialized under the hood by a product SDK.
*
* @internal
*/
export declare function _initializeAppCheckInternal(initializerName: string, app?: FirebaseApp, options?: AppCheckOptions): AppCheck;
/**
* Set whether App Check will automatically refresh tokens as needed.

@@ -36,0 +43,0 @@ *

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

ALREADY_INITIALIZED = "already-initialized",
ALREADY_INTERNALLY_INITIALIZED = "already-internally-initialized",
USE_BEFORE_ACTIVATION = "use-before-activation",

@@ -29,2 +30,3 @@ FETCH_NETWORK_ERROR = "fetch-network-error",

RECAPTCHA_ERROR = "recaptcha-error",
NO_PROVIDER = "no-provider",
INITIAL_THROTTLE = "initial-throttle",

@@ -37,2 +39,5 @@ THROTTLED = "throttled"

};
[AppCheckError.ALREADY_INTERNALLY_INITIALIZED]: {
initializerName: string;
};
[AppCheckError.USE_BEFORE_ACTIVATION]: {

@@ -39,0 +44,0 @@ appName: string;

@@ -54,3 +54,3 @@ /**

*/
provider: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
provider?: CustomProvider | ReCaptchaV3Provider | ReCaptchaEnterpriseProvider;
/**

@@ -57,0 +57,0 @@ * If set to true, enables automatic background refresh of App Check token.

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

isTokenAutoRefreshEnabled?: boolean;
internallyInitializedBy?: string;
}

@@ -34,0 +35,0 @@ export interface ReCAPTCHAState {

{
"name": "@firebase/app-check",
"version": "0.11.4",
"version": "0.12.0-20260615181107",
"description": "The App Check component of the Firebase JS SDK",

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

"peerDependencies": {
"@firebase/app": "0.x"
"@firebase/app": "0.15.0-20260615181107"
},

@@ -48,3 +48,3 @@ "dependencies": {

"devDependencies": {
"@firebase/app": "0.14.13",
"@firebase/app": "0.15.0-20260615181107",
"rollup": "2.79.2",

@@ -51,0 +51,0 @@ "@rollup/plugin-commonjs": "21.1.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display