@edgedev/firebase 1.9.20 → 1.9.22

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": "1.9.20",
3
+ "version": "1.9.22",
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": {
@@ -1,6 +1,13 @@
1
1
  // #EDGE FIREBASE RULES START
2
2
  service cloud.firestore {
3
3
 
4
+ match /databases/{database}/documents/phone-auth/{phone} {
5
+ allow read: if false;
6
+ allow create: if false;
7
+ allow update: if false;
8
+ allow delete: if false;
9
+ }
10
+
4
11
  match /databases/{database}/documents/events/{event} {
5
12
  allow read: if false;
6
13
  allow create: if false;
package/src/functions.js CHANGED
@@ -269,7 +269,7 @@ exports.updateUser = functions.firestore.document('staged-users/{docId}').onUpda
269
269
  }
270
270
  }
271
271
  await markProcessed(eventRef)
272
- }
272
+ })
273
273
 
274
274
  function setUser(userRef, newData, oldData, stagedDocId) {
275
275
  // IT's OK If "users" doesn't match exactly matched "staged-users" because this is only preventing