@idm-plugin/meteo2 0.0.7 → 0.0.9

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.
@@ -1,4 +1,3 @@
1
- import moment from 'moment';
2
1
  /**
3
2
  * 大气海洋要素
4
3
  */
@@ -115,7 +114,7 @@ export declare class MeteoHelper2 {
115
114
  * @param withHourly
116
115
  * @param options
117
116
  */
118
- spotForecast(lat: number, lng: number, datetime: moment.Moment | undefined, simplify?: boolean, withDaily?: boolean, withHourly?: boolean, options?: OMOptions): Promise<{
117
+ spotForecast(lat: number, lng: number, datetime: string | undefined, simplify?: boolean, withDaily?: boolean, withHourly?: boolean, options?: OMOptions): Promise<{
119
118
  weather: any[];
120
119
  marine: any[];
121
120
  }>;
@@ -140,7 +139,7 @@ export declare class MeteoHelper2 {
140
139
  * @param withMarine
141
140
  * @param options
142
141
  */
143
- spotHistorical(lat: number, lng: number, startDate: moment.Moment | string, endDate: moment.Moment | string, withMarine?: boolean, options?: OMOptions): Promise<{
142
+ spotHistorical(lat: number, lng: number, startDate: string, endDate: string, withMarine?: boolean, options?: OMOptions): Promise<{
144
143
  weather: any[];
145
144
  marine: any[] | undefined;
146
145
  }>;
@@ -162,7 +161,7 @@ export declare class MeteoHelper2 {
162
161
  * @param endDate
163
162
  * @param options
164
163
  */
165
- spotClimate(lat: number, lng: number, startDate: moment.Moment | string, endDate: moment.Moment | string, options?: OMOptions): Promise<{
164
+ spotClimate(lat: number, lng: number, startDate: string, endDate: string, options?: OMOptions): Promise<{
166
165
  weather: any[];
167
166
  }>;
168
167
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idm-plugin/meteo2",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "description": "idm plugin for meteo2(open meteo)",
6
6
  "type": "module",
7
7
  "keywords": [