"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/hoppscotch-app/helpers/fb/index.ts" between
hoppscotch-2.2.1.tar.gz and hoppscotch-3.0.0.tar.gz

About: Hoppscotch is a light-weight, web based API development suite.

index.ts  (hoppscotch-2.2.1):index.ts  (hoppscotch-3.0.0)
import { initializeApp } from "firebase/app" import { initializeApp } from "firebase/app"
import { initAnalytics } from "./analytics" import { initAnalytics } from "./analytics"
import { initAuth } from "./auth" import { initAuth } from "./auth"
import { initCollections } from "./collections" import { initCollections } from "./collections"
import { initEnvironments } from "./environments" import { initEnvironments } from "./environments"
import { initHistory } from "./history" import { initHistory } from "./history"
import { initSettings } from "./settings" import { initSettings } from "./settings"
const firebaseConfig = { const firebaseConfig = {
apiKey: process.env.API_KEY, apiKey: import.meta.env.VITE_API_KEY,
authDomain: process.env.AUTH_DOMAIN, authDomain: import.meta.env.VITE_AUTH_DOMAIN,
databaseURL: process.env.DATABASE_URL, databaseURL: import.meta.env.VITE_DATABASE_URL,
projectId: process.env.PROJECT_ID, projectId: import.meta.env.VITE_PROJECT_ID,
storageBucket: process.env.STORAGE_BUCKET, storageBucket: import.meta.env.VITE_STORAGE_BUCKET,
messagingSenderId: process.env.MESSAGING_SENDER_ID, messagingSenderId: import.meta.env.VITE_MESSAGING_SENDER_ID,
appId: process.env.APP_ID, appId: import.meta.env.VITE_APP_TITLE,
measurementId: process.env.MEASUREMENT_ID, measurementId: import.meta.env.VITE_MEASUREMENT_ID,
} }
let initialized = false let initialized = false
export function initializeFirebase() { export function initializeFirebase() {
if (!initialized) { if (!initialized) {
try { try {
initializeApp(firebaseConfig) initializeApp(firebaseConfig)
initAuth() initAuth()
 End of changes. 1 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)