@nextgis/ngw-map 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-map.cjs.js +1 -1
- package/lib/ngw-map.esm-browser.js +4 -4
- 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 +4 -4
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 2.5.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 2.5.2; author: NextGIS */
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import CancelablePromise from '@nextgis/cancelable-promise';
|
|
4
4
|
import { getIcon } from '@nextgis/icons';
|
package/lib/ngw-map.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 2.5.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 2.5.2; author: NextGIS */
|
|
2
2
|
var NgwMap = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -1258,7 +1258,7 @@ var NgwMap = (function (exports) {
|
|
|
1258
1258
|
|
|
1259
1259
|
var pkg = {
|
|
1260
1260
|
name: "@nextgis/ngw-connector",
|
|
1261
|
-
version: "2.5.
|
|
1261
|
+
version: "2.5.2",
|
|
1262
1262
|
_priority: 12,
|
|
1263
1263
|
description: "A lightweight HTTP client optimized for use with NextGIS Web API",
|
|
1264
1264
|
main: "index.js",
|
|
@@ -2030,9 +2030,9 @@ var NgwMap = (function (exports) {
|
|
|
2030
2030
|
credentials = credentials || this.options.auth;
|
|
2031
2031
|
if (credentials) {
|
|
2032
2032
|
const { login, password } = credentials;
|
|
2033
|
-
const
|
|
2033
|
+
const encodedStr = [login, password].map(encodeURIComponent).join(":");
|
|
2034
2034
|
{
|
|
2035
|
-
return window.btoa(
|
|
2035
|
+
return window.btoa(encodedStr);
|
|
2036
2036
|
}
|
|
2037
2037
|
}
|
|
2038
2038
|
}
|