@edgedev/firebase 2.1.40 → 2.1.41

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 -2
  2. package/package.json +1 -1
package/edgeFirebase.ts CHANGED
@@ -197,7 +197,7 @@ interface permissionStatus {
197
197
 
198
198
  interface User {
199
199
  userId: string;
200
- stagedDocId: string;
200
+ docId: string;
201
201
  }
202
202
 
203
203
  interface Meta {
@@ -818,7 +818,8 @@ export const EdgeFirebase = class {
818
818
  const users = Object.values(this.state.users) as User[];
819
819
  const user = users.find((u) => u.userId === userId);
820
820
  if (user) {
821
- stagedDocId = user.stagedDocId;
821
+ console.log(user)
822
+ stagedDocId = user.docId;
822
823
  } else {
823
824
  return this.sendResponse({
824
825
  success: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "2.1.40",
3
+ "version": "2.1.41",
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": {