@entropic-bond/firebase 1.13.21 → 1.13.22
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.
|
@@ -14114,7 +14114,7 @@ class Wa {
|
|
|
14114
14114
|
throw new Error("The method collectionsMatchingTemplate has not been implemented in the concrete data source");
|
|
14115
14115
|
}, e && (this.beforeUpdate = e.beforeUpdateDocument, this.afterUpdate = e.afterUpdateDocument, this.onAllPropsUpdatedCallback = e.onAllPropsUpdated);
|
|
14116
14116
|
}
|
|
14117
|
-
|
|
14117
|
+
installUpdaters() {
|
|
14118
14118
|
const e = pe.getSystemRegisteredReferencesWithCachedProps(), t = {};
|
|
14119
14119
|
return Object.entries(e).forEach(([r, s]) => {
|
|
14120
14120
|
s.forEach((i) => {
|
|
@@ -14122,14 +14122,14 @@ class Wa {
|
|
|
14122
14122
|
t[a] || (t[a] = []), t[a].push(i);
|
|
14123
14123
|
});
|
|
14124
14124
|
});
|
|
14125
|
-
}), this.handlers = [],
|
|
14126
|
-
const i =
|
|
14125
|
+
}), this.handlers = [], Object.entries(t).forEach(([r, s]) => {
|
|
14126
|
+
const i = this.subscribeToDocumentChangeListener(
|
|
14127
14127
|
r,
|
|
14128
14128
|
(a) => this.onDocumentChange(a, s)
|
|
14129
14129
|
);
|
|
14130
14130
|
if (i) this.handlers.push(i);
|
|
14131
14131
|
else throw new Error("The method documentChangeListener has not been implemented in the concrete data source");
|
|
14132
|
-
})
|
|
14132
|
+
}), this.handlers;
|
|
14133
14133
|
}
|
|
14134
14134
|
uninstallUpdaters() {
|
|
14135
14135
|
this.handlers.forEach((e) => e.uninstall()), this.handlers = [];
|
|
@@ -14189,8 +14189,8 @@ class jt {
|
|
|
14189
14189
|
constructor() {
|
|
14190
14190
|
this._cachedPropsUpdater = void 0;
|
|
14191
14191
|
}
|
|
14192
|
-
|
|
14193
|
-
return this._cachedPropsUpdater = new Wa(e), this._cachedPropsUpdater.documentChangeListenerSubscriber = this.subscribeToDocumentChangeListener.bind(this), this._cachedPropsUpdater.collectionsMatchingTemplateFunction = this.
|
|
14192
|
+
installCachedPropsUpdater(e) {
|
|
14193
|
+
return this._cachedPropsUpdater = new Wa(e), this._cachedPropsUpdater.documentChangeListenerSubscriber = this.subscribeToDocumentChangeListener.bind(this), this._cachedPropsUpdater.collectionsMatchingTemplateFunction = this.resolveCollectionPaths.bind(this), this._cachedPropsUpdater.installUpdaters();
|
|
14194
14194
|
}
|
|
14195
14195
|
uninstallCachedPropsUpdater() {
|
|
14196
14196
|
this._cachedPropsUpdater?.uninstallUpdaters(), this._cachedPropsUpdater = void 0;
|
|
@@ -20571,7 +20571,7 @@ class NA extends jt {
|
|
|
20571
20571
|
subscribeToDocumentChangeListener(e, t) {
|
|
20572
20572
|
throw new Error("Method not implemented.");
|
|
20573
20573
|
}
|
|
20574
|
-
|
|
20574
|
+
resolveCollectionPaths(e) {
|
|
20575
20575
|
throw new Error("Method not implemented.");
|
|
20576
20576
|
}
|
|
20577
20577
|
}
|