Skip to content

Commit

Permalink
update to firebase v8.5 and remove redundant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jshortall committed May 6, 2021
1 parent b499c5b commit 671ce25
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion firebase-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ https://github.com/firebase/polymerfire/blob/master/LICENSE
// Polymer imports
import '@polymer/polymer/polymer-legacy.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
import firebase from '@firebase/app';
// import firebase from '@firebase/app';
import '@firebase/app';
import '@firebase/database';
import '@firebase/auth';
Expand Down
2 changes: 1 addition & 1 deletion firebase-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ be a problem.
// Polymer imports
import '@polymer/polymer/polymer-legacy.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
import firebase from '@firebase/app';
// import firebase from '@firebase/app';
import { FirebaseCommonBehavior } from './firebase-common-behavior.js';
import '@firebase/auth';

Expand Down
2 changes: 1 addition & 1 deletion firebase-common-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ https://github.com/firebase/polymerfire/blob/master/LICENSE
// Polymer imports
import '@polymer/polymer/polymer-legacy.js';
import { AppNetworkStatusBehavior } from '@polymer/app-storage/app-network-status-behavior';
import firebase from '@firebase/app';
// import firebase from '@firebase/app';

// Polymer({
//
Expand Down
2 changes: 1 addition & 1 deletion firebase-document.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ https://github.com/firebase/polymerfire/blob/master/LICENSE
import '@polymer/polymer/polymer-legacy.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
import { FirebaseDatabaseBehavior } from './firebase-database-behavior.js';
import firebase from '@firebase/app';
// import firebase from '@firebase/app';

/**
* The firebase-document element is an easy way to interact with a firebase
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@polymer/app-storage": "^3.0.0-pre.21",
"@polymer/polymer": "^3.0.2",
"firebase": "^7.0.0"
"firebase": "^8.5.0"
},
"deprecated": false,
"description": "Polymer Web Components for Firebase",
Expand All @@ -56,5 +56,5 @@
"license": "BSD-3-Clause",
"main": "polymerfire.js",
"name": "polymerfire",
"version": "3.0.7"
"version": "4.0.0"
}

0 comments on commit 671ce25

Please sign in to comment.