@nextgis/ngw-map 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/ngw-map; version: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; 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/ngw-map; version: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 3.0.1; author: NextGIS */
2
2
  const svgPath = {
3
3
  brill: '<path d="m6 0-5 6 5 6 5-6z"/>',
4
4
  circle: '<circle cx="6" cy="6" r="6"/>',
@@ -1065,7 +1065,7 @@ function unwrapListeners(arr) {
1065
1065
 
1066
1066
  var pkg = {
1067
1067
  name: "@nextgis/ngw-connector",
1068
- version: "3.0.0",
1068
+ version: "3.0.1",
1069
1069
  _priority: 12,
1070
1070
  description: "A lightweight HTTP client optimized for use with NextGIS Web API",
1071
1071
  main: "index.js",
@@ -1998,7 +1998,7 @@ class NgwConnector {
1998
1998
  credentials = credentials || this.options.auth;
1999
1999
  if (credentials) {
2000
2000
  const { login, password } = credentials;
2001
- const encodedStr = [login, password].map(encodeURIComponent).join(":");
2001
+ const encodedStr = `${login}:${password}`;
2002
2002
  {
2003
2003
  return window.btoa(encodedStr);
2004
2004
  }