@edgedev/firebase 1.5.3 → 1.5.4

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.
Files changed (2) hide show
  1. package/edgeFirebase.ts +3 -3
  2. package/package.json +1 -1
package/edgeFirebase.ts CHANGED
@@ -1133,7 +1133,7 @@ export const EdgeFirebase = class {
1133
1133
  });
1134
1134
  }
1135
1135
 
1136
- public startUsersSnapshot = async(collectionPath = ''): Promise<void> => {
1136
+ public startUsersSnapshot = (collectionPath = ''): void => {
1137
1137
  this.stopUsersSnapshot();
1138
1138
  for (const collectionPathCheck of this.user.canAssignCollectionPaths) {
1139
1139
 
@@ -1147,7 +1147,7 @@ export const EdgeFirebase = class {
1147
1147
  collectionPathCheck
1148
1148
  )
1149
1149
  )
1150
- const rolesUnsubscribe = await onSnapshot(q, (querySnapshot) => {
1150
+ const rolesUnsubscribe = onSnapshot(q, (querySnapshot) => {
1151
1151
  const items = {};
1152
1152
  querySnapshot.forEach((doc) => {
1153
1153
  const user = doc.data();
@@ -1177,7 +1177,7 @@ export const EdgeFirebase = class {
1177
1177
  )
1178
1178
  )
1179
1179
 
1180
- const specialPermissionsunsubscribe = await onSnapshot(q, (querySnapshot) => {
1180
+ const specialPermissionsunsubscribe = onSnapshot(q, (querySnapshot) => {
1181
1181
  const items = {};
1182
1182
  querySnapshot.forEach((doc) => {
1183
1183
  const user = doc.data();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Vue 3 / Nuxt 3 Plugin or Nuxt 3 global composable for firebase authentication and firestore.",
5
5
  "main": "index.ts",
6
6
  "scripts": {