diff --git a/demo-ng/package.json b/demo-ng/package.json index c1b33fcf..aa20eb72 100644 --- a/demo-ng/package.json +++ b/demo-ng/package.json @@ -25,7 +25,7 @@ "nativescript-angular": "~8.0.3", "nativescript-camera": "~4.5.0", "nativescript-imagepicker": "~6.3.0", - "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.0.tgz", + "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.1.tgz", "nativescript-theme-core": "~1.0.6", "reflect-metadata": "~0.1.13", "rxjs": "~6.5.2", diff --git a/demo-push/package.json b/demo-push/package.json index c11fc797..53b89ad5 100644 --- a/demo-push/package.json +++ b/demo-push/package.json @@ -9,7 +9,7 @@ } }, "dependencies": { - "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.0.tgz", + "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.1.tgz", "nativescript-theme-core": "~1.0.6", "nativescript-unit-test-runner": "0.7.0", "tns-core-modules": "~6.3.2" diff --git a/demo-vue/package.json b/demo-vue/package.json index 1c77a885..905959d0 100644 --- a/demo-vue/package.json +++ b/demo-vue/package.json @@ -14,7 +14,7 @@ } }, "dependencies": { - "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.0.tgz", + "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.1.tgz", "nativescript-theme-core": "~1.0.6", "nativescript-vue": "~2.4.0", "tns-core-modules": "~6.3.2" diff --git a/demo/package.json b/demo/package.json index dd266c7d..b871fdff 100644 --- a/demo/package.json +++ b/demo/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "firebase-functions": "^2.0.5", - "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.0.tgz", + "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-10.5.1.tgz", "nativescript-theme-core": "^1.0.4", "nativescript-unit-test-runner": "0.7.0", "tns-core-modules": "~6.3.2" diff --git a/src/package.json b/src/package.json index 3d9523ed..ecd23208 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-plugin-firebase", - "version": "10.5.0", + "version": "10.5.1", "description": "Fire. Base. Firebase!", "main": "firebase", "typings": "index.d.ts", diff --git a/src/scripts/postinstall.js b/src/scripts/postinstall.js index 3cf09a68..a9c82109 100644 --- a/src/scripts/postinstall.js +++ b/src/scripts/postinstall.js @@ -3626,13 +3626,13 @@ return new Promise(function(resolve, reject) { var validStagingEnvs = ["dev", "development", "staging"]; var validProdEnvs = ['prod','production']; var isProdEnv = false; // building with --env.prod or --env.production flag - var isStagingEnv = false; + var isStagingEnv = false; var env = (hookArgs.platformSpecificData || hookArgs.prepareData).env; if (env) { Object.keys(env).forEach((key) => { - if (validProdEnvs.indexOf(key)>-1) { - isProdEnv=true; + if (validProdEnvs.indexOf(key)>-1) { + isProdEnv = true; } if (validStagingEnvs.indexOf(key) > -1) { isStagingEnv = true; @@ -3958,4 +3958,4 @@ function isPresent(value) { /***/ }) -/******/ ]); +/******/ ]); \ No newline at end of file