@nextgis/geocoder 3.0.0 → 3.0.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.
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/geocoder; version: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/geocoder; version: 3.0.1; author: NextGIS */
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/geocoder; version: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/geocoder; version: 3.0.1; author: NextGIS */
2
2
  function defined(val) {
3
3
  return val !== void 0 && val !== null;
4
4
  }
@@ -1017,7 +1017,7 @@ function unwrapListeners(arr) {
1017
1017
 
1018
1018
  var pkg = {
1019
1019
  name: "@nextgis/ngw-connector",
1020
- version: "3.0.0",
1020
+ version: "3.0.1",
1021
1021
  _priority: 12,
1022
1022
  description: "A lightweight HTTP client optimized for use with NextGIS Web API",
1023
1023
  main: "index.js",
@@ -1950,7 +1950,7 @@ class NgwConnector {
1950
1950
  credentials = credentials || this.options.auth;
1951
1951
  if (credentials) {
1952
1952
  const { login, password } = credentials;
1953
- const encodedStr = [login, password].map(encodeURIComponent).join(":");
1953
+ const encodedStr = `${login}:${password}`;
1954
1954
  {
1955
1955
  return window.btoa(encodedStr);
1956
1956
  }