@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.
@@ -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 = JSON.stringify(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 = JSON.stringify(queryParameters);
10871
+ parameters.queryParameters = queryParameters;
10872
10872
  }
10873
10873
  }
10874
10874
  const stats = await requestWithParameters({