Skip to content

fix web types#68

Merged
NikhilShahi merged 2 commits intomainfrom
fix-web-types
Apr 6, 2026
Merged

fix web types#68
NikhilShahi merged 2 commits intomainfrom
fix-web-types

Conversation

@NikhilShahi
Copy link
Copy Markdown
Collaborator

@NikhilShahi NikhilShahi commented Apr 6, 2026

Note

Medium Risk
Type changes in exported SDK interfaces are potentially breaking for TypeScript consumers (e.g., solveCaptchas and metadata), though runtime behavior is unaffected.

Overview
Updates the SDK’s public TypeScript types to better match API behavior: metadata on crawl/scrape/fetch responses is widened from Record<string, string | string[]> to Record<string, unknown>.

Fixes FetchBrowserOptions.solveCaptchas to be a boolean (instead of string) and bumps the package version to 0.89.0.

Reviewed by Cursor Bugbot for commit 412436a. Bugbot is set up for automated code reviews on this repo. Configure here.

@NikhilShahi NikhilShahi merged commit 1d2c413 into main Apr 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants