@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
  var domain;
3
3
 
4
4
  // This constructor is used to store event handlers. Instantiating this is
@@ -18187,7 +18187,7 @@ let Cache = _Cache;
18187
18187
 
18188
18188
  var pkg = {
18189
18189
  name: "@nextgis/ngw-connector",
18190
- version: "3.0.0",
18190
+ version: "3.0.1",
18191
18191
  _priority: 12,
18192
18192
  description: "A lightweight HTTP client optimized for use with NextGIS Web API",
18193
18193
  main: "index.js",
@@ -19120,7 +19120,7 @@ class NgwConnector {
19120
19120
  credentials = credentials || this.options.auth;
19121
19121
  if (credentials) {
19122
19122
  const { login, password } = credentials;
19123
- const encodedStr = [login, password].map(encodeURIComponent).join(":");
19123
+ const encodedStr = `${login}:${password}`;
19124
19124
  {
19125
19125
  return window.btoa(encodedStr);
19126
19126
  }