@sirendesign/markup 1.0.17 → 1.0.18
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/dist/markup-widget.js
CHANGED
|
@@ -11571,13 +11571,9 @@
|
|
|
11571
11571
|
* See https://github.com/firebase/firebase-js-sdk/issues/6838
|
|
11572
11572
|
*/
|
|
11573
11573
|
const getDefaultsFromEnvVariable = () => {
|
|
11574
|
-
|
|
11574
|
+
{
|
|
11575
11575
|
return;
|
|
11576
11576
|
}
|
|
11577
|
-
const defaultsJsonString = process.env.__FIREBASE_DEFAULTS__;
|
|
11578
|
-
if (defaultsJsonString) {
|
|
11579
|
-
return JSON.parse(defaultsJsonString);
|
|
11580
|
-
}
|
|
11581
11577
|
};
|
|
11582
11578
|
const getDefaultsFromCookie = () => {
|
|
11583
11579
|
if (typeof document === 'undefined') {
|
|
@@ -39694,9 +39690,6 @@
|
|
|
39694
39690
|
* VITE_FIREBASE_API_KEY, VITE_FIREBASE_AUTH_DOMAIN, etc.
|
|
39695
39691
|
*/
|
|
39696
39692
|
const getDefaultFirebaseConfig = () => {
|
|
39697
|
-
var _a;
|
|
39698
|
-
// Check if running in browser without env vars (UMD bundle)
|
|
39699
|
-
typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) === 'production';
|
|
39700
39693
|
// Try to get from environment variables (works in build time)
|
|
39701
39694
|
const config = {
|
|
39702
39695
|
apiKey: 'AIzaSyD2rQ-HOEU4VW5h5CGmKQK9FcBDp2bi98g',
|