@nextgis/geocoder 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/geocoder.cjs.js +1 -1
- package/lib/geocoder.esm-browser.js +4 -4
- package/lib/geocoder.esm-browser.js.map +1 -1
- package/lib/geocoder.esm-browser.prod.js +1 -1
- package/lib/geocoder.esm-browser.prod.js.map +1 -1
- package/lib/geocoder.esm-bundler.js +1 -1
- package/lib/geocoder.global.js +4 -4
- package/lib/geocoder.global.js.map +1 -1
- package/lib/geocoder.global.prod.js +1 -1
- package/lib/geocoder.global.prod.js.map +1 -1
- package/package.json +4 -4
package/lib/geocoder.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/geocoder; version: 2.5.
|
|
1
|
+
/** Bundle of @nextgis/geocoder; version: 2.5.2; author: NextGIS */
|
|
2
2
|
var __defProp$g = Object.defineProperty;
|
|
3
3
|
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField$e = (obj, key, value) => __defNormalProp$g(obj, key + "" , value);
|
|
@@ -1207,7 +1207,7 @@ let Cache = _Cache;
|
|
|
1207
1207
|
|
|
1208
1208
|
var pkg = {
|
|
1209
1209
|
name: "@nextgis/ngw-connector",
|
|
1210
|
-
version: "2.5.
|
|
1210
|
+
version: "2.5.2",
|
|
1211
1211
|
_priority: 12,
|
|
1212
1212
|
description: "A lightweight HTTP client optimized for use with NextGIS Web API",
|
|
1213
1213
|
main: "index.js",
|
|
@@ -1979,9 +1979,9 @@ class NgwConnector {
|
|
|
1979
1979
|
credentials = credentials || this.options.auth;
|
|
1980
1980
|
if (credentials) {
|
|
1981
1981
|
const { login, password } = credentials;
|
|
1982
|
-
const
|
|
1982
|
+
const encodedStr = [login, password].map(encodeURIComponent).join(":");
|
|
1983
1983
|
{
|
|
1984
|
-
return window.btoa(
|
|
1984
|
+
return window.btoa(encodedStr);
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|