build(frontend): pin typescript to 5.x and decode tgs stickers with pako toText
This commit is contained in:
1 parent
c8e5cff871
commit
34dcbaac2b
3 files changed
+9
-47
No files matched your search
@@ -23,7 +23,7 @@
|
||||
]);
|
||||
const response = await fetch(url);
|
||||
const bytes = new Uint8Array(await response.arrayBuffer());
|
||||
const json = JSON.parse(pako.inflate(bytes, { to: "string" }));
|
||||
const json = JSON.parse(pako.inflate(bytes, { toText: true }));
|
||||
if (!active) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user