@idm-plugin/meteo2 0.0.6 → 0.0.8

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
  */
@@ -87,6 +86,7 @@ export declare class MeteoHelper2 {
87
86
  * @private
88
87
  */
89
88
  private prepare;
89
+ private toStdLng;
90
90
  private timezoneOffset;
91
91
  /**
92
92
  * 预报数据
@@ -114,7 +114,7 @@ export declare class MeteoHelper2 {
114
114
  * @param withHourly
115
115
  * @param options
116
116
  */
117
- 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<{
118
118
  weather: any[];
119
119
  marine: any[];
120
120
  }>;
@@ -139,7 +139,7 @@ export declare class MeteoHelper2 {
139
139
  * @param withMarine
140
140
  * @param options
141
141
  */
142
- 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<{
143
143
  weather: any[];
144
144
  marine: any[] | undefined;
145
145
  }>;
@@ -161,7 +161,7 @@ export declare class MeteoHelper2 {
161
161
  * @param endDate
162
162
  * @param options
163
163
  */
164
- 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<{
165
165
  weather: any[];
166
166
  }>;
167
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.6",
4
+ "version": "0.0.8",
5
5
  "description": "idm plugin for meteo2(open meteo)",
6
6
  "type": "module",
7
7
  "keywords": [