LibreChat/packages
Jaka Centa 68bb533083
🔥 fix: Firebase CDN Initialization Under tsdown CJS Interop (#14046)
The `@librechat/api` build migrated to tsdown (rolldown/oxc) in #13595.
tsdown externalizes third-party deps and uses strict CJS interop, so a
default import of the Firebase v9+ modular SDK — whose CJS entry is
`__esModule`-marked with only named exports and no `default` — resolves
to `undefined`. `firebase.initializeApp(...)` then throws:

  TypeError: Cannot read properties of undefined (reading 'initializeApp')

crashing startup whenever the Firebase file strategy is configured
(`fileStrategy: firebase` or a granular `fileStrategies` entry).

Switch to the idiomatic modular named import (`initializeApp`) and use
the already-imported `FirebaseApp` type for the return annotation.
2026-07-01 08:20:40 -04:00
..
api 🔥 fix: Firebase CDN Initialization Under tsdown CJS Interop (#14046) 2026-07-01 08:20:40 -04:00
client
data-provider 🥷 feat: Add showInMenu Option to Model Specs (#14034) 2026-06-30 19:32:59 -04:00
data-schemas fix: stripHeavyErrorFields Winston format (defense-in-depth) (#14018) 2026-06-30 20:35:51 -04:00