@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.
- package/lib/ngw-map.cjs.js +1 -1
- package/lib/ngw-map.esm-browser.js +3 -3
- package/lib/ngw-map.esm-browser.js.map +1 -1
- package/lib/ngw-map.esm-browser.prod.js +1 -1
- package/lib/ngw-map.esm-browser.prod.js.map +1 -1
- package/lib/ngw-map.esm-bundler.js +1 -1
- package/lib/ngw-map.global.js +3 -3
- package/lib/ngw-map.global.js.map +1 -1
- package/lib/ngw-map.global.prod.js +1 -1
- package/lib/ngw-map.global.prod.js.map +1 -1
- package/package.json +4 -4
package/lib/ngw-map.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 3.0.
|
|
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.
|
|
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 =
|
|
2001
|
+
const encodedStr = `${login}:${password}`;
|
|
2002
2002
|
{
|
|
2003
2003
|
return window.btoa(encodedStr);
|
|
2004
2004
|
}
|