@maptiler/geocoding-control 0.0.58 → 0.0.60

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/geocoding-control",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Martin Ždila",
@@ -318,7 +318,7 @@
318
318
 
319
319
  const sp = new URLSearchParams();
320
320
 
321
- if (language) {
321
+ if (language != undefined) {
322
322
  sp.set(
323
323
  "language",
324
324
  Array.isArray(language) ? language.join(",") : language
@@ -387,8 +387,6 @@
387
387
  let res: Response;
388
388
 
389
389
  try {
390
- console.log("fetch");
391
-
392
390
  res = await fetch(url, { signal: ac.signal }).finally(() => {
393
391
  if (ac === abortController) {
394
392
  abortController = undefined;