@idm-plugin/meteo2 0.3.8 → 0.4.0

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.
@@ -68,7 +68,7 @@ export declare class MeteoHelper2 {
68
68
  * @param params
69
69
  * @param options
70
70
  */
71
- marineForecast(params: any, options?: OMOptions): Promise<any[] | undefined>;
71
+ marineForecast(params: any, options?: OMOptions): Promise<any[]>;
72
72
  /**
73
73
  * 解析请求数据
74
74
  * @param rsps
@@ -125,7 +125,7 @@ export declare class MeteoHelper2 {
125
125
  */
126
126
  spotForecast(lat: number, lng: number, datetime: string | undefined, simplify?: boolean, withDaily?: boolean, withHourly?: boolean, options?: OMOptions): Promise<{
127
127
  weather: any;
128
- marine: any[] | undefined;
128
+ marine: any[];
129
129
  }>;
130
130
  /**
131
131
  * 历史再分析数据
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idm-plugin/meteo2",
3
3
  "private": false,
4
- "version": "0.3.8",
4
+ "version": "0.4.0",
5
5
  "description": "idm plugin for meteo2(open meteo)",
6
6
  "type": "module",
7
7
  "keywords": [