@maptiler/geocoding-control 2.1.3-rc1 → 2.1.3-rc2

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.
@@ -28,7 +28,7 @@ $: {
28
28
  loadIcon();
29
29
  }
30
30
  function loadSprites() {
31
- spritePromise ??= fetch(`${iconsBaseUrl}/sprite${scaleUrl}.json`)
31
+ spritePromise ??= fetch(`${iconsBaseUrl}sprite${scaleUrl}.json`)
32
32
  .then((response) => response.json())
33
33
  .then((data) => {
34
34
  sprites = data;
@@ -82,7 +82,7 @@ export let zoom = ZOOM_DEFAULTS;
82
82
  export let apiUrl = "https://api.maptiler.com/geocoding";
83
83
  export let fetchParameters = {};
84
84
  export let iconsBaseUrl = "https://cdn.maptiler.com/maptiler-geocoding-control/v" +
85
- "2.1.3-rc1" +
85
+ "2.1.3-rc2" +
86
86
  "/icons/";
87
87
  /**
88
88
  * @deprecated use `adjustUrl`
package/svelte/info.json CHANGED
@@ -1 +1 @@
1
- {"name":"@maptiler/geocoding-control","version":"2.1.3-rc1"}
1
+ {"name":"@maptiler/geocoding-control","version":"2.1.3-rc2"}
package/vanilla.js CHANGED
@@ -951,7 +951,7 @@ function kn(i, e, t) {
951
951
  const h = mi();
952
952
  let v, y, E, z;
953
953
  function T() {
954
- et ?? (et = fetch(`${d}/sprite${kt}.json`).then((g) => g.json()).then((g) => {
954
+ et ?? (et = fetch(`${d}sprite${kt}.json`).then((g) => g.json()).then((g) => {
955
955
  ae = g;
956
956
  }).catch(() => {
957
957
  ae = null;
@@ -2239,7 +2239,7 @@ function xn(i, e, t) {
2239
2239
  const Ot = [];
2240
2240
  let { reverseGeocodingTypes: Ve = Ot } = e, { exhaustiveReverseGeocoding: lt = !1 } = e, { excludeTypes: ut = !1 } = e;
2241
2241
  const zt = void 0;
2242
- let { reverseGeocodingExcludeTypes: Ye = zt } = e, { zoom: Xe = f } = e, { apiUrl: ct = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: dt = {} } = e, { iconsBaseUrl: Rt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.3-rc1/icons/" } = e, { adjustUrlQuery: ft = () => {
2242
+ let { reverseGeocodingExcludeTypes: Ye = zt } = e, { zoom: Xe = f } = e, { apiUrl: ct = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: dt = {} } = e, { iconsBaseUrl: Rt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.1.3-rc2/icons/" } = e, { adjustUrlQuery: ft = () => {
2243
2243
  } } = e, { adjustUrl: mt = () => {
2244
2244
  } } = e;
2245
2245
  function _i(s) {