@idm-plugin/meteo2 0.2.8 → 0.3.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.
- package/dist/index.js +4 -4
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1739,7 +1739,7 @@ class G0 {
|
|
|
1739
1739
|
for (let o = 0; o < M.start_dates.length; o++) {
|
|
1740
1740
|
M.start_date = M.start_dates[o], M.end_date = M.end_dates[o], M.fake = M.fakes[o];
|
|
1741
1741
|
const W = M.url[o];
|
|
1742
|
-
this.debug && Z.
|
|
1742
|
+
this.debug && Z.debug("[%s] fetch weather via %s with %j", b.requestId, W, {
|
|
1743
1743
|
start_date: M.start_date,
|
|
1744
1744
|
end_date: M.end_date,
|
|
1745
1745
|
fake: M.fake,
|
|
@@ -1754,7 +1754,7 @@ class G0 {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
delete M.apikey;
|
|
1756
1756
|
const Y = e();
|
|
1757
|
-
return this.debug && Z.info("[%s] fetch weather api (%
|
|
1757
|
+
return this.debug && Z.info("[%s] fetch weather api (%j) cost: %d ms", b.requestId, M.url, Y.diff(p, "ms")), O;
|
|
1758
1758
|
} catch (p) {
|
|
1759
1759
|
return Z.warn("[%s] weather forecast failed: %s, with %j", b.requestId, p, M), [];
|
|
1760
1760
|
}
|
|
@@ -1783,7 +1783,7 @@ class G0 {
|
|
|
1783
1783
|
for (let o = 0; o < M.start_dates.length; o++) {
|
|
1784
1784
|
M.start_date = M.start_dates[o], M.end_date = M.end_dates[o], M.fake = M.fakes[o];
|
|
1785
1785
|
const W = M.url[o];
|
|
1786
|
-
this.debug && Z.
|
|
1786
|
+
this.debug && Z.debug("[%s] fetch marine via %s with %j", b.requestId, W, {
|
|
1787
1787
|
start_date: M.start_date,
|
|
1788
1788
|
end_date: M.end_date,
|
|
1789
1789
|
fake: M.fake,
|
|
@@ -1798,7 +1798,7 @@ class G0 {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
delete M.apikey;
|
|
1800
1800
|
const Y = e();
|
|
1801
|
-
return this.debug && Z.info("[%s] fetch marine api (%
|
|
1801
|
+
return this.debug && Z.info("[%s] fetch marine api (%j) cost: %d ms", b.requestId, M.url, Y.diff(p, "ms")), this.mergeMarineData(O);
|
|
1802
1802
|
} catch (p) {
|
|
1803
1803
|
return Z.warn("[%s] marine forecast failed: %s, with %j", b.requestId, p, M), [];
|
|
1804
1804
|
}
|