@lightdash/common 0.1416.1 → 0.1417.0

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.
@@ -334,7 +334,7 @@ const getAvailableSegmentDimensions = (dimensions) => dimensions
334
334
  !d.timeIntervalBaseDimensionName);
335
335
  exports.getAvailableSegmentDimensions = getAvailableSegmentDimensions;
336
336
  const getAvailableCompareMetrics = (metrics) => metrics
337
- .filter((metric) => !!metric.defaultTimeDimension)
337
+ .filter((metric) => !!metric.timeDimension)
338
338
  .filter((metric) => metric.type !== field_1.MetricType.STRING &&
339
339
  metric.type !== field_1.MetricType.BOOLEAN &&
340
340
  metric.type !== field_1.MetricType.DATE &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1416.1",
3
+ "version": "0.1417.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [