chore: update `WEB_VIEW_VERSION` and queries
fix: readLines may read corrupted datasplashcat-exporter-v2
parent
5bc3003f6d
commit
c77519c229
|
|
@ -1,3 +1,9 @@
|
|||
## 0.4.14
|
||||
|
||||
chore: update `WEB_VIEW_VERSION` and queries
|
||||
|
||||
fix: readLines may read corrupted data
|
||||
|
||||
## 0.4.13
|
||||
|
||||
refactor: upgraded the version of dependencies and fixed the deprecated API
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
"package": {
|
||||
"productName": "s3si-ts",
|
||||
"version": "0.4.13"
|
||||
"version": "0.4.14"
|
||||
},
|
||||
"tauri": {
|
||||
"allowlist": {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import type { StatInkPostBody, VsHistoryDetail } from "./types.ts";
|
||||
|
||||
export const AGENT_NAME = "s3si.ts";
|
||||
export const S3SI_VERSION = "0.4.13";
|
||||
export const NSOAPP_VERSION = "2.8.1";
|
||||
export const WEB_VIEW_VERSION = "6.0.0-1249ecb9";
|
||||
export const S3SI_VERSION = "0.4.14";
|
||||
export const NSOAPP_VERSION = "2.9.0";
|
||||
export const WEB_VIEW_VERSION = "6.0.0-eb33aadc";
|
||||
export enum Queries {
|
||||
HomeQuery =
|
||||
"51fc56bbf006caf37728914aa8bc0e2c86a80cf195b4d4027d6822a3623098a8",
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export async function* readLines(readable: ReadableStream<Uint8Array>) {
|
|||
let buffer = "";
|
||||
|
||||
for await (const chunk of readable) {
|
||||
buffer += decoder.decode(chunk);
|
||||
buffer += decoder.decode(chunk, { stream: true });
|
||||
let lineEndIndex;
|
||||
|
||||
while ((lineEndIndex = buffer.indexOf("\n")) !== -1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue