Skip to content

Commit 5148d22

Browse files
chore(client): qualify global Blob
1 parent fe50b31 commit 5148d22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ export class Grid {
719719
// Preserve legacy string encoding behavior for now
720720
headers.values.has('content-type')) ||
721721
// `Blob` is superset of `File`
722-
body instanceof Blob ||
722+
((globalThis as any).Blob && body instanceof (globalThis as any).Blob) ||
723723
// `FormData` -> `multipart/form-data`
724724
body instanceof FormData ||
725725
// `URLSearchParams` -> `application/x-www-form-urlencoded`

0 commit comments

Comments
 (0)