Skip to content

Commit 902939b

Browse files
chore(client): qualify global Blob
1 parent 8463673 commit 902939b

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
@@ -689,7 +689,7 @@ export class CasParser {
689689
// Preserve legacy string encoding behavior for now
690690
headers.values.has('content-type')) ||
691691
// `Blob` is superset of `File`
692-
body instanceof Blob ||
692+
((globalThis as any).Blob && body instanceof (globalThis as any).Blob) ||
693693
// `FormData` -> `multipart/form-data`
694694
body instanceof FormData ||
695695
// `URLSearchParams` -> `application/x-www-form-urlencoded`

0 commit comments

Comments
 (0)