@nextgis/geocoder 3.0.0 → 3.1.0

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: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/geocoder; version: 3.1.0; author: NextGIS */
2
2
  import { objectAssign, fixUrlStr } from '@nextgis/utils';
3
3
  import NgwConnector from '@nextgis/ngw-connector';
4
4
  import { fetchNgwLayerItems } from '@nextgis/ngw-kit';
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/geocoder; version: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/geocoder; version: 3.1.0; author: NextGIS */
2
2
  var Geocoder = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -1020,7 +1020,7 @@ var Geocoder = (function (exports) {
1020
1020
 
1021
1021
  var pkg = {
1022
1022
  name: "@nextgis/ngw-connector",
1023
- version: "3.0.0",
1023
+ version: "3.0.1",
1024
1024
  _priority: 12,
1025
1025
  description: "A lightweight HTTP client optimized for use with NextGIS Web API",
1026
1026
  main: "index.js",
@@ -1953,7 +1953,7 @@ var Geocoder = (function (exports) {
1953
1953
  credentials = credentials || this.options.auth;
1954
1954
  if (credentials) {
1955
1955
  const { login, password } = credentials;
1956
- const encodedStr = [login, password].map(encodeURIComponent).join(":");
1956
+ const encodedStr = `${login}:${password}`;
1957
1957
  {
1958
1958
  return window.btoa(encodedStr);
1959
1959
  }