@basjkorbee/sveltekit-adapter-firebase
v0.0.6
Published
[Firebase](https://firebase.google.com/) adapter for [SvelteKit](https://github.com/sveltejs/kit).
Downloads
13
Maintainers
Readme
sveltekit-firebase-adapter
This is a fork of simonnepomuk's adapter for my own use, but if it's useful for others, feel free to use it.
Changelog
- feat: added node 18 & 20 to the
nodeVersion
option. - feat: added some extra dependencies that seemed to be missing to the generated
package.json
. - fix: cors being stringified to '{}'.
- fix: install of dependencies in functions directory.
- feat: add
autoInstallDeps
flag in options to be able to toggle off automatic install of dependencies in functions directory. - fix: use req.rawBody instead of req.body when creating new Request instance as firebase functions automatically parse the body using bodyParser based on the content-type. Was causing errors where if the content-type was
application/json
, the request body would evaluate to'[object Object]'
.