Moe03 / firebase-admin-rest

Firebase admin wrapper on REST apis works on Vercel edge functions, cloudflare workers, bun, deno or any js runtime.
MIT License
7 stars 1 forks source link

NodeJS env doesn't work #3

Open Moe03 opened 7 months ago

Moe03 commented 7 months ago

Of course if you're working on NodeJS env its better to just use the official firebase-admin sdk as we're specificallly using packages that only work on cloudflare workers (in built crypto.subtle), this will be changed tho soon to support nodejs env as well

Moe03 commented 7 months ago

Update: crypto.subtle is implemented on nodejs 22 https://nodejs.org/api/webcrypto.html

hffmnn commented 3 months ago

Tested on AWS Lambda with NodeJS v20. This works also.