@carto/api-client 0.5.4-alpha.0 → 0.5.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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## 0.5
4
4
 
5
+ ### 0.5.4
6
+
7
+ - fix(widgets): Fix support for 'storeGeometry' on tileset widgets (#181)
8
+ - fix(widgets): Fix inference of 'spatialDataType' for dynamic point aggregation sources (#178)
9
+
10
+ ### 0.5.3
11
+
12
+ - chore(deps): Unpin h3-js dependency (#176)
13
+ - chore(types): Export missing types used in public API (#159)
14
+
5
15
  ### 0.5.2
6
16
 
7
17
  - feat(filters): Export getApplicableFilters (#162)
@@ -137,6 +137,7 @@ __export(src_exports, {
137
137
  buildStatsUrl: () => buildStatsUrl,
138
138
  calculateClusterRadius: () => calculateClusterRadius,
139
139
  calculateClusterTextFontSize: () => calculateClusterTextFontSize,
140
+ clearDefaultRequestCache: () => clearDefaultRequestCache,
140
141
  clearFilters: () => clearFilters,
141
142
  configureSource: () => configureSource,
142
143
  createPolygonSpatialFilter: () => createPolygonSpatialFilter,
@@ -5788,7 +5789,7 @@ function tileFeatures({
5788
5789
  spatialDataColumn = DEFAULT_GEO_COLUMN,
5789
5790
  spatialDataType,
5790
5791
  rasterMetadata,
5791
- options = {}
5792
+ storeGeometry = false
5792
5793
  }) {
5793
5794
  if (spatialDataType === "geo") {
5794
5795
  return tileFeaturesGeometries({
@@ -5796,7 +5797,7 @@ function tileFeatures({
5796
5797
  tileFormat,
5797
5798
  spatialFilter,
5798
5799
  uniqueIdProperty,
5799
- options
5800
+ options: { storeGeometry }
5800
5801
  });
5801
5802
  }
5802
5803
  if (tiles.some(isRasterTile)) {
@@ -6117,6 +6118,9 @@ function excludeURLParameters(baseUrlString, parameters) {
6117
6118
  }
6118
6119
  return baseUrl.toString();
6119
6120
  }
6121
+ function clearDefaultRequestCache() {
6122
+ DEFAULT_REQUEST_CACHE.clear();
6123
+ }
6120
6124
 
6121
6125
  // src/sources/base-source.ts
6122
6126
  var SOURCE_DEFAULTS = {
@@ -10478,6 +10482,7 @@ function _getHexagonResolution(viewport, tileSize) {
10478
10482
  buildStatsUrl,
10479
10483
  calculateClusterRadius,
10480
10484
  calculateClusterTextFontSize,
10485
+ clearDefaultRequestCache,
10481
10486
  clearFilters,
10482
10487
  configureSource,
10483
10488
  createPolygonSpatialFilter,