@carto/api-client 0.5.20 → 0.5.21
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 +4 -0
- package/build/api-client.cjs +2 -2
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.js +2 -2
- package/build/api-client.js.map +1 -1
- package/package.json +1 -1
- package/src/api/query.ts +5 -2
- package/src/fetch-map/fetch-map.ts +2 -2
package/build/api-client.js
CHANGED
|
@@ -8374,7 +8374,7 @@ var query = async function(options) {
|
|
|
8374
8374
|
} = options;
|
|
8375
8375
|
const urlParameters = { q: sqlQuery };
|
|
8376
8376
|
if (queryParameters) {
|
|
8377
|
-
urlParameters.queryParameters =
|
|
8377
|
+
urlParameters.queryParameters = queryParameters;
|
|
8378
8378
|
}
|
|
8379
8379
|
const baseUrl = buildQueryUrl({ apiBaseUrl, connectionName });
|
|
8380
8380
|
const headers = {
|
|
@@ -10868,7 +10868,7 @@ async function _fetchTilestats(attribute, dataset, context) {
|
|
|
10868
10868
|
if (type === "query") {
|
|
10869
10869
|
parameters.q = source;
|
|
10870
10870
|
if (queryParameters) {
|
|
10871
|
-
parameters.queryParameters =
|
|
10871
|
+
parameters.queryParameters = queryParameters;
|
|
10872
10872
|
}
|
|
10873
10873
|
}
|
|
10874
10874
|
const stats = await requestWithParameters({
|