@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
  import { getIcon } from '@nextgis/icons';
3
3
  import NgwConnector from '@nextgis/ngw-connector';
4
4
  import { NgwKit, fetchNgwLayerItem, fetchNgwLayerItems, fetchNgwLayerFeature, fetchNgwLayerFeatureCollection, fetchIdentifyItem, fetchIdentifyGeoJson, createNgwLayerAdapter, fetchNgwExtent, sendIdentifyRequest, getCompanyLogo, getIdentifyItems, createIdentifyItem } from '@nextgis/ngw-kit';
@@ -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
  var NgwMap = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -1068,7 +1068,7 @@ var NgwMap = (function (exports) {
1068
1068
 
1069
1069
  var pkg = {
1070
1070
  name: "@nextgis/ngw-connector",
1071
- version: "3.0.0",
1071
+ version: "3.0.1",
1072
1072
  _priority: 12,
1073
1073
  description: "A lightweight HTTP client optimized for use with NextGIS Web API",
1074
1074
  main: "index.js",
@@ -2001,7 +2001,7 @@ var NgwMap = (function (exports) {
2001
2001
  credentials = credentials || this.options.auth;
2002
2002
  if (credentials) {
2003
2003
  const { login, password } = credentials;
2004
- const encodedStr = [login, password].map(encodeURIComponent).join(":");
2004
+ const encodedStr = `${login}:${password}`;
2005
2005
  {
2006
2006
  return window.btoa(encodedStr);
2007
2007
  }