@uwdata/mosaic-inputs 0.35.0 → 0.35.1

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/Table.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uwdata/mosaic-inputs",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
4
4
  "description": "Mosaic input components.",
5
5
  "keywords": [
6
6
  "inputs",
@@ -23,8 +23,8 @@
23
23
  "url": "https://github.com/uwdata/mosaic.git"
24
24
  },
25
25
  "dependencies": {
26
- "@uwdata/mosaic-core": "^0.35.0",
27
- "@uwdata/mosaic-sql": "^0.35.0"
26
+ "@uwdata/mosaic-core": "^0.35.1",
27
+ "@uwdata/mosaic-sql": "^0.35.1"
28
28
  },
29
29
  "scripts": {
30
30
  "clean": "rimraf dist && mkdir dist",
package/src/Table.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * @import { Selection } from '@uwdata/mosaic-core'
3
3
  * @import { FilterExpr } from '@uwdata/mosaic-sql'
4
4
  */
5
- import { clausePoints, coordinator, isParam, isSelection, queryFieldInfo, toDataColumns } from '@uwdata/mosaic-core';
5
+ import { clausePoints, isParam, isSelection, queryFieldInfo, toDataColumns } from '@uwdata/mosaic-core';
6
6
  import { Query, desc } from '@uwdata/mosaic-sql';
7
7
  import { formatDate, formatLocaleAuto, formatLocaleNumber } from './util/format.js';
8
8
  import { Input, input } from './input.js';
@@ -187,7 +187,7 @@ export class Table extends Input {
187
187
  this.requestQuery(query);
188
188
 
189
189
  // prefetch subsequent data batch
190
- coordinator().prefetch(query.clone().offset(offset + this.limit));
190
+ this.coordinator?.prefetch(query.clone().offset(offset + this.limit));
191
191
  }
192
192
 
193
193
  async prepare() {