@uniai-fe/uds-templates 0.5.18 → 0.5.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-templates",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "description": "UNIAI Design System; UI Templates Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -40,10 +40,10 @@ export const getWeatherOpenWeatherMapNow = async (
40
40
  ).json();
41
41
 
42
42
  /**
43
- * 글로벌 날씨 API; 예보 날씨 (4 days) fetch
43
+ * 글로벌 날씨 API; 예보 날씨 (5 days / 3 hour forecast) fetch
44
44
  * @method GET
45
- * @route https://pro.openweathermap.org/data/2.5/weather/forecast/hourly
46
- * @see https://openweathermap.org/api/hourly-forecast
45
+ * @route https://api.openweathermap.org/data/2.5/forecast
46
+ * @see https://openweathermap.org/forecast5
47
47
  * @param {WeatherGeoCoordinate} params - API 요청 파라미터
48
48
  * @param {number} params.lat - 위도
49
49
  * @param {number} params.lon - 경도
@@ -82,7 +82,7 @@ export const useQueryWeatherOpenWeatherMapNow = (
82
82
  };
83
83
 
84
84
  /**
85
- * 글로벌 날씨 API; 예보 날씨 (4 days) react query
85
+ * 글로벌 날씨 API; 예보 날씨 (5 days / 3 hour forecast) react query
86
86
  * @method GET
87
87
  */
88
88
  export const useQueryWeatherOpenWeatherMapForecast = (
@@ -12,10 +12,9 @@ import { getOpenWeatherMapLang } from "../../utils/locale";
12
12
  */
13
13
  const API_BASE_CURRENT = "https://api.openweathermap.org/data/2.5/weather";
14
14
  /**
15
- * 글로벌 날씨 API; 예보 날씨 URL
15
+ * 글로벌 날씨 API; 예보 날씨 URL (5 days / 3 hour forecast)
16
16
  */
17
- const API_BASE_FORECAST =
18
- "https://pro.openweathermap.org/data/2.5/forecast/hourly";
17
+ const API_BASE_FORECAST = "https://api.openweathermap.org/data/2.5/forecast";
19
18
 
20
19
  const COMMON_OPTIONS = {
21
20
  units: "metric", // 섭씨 온도