From 63d11b3ac8009f54434c46365c7e13e163a4f148 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Sat, 10 Jan 2026 17:15:40 +0100 Subject: [PATCH] fix(build): add missing vite-plugin-solid dep and fix Uint8Array body type - Add vite-plugin-solid to procrastination-buster plugin dependencies - Wrap Uint8Array in Blob for fetch body to fix TypeScript error with newer @types/node --- packages/plugin-dev/procrastination-buster/package.json | 6 +++--- src/app/op-log/sync-providers/super-sync/super-sync.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/plugin-dev/procrastination-buster/package.json b/packages/plugin-dev/procrastination-buster/package.json index 967fbd6e5..d9c1bdda5 100644 --- a/packages/plugin-dev/procrastination-buster/package.json +++ b/packages/plugin-dev/procrastination-buster/package.json @@ -14,13 +14,13 @@ }, "devDependencies": { "@solidjs/router": "^0.14.10", + "@super-productivity/vite-plugin": "file:../../vite-plugin", "@types/node": "^22.15.33", + "archiver": "^7.0.1", "solid-js": "^1.9.7", "typescript": "^5.8.3", "vite": "^7.2.0", - "vite-plugin-solid": "^2.11.10", - "archiver": "^7.0.1", - "@super-productivity/vite-plugin": "file:../../vite-plugin" + "vite-plugin-solid": "^2.11.10" }, "dependencies": { "@super-productivity/plugin-api": "file:../../plugin-api" diff --git a/src/app/op-log/sync-providers/super-sync/super-sync.ts b/src/app/op-log/sync-providers/super-sync/super-sync.ts index 982bb3842..228398a33 100644 --- a/src/app/op-log/sync-providers/super-sync/super-sync.ts +++ b/src/app/op-log/sync-providers/super-sync/super-sync.ts @@ -430,7 +430,7 @@ export class SuperSyncProvider const response = await fetch(url, { method: 'POST', headers, - body: compressedBody, + body: new Blob([compressedBody as BlobPart]), }); if (!response.ok) {