@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/CHANGELOG.md
CHANGED
package/build/api-client.cjs
CHANGED
|
@@ -8695,7 +8695,7 @@ var query = async function(options) {
|
|
|
8695
8695
|
} = options;
|
|
8696
8696
|
const urlParameters = { q: sqlQuery };
|
|
8697
8697
|
if (queryParameters) {
|
|
8698
|
-
urlParameters.queryParameters =
|
|
8698
|
+
urlParameters.queryParameters = queryParameters;
|
|
8699
8699
|
}
|
|
8700
8700
|
const baseUrl = buildQueryUrl({ apiBaseUrl, connectionName });
|
|
8701
8701
|
const headers = {
|
|
@@ -11218,7 +11218,7 @@ async function _fetchTilestats(attribute, dataset, context) {
|
|
|
11218
11218
|
if (type === "query") {
|
|
11219
11219
|
parameters.q = source;
|
|
11220
11220
|
if (queryParameters) {
|
|
11221
|
-
parameters.queryParameters =
|
|
11221
|
+
parameters.queryParameters = queryParameters;
|
|
11222
11222
|
}
|
|
11223
11223
|
}
|
|
11224
11224
|
const stats = await requestWithParameters({
|