@nextgis/ngw-map 3.0.0-alpha.2 → 3.0.0-alpha.3
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/index.d.ts +0 -1
- package/lib/ngw-map.cjs.js +1 -1
- package/lib/ngw-map.esm-browser.js +7 -8
- 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 +7 -8
- 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 +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 3.0.0-alpha.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 3.0.0-alpha.3; author: NextGIS */
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import { getIcon } from '@nextgis/icons';
|
|
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.0-alpha.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 3.0.0-alpha.3; author: NextGIS */
|
|
2
2
|
var NgwMap = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -943,7 +943,7 @@ var NgwMap = (function (exports) {
|
|
|
943
943
|
|
|
944
944
|
var pkg = {
|
|
945
945
|
name: "@nextgis/ngw-connector",
|
|
946
|
-
version: "3.0.0-alpha.
|
|
946
|
+
version: "3.0.0-alpha.3",
|
|
947
947
|
_priority: 12,
|
|
948
948
|
description: "A lightweight HTTP client optimized for use with NextGIS Web API",
|
|
949
949
|
main: "index.js",
|
|
@@ -952,15 +952,15 @@ var NgwMap = (function (exports) {
|
|
|
952
952
|
jsdelivr: "lib/ngw-connector.global.prod.js",
|
|
953
953
|
types: "lib/index.d.ts",
|
|
954
954
|
dependencies: {
|
|
955
|
-
"@nextgis/cache": "^3.0.0-alpha.
|
|
956
|
-
"@nextgis/cancelable-promise": "^3.0.0-alpha.
|
|
957
|
-
"@nextgis/utils": "^3.0.0-alpha.
|
|
955
|
+
"@nextgis/cache": "^3.0.0-alpha.3",
|
|
956
|
+
"@nextgis/cancelable-promise": "^3.0.0-alpha.3",
|
|
957
|
+
"@nextgis/utils": "^3.0.0-alpha.3",
|
|
958
958
|
"@types/events": "^3.0.0",
|
|
959
959
|
events: "*",
|
|
960
960
|
"form-data": "^4.0.0"
|
|
961
961
|
},
|
|
962
962
|
devDependencies: {
|
|
963
|
-
"@nextgis/build-tools": "^3.0.0-alpha.
|
|
963
|
+
"@nextgis/build-tools": "^3.0.0-alpha.3"
|
|
964
964
|
},
|
|
965
965
|
scripts: {
|
|
966
966
|
clean: "rimraf ./lib",
|
|
@@ -1763,8 +1763,7 @@ var NgwMap = (function (exports) {
|
|
|
1763
1763
|
credentials = credentials || this.options.auth;
|
|
1764
1764
|
if (credentials) {
|
|
1765
1765
|
const { login, password } = credentials;
|
|
1766
|
-
const
|
|
1767
|
-
const encodedStr = encodeURIComponent(str);
|
|
1766
|
+
const encodedStr = [login, password].map(encodeURIComponent).join(":");
|
|
1768
1767
|
{
|
|
1769
1768
|
return window.btoa(encodedStr);
|
|
1770
1769
|
}
|