edmaxlabs-core 2.4.9 → 2.5.1

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/dist/index.d.cts CHANGED
@@ -45,6 +45,7 @@ interface DisplayInfo {
45
45
  declare class Credentials {
46
46
  uid: string;
47
47
  displayInfo: DisplayInfo;
48
+ logged: boolean;
48
49
  createdAt: Timestamp;
49
50
  updatedAt: Timestamp;
50
51
  lastLogged: Timestamp;
@@ -106,10 +107,11 @@ declare class DocumentRef {
106
107
  private persistence;
107
108
  private syncEngine;
108
109
  private localStore;
110
+ private _isUpdating;
109
111
  constructor(app: EdmaxLabs, collection: string, id: string);
110
112
  get(): Promise<DocumentSnapshot | null>;
111
- set(data: Record<string, any>): Promise<DocumentSnapshot | null>;
112
113
  update(data: Record<string, any>): Promise<DocumentSnapshot | null>;
114
+ set(data: Record<string, any>): Promise<DocumentSnapshot | null>;
113
115
  delete(): Promise<boolean>;
114
116
  onSnapshot(callback: (snapshot: DocumentSnapshot | null, change: string) => void): () => void;
115
117
  }
package/dist/index.d.ts CHANGED
@@ -45,6 +45,7 @@ interface DisplayInfo {
45
45
  declare class Credentials {
46
46
  uid: string;
47
47
  displayInfo: DisplayInfo;
48
+ logged: boolean;
48
49
  createdAt: Timestamp;
49
50
  updatedAt: Timestamp;
50
51
  lastLogged: Timestamp;
@@ -106,10 +107,11 @@ declare class DocumentRef {
106
107
  private persistence;
107
108
  private syncEngine;
108
109
  private localStore;
110
+ private _isUpdating;
109
111
  constructor(app: EdmaxLabs, collection: string, id: string);
110
112
  get(): Promise<DocumentSnapshot | null>;
111
- set(data: Record<string, any>): Promise<DocumentSnapshot | null>;
112
113
  update(data: Record<string, any>): Promise<DocumentSnapshot | null>;
114
+ set(data: Record<string, any>): Promise<DocumentSnapshot | null>;
113
115
  delete(): Promise<boolean>;
114
116
  onSnapshot(callback: (snapshot: DocumentSnapshot | null, change: string) => void): () => void;
115
117
  }