@firebase/installations-compat
Advanced tools
Comparing version 0.0.900-exp.f18a6d41d to 0.0.900-exp.f8e97019f
'use strict'; | ||
var appCompat = require('@firebase/app-compat'); | ||
var firebase = require('@firebase/app-compat'); | ||
var component = require('@firebase/component'); | ||
var installations = require('@firebase/installations'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase); | ||
var name = "@firebase/installations-compat"; | ||
@@ -72,3 +76,3 @@ var version = "0.0.900"; | ||
} | ||
registerInstallations(appCompat.firebase); | ||
registerInstallations(firebase__default['default']); | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -1,2 +0,2 @@ | ||
import { firebase } from '@firebase/app-compat'; | ||
import firebase from '@firebase/app-compat'; | ||
import { Component } from '@firebase/component'; | ||
@@ -3,0 +3,0 @@ import { getId, getToken, deleteInstallations, onIdChange } from '@firebase/installations'; |
@@ -1,2 +0,2 @@ | ||
import { firebase } from '@firebase/app-compat'; | ||
import firebase from '@firebase/app-compat'; | ||
import { Component } from '@firebase/component'; | ||
@@ -3,0 +3,0 @@ import { getId, getToken, deleteInstallations, onIdChange } from '@firebase/installations'; |
@@ -18,8 +18,17 @@ /** | ||
import { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types'; | ||
import { FirebaseApp } from '@firebase/app-types'; | ||
declare module '@firebase/component' { | ||
interface NameServiceMapping { | ||
'app-compat': FirebaseApp; | ||
'installations-compat': FirebaseInstallationsCompat; | ||
} | ||
} | ||
/** | ||
* Define extension behavior of `registerInstallations` | ||
*/ | ||
declare module '@firebase/app-compat' { | ||
interface FirebaseNamespace { | ||
installations(app?: FirebaseApp): FirebaseInstallationsCompat; | ||
} | ||
interface FirebaseApp { | ||
installations(): FirebaseInstallationsCompat; | ||
} | ||
} |
@@ -17,8 +17,6 @@ /** | ||
*/ | ||
import { FirebaseInstallations } from "@firebase/installations-types"; | ||
import { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types'; | ||
import { FirebaseApp } from '@firebase/app-types'; | ||
import { FirebaseService } from '@firebase/app-types/private'; | ||
import { IdChangeCallbackFn, IdChangeUnsubscribeFn } from "@firebase/installations"; | ||
export declare class InstallationsCompat implements FirebaseInstallationsCompat, FirebaseService { | ||
import { FirebaseApp, _FirebaseService } from '@firebase/app-compat'; | ||
import { FirebaseInstallations, IdChangeCallbackFn, IdChangeUnsubscribeFn } from "@firebase/installations"; | ||
export declare class InstallationsCompat implements FirebaseInstallationsCompat, _FirebaseService { | ||
app: FirebaseApp; | ||
@@ -25,0 +23,0 @@ private _installations; |
@@ -17,5 +17,5 @@ /** | ||
*/ | ||
import { FirebaseApp } from '@firebase/app-types'; | ||
import { FirebaseInstallations } from "@firebase/installations-types"; | ||
import { FirebaseApp } from '@firebase/app-compat'; | ||
import { FirebaseInstallations } from "@firebase/installations"; | ||
export declare function getFakeApp(): FirebaseApp; | ||
export declare function getFakeInstallations(): FirebaseInstallations; |
{ | ||
"name": "@firebase/installations-compat", | ||
"version": "0.0.900-exp.f18a6d41d", | ||
"version": "0.0.900-exp.f8e97019f", | ||
"private": false, | ||
@@ -29,7 +29,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"serve:build": "rollup -c test-app/rollup.config.js", | ||
"serve:host": "http-server -c-1 test-app", | ||
"api-report": "api-extractor run --local --verbose", | ||
"predoc": "node ../../scripts/exp/remove-exp.js temp", | ||
"doc": "api-documenter markdown --input temp --output docs", | ||
"build:doc": "yarn build && yarn doc" | ||
"serve:host": "http-server -c-1 test-app" | ||
}, | ||
@@ -47,20 +43,19 @@ "repository": { | ||
"rollup": "2.33.2", | ||
"@rollup/plugin-commonjs": "15.1.0", | ||
"@rollup/plugin-commonjs": "17.1.0", | ||
"@rollup/plugin-json": "4.1.0", | ||
"@rollup/plugin-node-resolve": "9.0.0", | ||
"@rollup/plugin-node-resolve": "11.2.0", | ||
"rollup-plugin-typescript2": "0.29.0", | ||
"rollup-plugin-uglify": "6.0.4", | ||
"typescript": "4.0.5" | ||
"typescript": "4.2.2" | ||
}, | ||
"peerDependencies": { | ||
"@firebase/app-compat": "0.0.900-exp.f18a6d41d" | ||
"@firebase/app-compat": "0.0.900-exp.f8e97019f" | ||
}, | ||
"dependencies": { | ||
"@firebase/installations": "0.0.900-exp.f18a6d41d", | ||
"@firebase/installations-types": "0.0.900-exp.f18a6d41d", | ||
"@firebase/util": "0.3.4", | ||
"@firebase/component": "0.1.21", | ||
"@firebase/installations": "0.0.900-exp.f8e97019f", | ||
"@firebase/util": "0.4.0", | ||
"@firebase/component": "0.2.1", | ||
"idb": "3.0.2", | ||
"tslib": "^1.11.1" | ||
"tslib": "^2.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
29136
6
321
33
258
+ Added@firebase/app@0.0.900-exp.f8e97019f(transitive)
+ Added@firebase/app-compat@0.0.900-exp.f8e97019f(transitive)
+ Added@firebase/component@0.2.1(transitive)
+ Added@firebase/installations@0.0.900-exp.f8e97019f(transitive)
+ Added@firebase/util@0.4.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@firebase/installations-types@0.0.900-exp.f18a6d41d
- Removed@firebase/app@0.0.900-exp.f18a6d41d(transitive)
- Removed@firebase/app-compat@0.0.900-exp.f18a6d41d(transitive)
- Removed@firebase/app-types@0.0.900-exp.f18a6d41d0.9.3(transitive)
- Removed@firebase/component@0.1.21(transitive)
- Removed@firebase/installations@0.0.900-exp.f18a6d41d(transitive)
- Removed@firebase/installations-types@0.0.900-exp.f18a6d41d(transitive)
- Removed@firebase/util@0.3.4(transitive)
- Removedtslib@1.14.1(transitive)
Updated@firebase/component@0.2.1
Updated@firebase/util@0.4.0
Updatedtslib@^2.1.0