@nextgis/ngw-leaflet 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-leaflet; version: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 3.0.1; author: NextGIS */
2
2
  import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';
3
3
  import { NgwMap } from '@nextgis/ngw-map';
4
4
  import { Icon } from 'leaflet';
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-leaflet; version: 3.0.0; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 3.0.1; author: NextGIS */
2
2
  var NgwLeaflet = (function () {
3
3
  'use strict';
4
4
 
@@ -18190,7 +18190,7 @@ var NgwLeaflet = (function () {
18190
18190
 
18191
18191
  var pkg = {
18192
18192
  name: "@nextgis/ngw-connector",
18193
- version: "3.0.0",
18193
+ version: "3.0.1",
18194
18194
  _priority: 12,
18195
18195
  description: "A lightweight HTTP client optimized for use with NextGIS Web API",
18196
18196
  main: "index.js",
@@ -19123,7 +19123,7 @@ var NgwLeaflet = (function () {
19123
19123
  credentials = credentials || this.options.auth;
19124
19124
  if (credentials) {
19125
19125
  const { login, password } = credentials;
19126
- const encodedStr = [login, password].map(encodeURIComponent).join(":");
19126
+ const encodedStr = `${login}:${password}`;
19127
19127
  {
19128
19128
  return window.btoa(encodedStr);
19129
19129
  }