@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
|
@@ -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
|
import { getIcon } from '@nextgis/icons';
|
|
3
3
|
import NgwConnector from '@nextgis/ngw-connector';
|
|
4
4
|
import { NgwKit, fetchNgwLayerItem, fetchNgwLayerItems, fetchNgwLayerFeature, fetchNgwLayerFeatureCollection, fetchIdentifyItem, fetchIdentifyGeoJson, createNgwLayerAdapter, fetchNgwExtent, sendIdentifyRequest, getCompanyLogo, getIdentifyItems, createIdentifyItem } from '@nextgis/ngw-kit';
|
package/lib/ngw-map.global.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
|
var NgwMap = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -1068,7 +1068,7 @@ var NgwMap = (function (exports) {
|
|
|
1068
1068
|
|
|
1069
1069
|
var pkg = {
|
|
1070
1070
|
name: "@nextgis/ngw-connector",
|
|
1071
|
-
version: "3.0.
|
|
1071
|
+
version: "3.0.1",
|
|
1072
1072
|
_priority: 12,
|
|
1073
1073
|
description: "A lightweight HTTP client optimized for use with NextGIS Web API",
|
|
1074
1074
|
main: "index.js",
|
|
@@ -2001,7 +2001,7 @@ var NgwMap = (function (exports) {
|
|
|
2001
2001
|
credentials = credentials || this.options.auth;
|
|
2002
2002
|
if (credentials) {
|
|
2003
2003
|
const { login, password } = credentials;
|
|
2004
|
-
const encodedStr =
|
|
2004
|
+
const encodedStr = `${login}:${password}`;
|
|
2005
2005
|
{
|
|
2006
2006
|
return window.btoa(encodedStr);
|
|
2007
2007
|
}
|