Skip to content

Commit 7ac9358

Browse files
chore(client): qualify global Blob
1 parent 294b1d8 commit 7ac9358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ export class Kernel {
742742
// Preserve legacy string encoding behavior for now
743743
headers.values.has('content-type')) ||
744744
// `Blob` is superset of `File`
745-
body instanceof Blob ||
745+
((globalThis as any).Blob && body instanceof (globalThis as any).Blob) ||
746746
// `FormData` -> `multipart/form-data`
747747
body instanceof FormData ||
748748
// `URLSearchParams` -> `application/x-www-form-urlencoded`

0 commit comments

Comments
 (0)