@idm-plugin/meteo2 1.0.6 → 1.0.7

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
@@ -1678,7 +1678,7 @@ class Q {
1678
1678
  const A = z == null ? void 0 : z.match(/from (\d{4}-\d{2}-\d{2}) to (\d{4}-\d{2}-\d{2})/);
1679
1679
  if (A) {
1680
1680
  let c = i.utc(A[2]);
1681
- if (p === "meteofrance_currents") {
1681
+ if (["meteofrance_currents", "meteofrance_wave"].includes(p)) {
1682
1682
  const a = i.utc().add(W.fakeCurrentMaxDays || 9, "day");
1683
1683
  c.isAfter(a) && (c = a);
1684
1684
  }