@nextgis/geocoder 2.5.1 → 2.5.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/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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/geocoder; version: 2.5.
|
|
1
|
+
/** Bundle of @nextgis/geocoder; version: 2.5.3; author: NextGIS */
|
|
2
2
|
import CancelablePromise from '@nextgis/cancelable-promise';
|
|
3
3
|
import { objectAssign, fixUrlStr } from '@nextgis/utils';
|
|
4
4
|
import NgwConnector from '@nextgis/ngw-connector';
|
package/lib/geocoder.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/geocoder; version: 2.5.
|
|
1
|
+
/** Bundle of @nextgis/geocoder; version: 2.5.3; author: NextGIS */
|
|
2
2
|
var Geocoder = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -1210,7 +1210,7 @@ var Geocoder = (function (exports) {
|
|
|
1210
1210
|
|
|
1211
1211
|
var pkg = {
|
|
1212
1212
|
name: "@nextgis/ngw-connector",
|
|
1213
|
-
version: "2.5.
|
|
1213
|
+
version: "2.5.2",
|
|
1214
1214
|
_priority: 12,
|
|
1215
1215
|
description: "A lightweight HTTP client optimized for use with NextGIS Web API",
|
|
1216
1216
|
main: "index.js",
|
|
@@ -1982,9 +1982,9 @@ var Geocoder = (function (exports) {
|
|
|
1982
1982
|
credentials = credentials || this.options.auth;
|
|
1983
1983
|
if (credentials) {
|
|
1984
1984
|
const { login, password } = credentials;
|
|
1985
|
-
const
|
|
1985
|
+
const encodedStr = [login, password].map(encodeURIComponent).join(":");
|
|
1986
1986
|
{
|
|
1987
|
-
return window.btoa(
|
|
1987
|
+
return window.btoa(encodedStr);
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
1990
|
}
|