@infrab4a/connect 4.1.3-beta.1 → 4.1.4

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/index.cjs.js CHANGED
@@ -2769,7 +2769,7 @@ const withFindFirestore = (MixinBase) => {
2769
2769
  const collection = this.collection(this.buildCollectionPathForFind(find.filters));
2770
2770
  const enableCount = (_b = (_a = find === null || find === void 0 ? void 0 : find.options) === null || _a === void 0 ? void 0 : _a.enableCount) !== null && _b !== void 0 ? _b : true;
2771
2771
  const intercepted = await ((_d = (_c = this.interceptors) === null || _c === void 0 ? void 0 : _c.request) === null || _d === void 0 ? void 0 : _d.call(_c, { find }));
2772
- const { filters, limits, orderBy } = intercepted.find || find;
2772
+ const { filters, limits, orderBy } = (intercepted === null || intercepted === void 0 ? void 0 : intercepted.find) || find;
2773
2773
  const queries = this.makeFirestoreWhere(filters || {});
2774
2774
  const ordination = this.makeFirestoreOrderBy(filters, orderBy);
2775
2775
  const offsets = await this.defineLimits(filters, limits);
package/index.esm.js CHANGED
@@ -2745,7 +2745,7 @@ const withFindFirestore = (MixinBase) => {
2745
2745
  const collection = this.collection(this.buildCollectionPathForFind(find.filters));
2746
2746
  const enableCount = (_b = (_a = find === null || find === void 0 ? void 0 : find.options) === null || _a === void 0 ? void 0 : _a.enableCount) !== null && _b !== void 0 ? _b : true;
2747
2747
  const intercepted = await ((_d = (_c = this.interceptors) === null || _c === void 0 ? void 0 : _c.request) === null || _d === void 0 ? void 0 : _d.call(_c, { find }));
2748
- const { filters, limits, orderBy } = intercepted.find || find;
2748
+ const { filters, limits, orderBy } = (intercepted === null || intercepted === void 0 ? void 0 : intercepted.find) || find;
2749
2749
  const queries = this.makeFirestoreWhere(filters || {});
2750
2750
  const ordination = this.makeFirestoreOrderBy(filters, orderBy);
2751
2751
  const offsets = await this.defineLimits(filters, limits);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.1.3-beta.1",
3
+ "version": "4.1.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },