Skip to content

Commit 944dd90

Browse files
chore(client): qualify global Blob
1 parent 28293f9 commit 944dd90

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
@@ -718,7 +718,7 @@ export class BrowserUse {
718718
// Preserve legacy string encoding behavior for now
719719
headers.values.has('content-type')) ||
720720
// `Blob` is superset of `File`
721-
body instanceof Blob ||
721+
((globalThis as any).Blob && body instanceof (globalThis as any).Blob) ||
722722
// `FormData` -> `multipart/form-data`
723723
body instanceof FormData ||
724724
// `URLSearchParams` -> `application/x-www-form-urlencoded`

0 commit comments

Comments
 (0)