@nextgis/geocoder 1.18.6 → 1.18.9

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.
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/geocoder; version: 1.18.6; author: NextGIS */
1
+ /** Bundle of @nextgis/geocoder; version: 1.18.9; author: NextGIS */
2
2
  import CancelablePromise from '@nextgis/cancelable-promise';
3
3
  import { objectAssign, fixUrlStr } from '@nextgis/utils';
4
4
  import NgwConnector from '@nextgis/ngw-connector';
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/geocoder; version: 1.18.6; author: NextGIS */
1
+ /** Bundle of @nextgis/geocoder; version: 1.18.9; author: NextGIS */
2
2
  var Geocoder = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -2567,8 +2567,11 @@ var Geocoder = (function (exports) {
2567
2567
  };
2568
2568
  function updateItemRequestParam(params, options) {
2569
2569
  var extensions = options.extensions, geom = options.geom, fields = options.fields, srs = options.srs, ilike = options.ilike, like = options.like;
2570
- if (extensions) {
2571
- params.extensions = extensions.join(',');
2570
+ // Empty extesions by default
2571
+ var extensionsStr = extensions ? extensions.join(',') : '';
2572
+ // Use character * to set all extensions
2573
+ if (extensionsStr !== '*') {
2574
+ params.extensions = extensionsStr;
2572
2575
  }
2573
2576
  if (fields !== undefined) {
2574
2577
  params.fields = Array.isArray(fields) ? fields.join(',') : '';