@speakableio/core 0.1.89 → 0.1.91
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.native.d.mts +1 -0
- package/dist/index.native.d.ts +1 -0
- package/dist/index.native.js +2 -2
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +2 -2
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +1 -0
- package/dist/index.web.js +2 -2
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.web.d.mts
CHANGED
package/dist/index.web.js
CHANGED
|
@@ -2803,7 +2803,7 @@ var useUpdateStudentVocab = (page) => {
|
|
|
2803
2803
|
} catch (error) {
|
|
2804
2804
|
if (error instanceof Error && error.message === "not-found") {
|
|
2805
2805
|
data.firstSeen = serverTimestamp2();
|
|
2806
|
-
await api.setDoc(docPath, data);
|
|
2806
|
+
await api.setDoc(docPath, data, { merge: true });
|
|
2807
2807
|
} else {
|
|
2808
2808
|
console.log(error);
|
|
2809
2809
|
}
|
|
@@ -2825,7 +2825,7 @@ var useUpdateStudentVocab = (page) => {
|
|
|
2825
2825
|
} catch (error) {
|
|
2826
2826
|
if (error instanceof Error && error.message === "not-found") {
|
|
2827
2827
|
data.firstSeen = serverTimestamp2();
|
|
2828
|
-
await api.setDoc(docPath, data);
|
|
2828
|
+
await api.setDoc(docPath, data, { merge: true });
|
|
2829
2829
|
} else {
|
|
2830
2830
|
console.log(error);
|
|
2831
2831
|
}
|