@mjhls/mjh-framework 1.0.939-segment-test-v8 → 1.0.939-segment-test-v10
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/cjs/View.js +3 -3
- package/dist/esm/View.js +3 -3
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -576,11 +576,11 @@ var Recommended = function Recommended(props) {
|
|
|
576
576
|
id: article._id
|
|
577
577
|
};
|
|
578
578
|
_context.next = 17;
|
|
579
|
-
return asyncToGenerator._Promise.all([fetchWithTimeout(
|
|
579
|
+
return asyncToGenerator._Promise.all([fetchWithTimeout(3000, function () {
|
|
580
580
|
return client.fetch(articlesQuery, params);
|
|
581
|
-
}), fetchWithTimeout(
|
|
581
|
+
}), fetchWithTimeout(2000, function () {
|
|
582
582
|
return client.fetch(videosQuery, params);
|
|
583
|
-
}), fetchWithTimeout(
|
|
583
|
+
}), fetchWithTimeout(2000, function () {
|
|
584
584
|
return client.fetch(podcastQuery, params);
|
|
585
585
|
})]);
|
|
586
586
|
|
package/dist/esm/View.js
CHANGED
|
@@ -565,11 +565,11 @@ var Recommended = function Recommended(props) {
|
|
|
565
565
|
id: article._id
|
|
566
566
|
};
|
|
567
567
|
_context.next = 17;
|
|
568
|
-
return _Promise.all([fetchWithTimeout(
|
|
568
|
+
return _Promise.all([fetchWithTimeout(3000, function () {
|
|
569
569
|
return client.fetch(articlesQuery, params);
|
|
570
|
-
}), fetchWithTimeout(
|
|
570
|
+
}), fetchWithTimeout(2000, function () {
|
|
571
571
|
return client.fetch(videosQuery, params);
|
|
572
|
-
}), fetchWithTimeout(
|
|
572
|
+
}), fetchWithTimeout(2000, function () {
|
|
573
573
|
return client.fetch(podcastQuery, params);
|
|
574
574
|
})]);
|
|
575
575
|
|