@livequery/client 1.0.41 → 1.0.43

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.
@@ -175,7 +175,7 @@ class CollectionObservable extends rxjs_1.Observable {
175
175
  flush && __classPrivateFieldGet(this, _CollectionObservable_IdMap, "f").clear();
176
176
  __classPrivateFieldSet(this, _CollectionObservable_state, Object.assign(Object.assign({}, __classPrivateFieldGet(this, _CollectionObservable_state, "f")), { items: flush ? [] : __classPrivateFieldGet(this, _CollectionObservable_state, "f").items, error: null, loading: true, options }), "f");
177
177
  __classPrivateFieldGet(this, _CollectionObservable_$state, "f").next(__classPrivateFieldGet(this, _CollectionObservable_state, "f"));
178
- const has_more_data_refs = __classPrivateFieldGet(this, _CollectionObservable_refs, "f").filter(ref => __classPrivateFieldGet(this, _CollectionObservable_next_cursor, "f")[ref] != '#');
178
+ const has_more_data_refs = __classPrivateFieldGet(this, _CollectionObservable_refs, "f").filter(ref => __classPrivateFieldGet(this, _CollectionObservable_next_cursor, "f")[ref] !== undefined && __classPrivateFieldGet(this, _CollectionObservable_next_cursor, "f")[ref] != '#');
179
179
  const queries = has_more_data_refs.map(ref => (this
180
180
  .collection_options
181
181
  .transporter
@@ -193,8 +193,7 @@ class CollectionObservable extends rxjs_1.Observable {
193
193
  }
194
194
  fetch_more() {
195
195
  var _a;
196
- const options = (_a = __classPrivateFieldGet(this, _CollectionObservable_state, "f")) === null || _a === void 0 ? void 0 : _a.options;
197
- this.fetch_data(options);
196
+ this.fetch_data((_a = __classPrivateFieldGet(this, _CollectionObservable_state, "f")) === null || _a === void 0 ? void 0 : _a.options);
198
197
  }
199
198
  filter(filters) {
200
199
  this.fetch_data(filters, true);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "repository": {
4
4
  "url": "https://github.com/livequery/client"
5
5
  },
6
- "version": "1.0.41",
6
+ "version": "1.0.43",
7
7
  "description": "",
8
8
  "main": "build/index.js",
9
9
  "types": "build/index.d.ts",