@edgedev/firebase 2.1.51 → 2.1.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "2.1.51",
3
+ "version": "2.1.53",
4
4
  "description": "Vue 3 / Nuxt 3 Plugin or Nuxt 3 plugin for firebase authentication and firestore.",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -72,7 +72,7 @@ const deleteR2File = async (filePath) => {
72
72
  }
73
73
  }
74
74
 
75
- exports.fileDeleted = onObjectDeleted(async (event) => {
75
+ exports.fileDeleted = onObjectDeleted({ region: process.env.FIREBASE_STORAGE_BUCKET_REGION }, async (event) => {
76
76
  const docId = event.data.metadata?.fileDocId
77
77
  const toR2 = event.data.metadata?.toR2
78
78
  if (toR2) {
package/src/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Cloud Functions for Firebase",
5
5
  "main": "index.js",
6
6
  "engines": {
7
- "node": "18"
7
+ "node": "22"
8
8
  },
9
9
  "scripts": {
10
10
  "serve": "firebase emulators:start --only functions",