@carto/api-client 0.5.9-alpha.PR193.1 → 0.5.9-alpha.PR193.3

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.
@@ -5917,10 +5917,12 @@ function createURLWithParameters(baseUrlString, parameters) {
5917
5917
  if (isPureObject(value) || Array.isArray(value)) {
5918
5918
  baseUrl.searchParams.set(key, JSON.stringify(value));
5919
5919
  } else {
5920
- baseUrl.searchParams.set(
5921
- key,
5922
- value.toString()
5923
- );
5920
+ if (value !== null && value !== void 0) {
5921
+ baseUrl.searchParams.set(
5922
+ key,
5923
+ value.toString()
5924
+ );
5925
+ }
5924
5926
  }
5925
5927
  }
5926
5928
  return baseUrl.toString();
@@ -6177,7 +6179,7 @@ function executeModel(props) {
6177
6179
  queryParameters: source.queryParameters || "",
6178
6180
  filters,
6179
6181
  filtersLogicalOperator,
6180
- tags
6182
+ ...tags ?? {}
6181
6183
  };
6182
6184
  queryParams.spatialDataType = spatialDataType;
6183
6185
  queryParams.spatialDataColumn = spatialDataColumn;