@firebase/app-check-compat
Advanced tools
Comparing version 0.0.900-exp.f43d0c698 to 0.1.0-20217250818
@@ -15,3 +15,3 @@ 'use strict'; | ||
var name = "@firebase/app-check-compat"; | ||
var version = "0.0.900-exp.f43d0c698"; | ||
var version = "0.1.0-20217250818"; | ||
@@ -18,0 +18,0 @@ /** |
@@ -7,3 +7,3 @@ import firebase from '@firebase/app-compat'; | ||
var name = "@firebase/app-check-compat"; | ||
var version = "0.0.900-exp.f43d0c698"; | ||
var version = "0.1.0-20217250818"; | ||
@@ -10,0 +10,0 @@ /** |
@@ -7,3 +7,3 @@ import firebase from '@firebase/app-compat'; | ||
const name = "@firebase/app-check-compat"; | ||
const version = "0.0.900-exp.f43d0c698"; | ||
const version = "0.1.0-20217250818"; | ||
@@ -10,0 +10,0 @@ /** |
@@ -17,9 +17,3 @@ /** | ||
*/ | ||
import { AppCheckService } from './service'; | ||
import { FirebaseAppCheck } from '@firebase/app-check-types'; | ||
declare module '@firebase/component' { | ||
interface NameServiceMapping { | ||
'appCheck-compat': AppCheckService; | ||
} | ||
} | ||
export declare function registerAppCheck(): void; | ||
@@ -37,1 +31,10 @@ /** | ||
} | ||
import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat"; | ||
import { AppCheckTokenResult, PartialObserver, Unsubscribe } from "@firebase/app-check"; | ||
declare module "@firebase/app-check" { | ||
function getToken(appCheckInstance: FirebaseAppCheck, forceRefresh?: boolean): Promise<AppCheckTokenResult>; | ||
function onTokenChanged(appCheckInstance: FirebaseAppCheck, observer: PartialObserver<AppCheckTokenResult>): Unsubscribe; | ||
function onTokenChanged(appCheckInstance: FirebaseAppCheck, onNext: (tokenResult: AppCheckTokenResult) => void, onError?: (error: Error) => void, onCompletion?: () => void): Unsubscribe; | ||
function setTokenAutoRefreshEnabled(appCheckInstance: FirebaseAppCheck, isTokenAutoRefreshEnabled: boolean): void; | ||
} |
@@ -19,3 +19,3 @@ /** | ||
import { _FirebaseService, FirebaseApp } from '@firebase/app-compat'; | ||
import { AppCheck as AppCheckServiceExp } from "@firebase/app-check"; | ||
import { AppCheck as AppCheckServiceExp } from '@firebase/app-check'; | ||
import { PartialObserver, Unsubscribe } from '@firebase/util'; | ||
@@ -22,0 +22,0 @@ export declare class AppCheckService implements FirebaseAppCheck, Omit<_FirebaseService, '_delegate'> { |
{ | ||
"name": "@firebase/app-check-compat", | ||
"version": "0.0.900-exp.f43d0c698", | ||
"private": false, | ||
"version": "0.1.0-20217250818", | ||
"description": "A compat App Check package for new firebase packages", | ||
@@ -17,3 +16,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"build": "rollup -c", | ||
"build:release": "rollup -c rollup.config.release.js", | ||
"build:release": "yarn build && yarn add-compat-overloads", | ||
"build:deps": "lerna run --scope @firebase/app-check-compat --include-dependencies build", | ||
@@ -23,12 +22,13 @@ "dev": "rollup -c -w", | ||
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser", | ||
"test:browser": "karma start --single-run --nocache" | ||
"test:browser": "karma start --single-run --nocache", | ||
"add-compat-overloads": "ts-node-script ../../scripts/exp/create-overloads.ts -i ../app-check/dist/app-check-public.d.ts -o dist/src/index.d.ts -a -r AppCheck:FirebaseAppCheck -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/app-check" | ||
}, | ||
"peerDependencies": { | ||
"@firebase/app-compat": "0.0.900-exp.f43d0c698" | ||
"@firebase/app-compat": "0.1.0-20217250818" | ||
}, | ||
"dependencies": { | ||
"@firebase/app-check": "0.0.900-exp.f43d0c698", | ||
"@firebase/app-check": "0.4.0-20217250818", | ||
"@firebase/logger": "0.2.6", | ||
"@firebase/util": "1.1.0", | ||
"@firebase/component": "0.5.3", | ||
"@firebase/util": "1.3.0", | ||
"@firebase/component": "0.5.6", | ||
"tslib": "^2.1.0" | ||
@@ -38,3 +38,3 @@ }, | ||
"devDependencies": { | ||
"@firebase/app-compat": "0.0.900", | ||
"@firebase/app-compat": "0.1.0-20217250818", | ||
"rollup": "2.52.2", | ||
@@ -41,0 +41,0 @@ "@rollup/plugin-commonjs": "17.1.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46075
456
+ Added@firebase/app@0.7.0-20217250818(transitive)
+ Added@firebase/app-check@0.4.0-20217250818(transitive)
+ Added@firebase/app-compat@0.1.0-20217250818(transitive)
+ Added@firebase/component@0.5.6(transitive)
+ Added@firebase/util@1.3.0(transitive)
- Removed@firebase/app@0.0.900-exp.f43d0c698(transitive)
- Removed@firebase/app-check@0.0.900-exp.f43d0c698(transitive)
- Removed@firebase/app-compat@0.0.900-exp.f43d0c698(transitive)
- Removed@firebase/component@0.5.3(transitive)
- Removed@firebase/util@1.1.0(transitive)
- Removeddom-storage@2.1.0(transitive)
- Removedxmlhttprequest@1.8.0(transitive)
Updated@firebase/component@0.5.6
Updated@firebase/util@1.3.0