@speakableio/core 0.1.54 → 0.1.56

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.
@@ -121,6 +121,14 @@ var FirebaseAPI = class _FirebaseAPI {
121
121
  const { getDoc: getDoc2, doc: doc2 } = this.helpers;
122
122
  const docRef = doc2(this.db, path);
123
123
  const docSnap = await getDoc2(docRef);
124
+ console.log("debug get doc api", {
125
+ path,
126
+ db: this.db,
127
+ doc: doc2,
128
+ getDoc: getDoc2,
129
+ docRef,
130
+ docSnap
131
+ });
124
132
  const data = docSnap.exists() ? {
125
133
  ...docSnap.data(),
126
134
  id: docSnap.id
@@ -139,6 +147,15 @@ var FirebaseAPI = class _FirebaseAPI {
139
147
  data: doc2.data(),
140
148
  id: doc2.id
141
149
  }));
150
+ console.log("debug get docs api", {
151
+ path,
152
+ db: this.db,
153
+ query: query2,
154
+ collection: collection2,
155
+ collectionRef,
156
+ q,
157
+ querySnapshot
158
+ });
142
159
  return {
143
160
  data,
144
161
  querySnapshot,