@carto/api-client 0.5.1-alpha.2 → 0.5.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/worker.js CHANGED
@@ -6330,6 +6330,9 @@ var WidgetTilesetSourceImpl = class extends WidgetSource {
6330
6330
  return { rows: [], totalCount: 0 };
6331
6331
  }
6332
6332
  if (searchFilterColumn && searchFilterText) {
6333
+ console.warn(
6334
+ 'WidgetTilesetSource: "searchFilterText" is deprecated, use "filters" and FilterType.STRING_SEARCH instead.'
6335
+ );
6333
6336
  filteredFeatures = filteredFeatures.filter(
6334
6337
  (row) => row[searchFilterColumn] && String(row[searchFilterColumn]).toLowerCase().includes(String(searchFilterText).toLowerCase())
6335
6338
  );