backend-manager 3.2.157 → 3.2.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "3.2.157",
3
+ "version": "3.2.158",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -211,12 +211,14 @@ Manager.prototype.init = function (exporter, options) {
211
211
  // Initialize Firebase
212
212
  if (process.env.GOOGLE_APPLICATION_CREDENTIALS) {
213
213
  self.libraries.initializedAdmin = self.libraries.admin.initializeApp();
214
+ // self.app = self.libraries.initializedAdmin;
214
215
  } else {
215
216
  const serviceAccount = require(self.project.serviceAccountPath);
216
217
  self.libraries.initializedAdmin = self.libraries.admin.initializeApp({
217
218
  credential: self.libraries.admin.credential.cert(serviceAccount),
218
219
  databaseURL: self.project.databaseURL || `https://${self.project.projectId}.firebaseio.com`,
219
220
  }, options.uniqueAppName);
221
+ // self.app = self.libraries.initializedAdmin;
220
222
 
221
223
  const loadedProjectId = serviceAccount.project_id;
222
224
  if (!loadedProjectId || !loadedProjectId.includes(appId)) {