@nextgis/ngw-leaflet 2.5.1 → 2.5.2
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.
- package/lib/ngw-leaflet.esm-browser.js +4 -4
- package/lib/ngw-leaflet.esm-browser.js.map +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js.map +1 -1
- package/lib/ngw-leaflet.esm-bundler.js +1 -1
- package/lib/ngw-leaflet.global.js +4 -4
- package/lib/ngw-leaflet.global.js.map +1 -1
- package/lib/ngw-leaflet.global.prod.js +1 -1
- package/lib/ngw-leaflet.global.prod.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-leaflet; version: 2.5.
|
|
1
|
+
/** Bundle of @nextgis/ngw-leaflet; version: 2.5.2; author: NextGIS */
|
|
2
2
|
import 'leaflet/dist/leaflet.css';
|
|
3
3
|
import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';
|
|
4
4
|
import { NgwMap } from '@nextgis/ngw-map';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-leaflet; version: 2.5.
|
|
1
|
+
/** Bundle of @nextgis/ngw-leaflet; version: 2.5.2; author: NextGIS */
|
|
2
2
|
var NgwLeaflet = (function () {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -18379,7 +18379,7 @@ var NgwLeaflet = (function () {
|
|
|
18379
18379
|
|
|
18380
18380
|
var pkg = {
|
|
18381
18381
|
name: "@nextgis/ngw-connector",
|
|
18382
|
-
version: "2.5.
|
|
18382
|
+
version: "2.5.2",
|
|
18383
18383
|
_priority: 12,
|
|
18384
18384
|
description: "A lightweight HTTP client optimized for use with NextGIS Web API",
|
|
18385
18385
|
main: "index.js",
|
|
@@ -19151,9 +19151,9 @@ var NgwLeaflet = (function () {
|
|
|
19151
19151
|
credentials = credentials || this.options.auth;
|
|
19152
19152
|
if (credentials) {
|
|
19153
19153
|
const { login, password } = credentials;
|
|
19154
|
-
const
|
|
19154
|
+
const encodedStr = [login, password].map(encodeURIComponent).join(":");
|
|
19155
19155
|
{
|
|
19156
|
-
return window.btoa(
|
|
19156
|
+
return window.btoa(encodedStr);
|
|
19157
19157
|
}
|
|
19158
19158
|
}
|
|
19159
19159
|
}
|