@edgedev/firebase 2.1.70 → 2.1.71

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 +7 -2
  2. package/package.json +1 -1
package/edgeFirebase.ts CHANGED
@@ -1389,8 +1389,13 @@ export const EdgeFirebase = class {
1389
1389
  const canRead = await this.permissionCheck("read", collectionPath);
1390
1390
  if (canRead) {
1391
1391
  const q = this.getQuery(collectionPath, queryList, orderList, max, last);
1392
-
1393
- const docs = await getDocs(q);
1392
+ let docs;
1393
+ try {
1394
+ docs = await getDocs(q);
1395
+ } catch (error) {
1396
+ console.log('error getting documents')
1397
+ console.error('Error getting documents:', error);
1398
+ }
1394
1399
 
1395
1400
  nextLast = docs.docs[docs.docs.length - 1];
1396
1401
  docs.forEach((doc) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "2.1.70",
3
+ "version": "2.1.71",
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": {