dtable-statistic 5.2.7 → 5.2.9

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.
@@ -29,7 +29,7 @@ class DTableDbAPI {
29
29
  const {
30
30
  dtableUuid
31
31
  } = window.dtable;
32
- const url = 'api/v1/query/' + dtableUuid;
32
+ const url = `/api/v2/dtables/${dtableUuid}/sql/`;
33
33
  let data = {
34
34
  sql: sql,
35
35
  convert_keys
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.2.7",
3
+ "version": "5.2.9",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",
@@ -18,7 +18,7 @@
18
18
  "react-grid-layout": "^1.2.5",
19
19
  "react-intl-universal": "^2.4.8",
20
20
  "reactstrap": "8.9.0",
21
- "sea-chart": "^1.1.50"
21
+ "sea-chart": "^1.1.51"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "dtable-ui-component": "~5.2.*",