@nextgis/geocoder 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/geocoder.cjs.js +1 -1
- package/lib/geocoder.esm-browser.js +3 -3
- 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 +3 -3
- 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: 3.0.
|
|
1
|
+
/** Bundle of @nextgis/geocoder; version: 3.0.1; author: NextGIS */
|
|
2
2
|
function defined(val) {
|
|
3
3
|
return val !== void 0 && val !== null;
|
|
4
4
|
}
|
|
@@ -1017,7 +1017,7 @@ function unwrapListeners(arr) {
|
|
|
1017
1017
|
|
|
1018
1018
|
var pkg = {
|
|
1019
1019
|
name: "@nextgis/ngw-connector",
|
|
1020
|
-
version: "3.0.
|
|
1020
|
+
version: "3.0.1",
|
|
1021
1021
|
_priority: 12,
|
|
1022
1022
|
description: "A lightweight HTTP client optimized for use with NextGIS Web API",
|
|
1023
1023
|
main: "index.js",
|
|
@@ -1950,7 +1950,7 @@ class NgwConnector {
|
|
|
1950
1950
|
credentials = credentials || this.options.auth;
|
|
1951
1951
|
if (credentials) {
|
|
1952
1952
|
const { login, password } = credentials;
|
|
1953
|
-
const encodedStr =
|
|
1953
|
+
const encodedStr = `${login}:${password}`;
|
|
1954
1954
|
{
|
|
1955
1955
|
return window.btoa(encodedStr);
|
|
1956
1956
|
}
|