@carto/api-client 0.5.6 → 0.5.7-alpha.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.
- package/build/api-client.cjs +3 -2
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.d.cts +2 -0
- package/build/api-client.d.ts +2 -0
- package/build/api-client.js +3 -2
- package/build/api-client.js.map +1 -1
- package/package.json +1 -1
- package/src/widget-sources/types.ts +2 -0
- package/src/widget-sources/widget-remote-source.ts +2 -1
package/build/api-client.cjs
CHANGED
|
@@ -6528,7 +6528,7 @@ var WidgetRemoteSource = class extends WidgetSource {
|
|
|
6528
6528
|
spatialFiltersMode,
|
|
6529
6529
|
...params
|
|
6530
6530
|
} = options;
|
|
6531
|
-
const { column, operation: operation2, operationColumn, operationExp } = params;
|
|
6531
|
+
const { column, operation: operation2, operationColumn, operationExp, maxItems } = params;
|
|
6532
6532
|
if (operation2 === AggregationTypes.Custom) {
|
|
6533
6533
|
assert2(operationExp, "operationExp is required for custom operation");
|
|
6534
6534
|
}
|
|
@@ -6543,7 +6543,8 @@ var WidgetRemoteSource = class extends WidgetSource {
|
|
|
6543
6543
|
column,
|
|
6544
6544
|
operation: operation2,
|
|
6545
6545
|
operationExp,
|
|
6546
|
-
operationColumn: operationColumn || column
|
|
6546
|
+
operationColumn: operationColumn || column,
|
|
6547
|
+
maxItems
|
|
6547
6548
|
},
|
|
6548
6549
|
opts: { signal, headers: this.props.headers }
|
|
6549
6550
|
}).then((res) => normalizeObjectKeys(res.rows));
|