@carto/api-client 0.5.24 → 0.5.25
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 +3 -1
- package/build/api-client.cjs +1 -1
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.js +1 -1
- package/build/api-client.js.map +1 -1
- package/package.json +1 -1
- package/src/fetch-map/layer-map.ts +2 -1
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"homepage": "https://github.com/CartoDB/carto-api-client#readme",
|
|
9
9
|
"author": "Don McCurdy <donmccurdy@carto.com>",
|
|
10
10
|
"packageManager": "yarn@4.3.1",
|
|
11
|
-
"version": "0.5.
|
|
11
|
+
"version": "0.5.25",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
|
@@ -236,7 +236,8 @@ function domainFromAttribute(
|
|
|
236
236
|
}
|
|
237
237
|
return attribute.categories
|
|
238
238
|
.map((c: any) => c.category)
|
|
239
|
-
.filter((c: any) => c !== undefined && c !== null)
|
|
239
|
+
.filter((c: any) => c !== undefined && c !== null)
|
|
240
|
+
.slice(0, scaleLength);
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
if (scaleType === 'quantile' && attribute.quantiles) {
|