@sciol/xyzen 1.9.77-beta.16e7c09 → 1.9.77-beta.2dcdf11
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/xyzen.es.js +7 -7
- package/dist/xyzen.umd.js +2 -2
- package/package.json +1 -1
package/dist/xyzen.es.js
CHANGED
|
@@ -7878,7 +7878,12 @@ function wJn(t, e) {
|
|
|
7878
7878
|
t.messages[n].attachments || (t.messages[n].attachments = []);
|
|
7879
7879
|
const i = t.messages[n].attachments || [], o = e.files.filter(
|
|
7880
7880
|
(l) => !i.some((u) => u.id === l.id)
|
|
7881
|
-
)
|
|
7881
|
+
).map((l) => ({
|
|
7882
|
+
...l,
|
|
7883
|
+
// Normalize to stable API download path — presigned URLs from the
|
|
7884
|
+
// streaming event expire after 1 hour and break cached images.
|
|
7885
|
+
download_url: `/xyzen/api/v1/files/${l.id}/download`
|
|
7886
|
+
}));
|
|
7882
7887
|
t.messages[n].attachments = [
|
|
7883
7888
|
...i,
|
|
7884
7889
|
...o
|
|
@@ -162641,12 +162646,7 @@ const wCe = "https://storage.sciol.ac.cn/xyzen/releases", Myt = [
|
|
|
162641
162646
|
label: "Windows (x64)",
|
|
162642
162647
|
binary: "Xyzen-windows-x64-setup.exe"
|
|
162643
162648
|
},
|
|
162644
|
-
{ key: "linux-deb", label: "Linux (.deb)", binary: "Xyzen-linux-amd64.deb" }
|
|
162645
|
-
{
|
|
162646
|
-
key: "linux-appimage",
|
|
162647
|
-
label: "Linux (.AppImage)",
|
|
162648
|
-
binary: "Xyzen-linux-amd64.AppImage"
|
|
162649
|
-
}
|
|
162649
|
+
{ key: "linux-deb", label: "Linux (.deb)", binary: "Xyzen-linux-amd64.deb" }
|
|
162650
162650
|
];
|
|
162651
162651
|
function Oyt(t) {
|
|
162652
162652
|
const e = navigator.userAgent.toLowerCase(), n = navigator.platform?.toLowerCase() ?? "";
|