@saooti/octopus-sdk 41.7.1 → 41.7.2
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -116,9 +116,15 @@ async function fetchNext(): Promise<void> {
|
|
|
116
116
|
return simplifiedToFull(p, emission.orga, emission);
|
|
117
117
|
})
|
|
118
118
|
);
|
|
119
|
+
|
|
120
|
+
// Sort podcasts by pub date so that the most recent one is focused
|
|
121
|
+
podcasts.value.sort((p1, p2) => {
|
|
122
|
+
return new Date(p2.pubDate).getTime() - new Date(p1.pubDate).getTime();
|
|
123
|
+
});
|
|
124
|
+
|
|
119
125
|
loading.value = false;
|
|
120
126
|
} catch (errorWs) {
|
|
121
|
-
console.
|
|
127
|
+
console.error(errorWs);
|
|
122
128
|
handle403(errorWs as AxiosError);
|
|
123
129
|
error.value = true;
|
|
124
130
|
}
|