@idm-plugin/meteo2 0.4.5 → 0.4.6

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/dist/index.js CHANGED
@@ -1650,7 +1650,7 @@ class C0 {
1650
1650
  return b;
1651
1651
  }
1652
1652
  pickForecastUrl(M, b, p, O = {}) {
1653
- return M ? p ? this.FORECAST.OM_MARINE_URL : b ? O.marineUrl || this.FORECAST.ORM_MARINE_URL : this.FORECAST.OM_MARINE_URL : p ? this.FORECAST.OM_HISTORY_URL : b ? O.weatherUrl || this.FORECAST.ORM_URL : this.FORECAST.OM_URL;
1653
+ return M ? p && !O.noFake ? this.FORECAST.OM_MARINE_URL : b ? O.marineUrl || this.FORECAST.ORM_MARINE_URL : this.FORECAST.OM_MARINE_URL : p && !O.noFake ? this.FORECAST.OM_HISTORY_URL : b ? O.weatherUrl || this.FORECAST.ORM_URL : this.FORECAST.OM_URL;
1654
1654
  }
1655
1655
  pickMarineModels(M) {
1656
1656
  var Y;
@@ -1671,6 +1671,7 @@ class C0 {
1671
1671
  /**
1672
1672
  * 完善start_hour/end_hour 或者是forecast_days变量,二选一
1673
1673
  * @param datetime 从指定时间开始,不指定时从当前时间开始
1674
+ * @param marine 是否为海洋预报
1674
1675
  * @param params 要查询的要素
1675
1676
  * @param options 请求参数
1676
1677
  * @private