@tinypudding/puddy-lib
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -28,4 +28,12 @@ module.exports = function (req, cfg) { | ||
// Firebase Is Emulator | ||
let firebaseIsEmulator = false; | ||
try { | ||
firebaseIsEmulator = require('@tinypudding/firebase-lib/isEmulator')(); | ||
} catch(err) { | ||
firebaseIsEmulator = false; | ||
} | ||
// Verify String | ||
if ((typeof cfg.domain === "string" && cfg.domain === domainStatus.domain) || require('../firebase/isEmulator')()) { | ||
if ((typeof cfg.domain === "string" && cfg.domain === domainStatus.domain) || firebaseIsEmulator) { | ||
domainStatus.verified = true; | ||
@@ -32,0 +40,0 @@ } |
{ | ||
"name": "@tinypudding/puddy-lib", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Essential codes to run the other repositories from the Tiny Pudding Account.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
51272
555