Releases: superagents-lab/search1api-js
Releases · superagents-lab/search1api-js
Release list
v0.2.1
重新同步公开契约
vendored 的 OpenAPI 快照此前落后 canonical 一个版本,而 src/generated.ts 正是从这份快照生成的 —— 客户端类型是按一份过期契约生成的。本版同步并重建类型:
| 端点 | 修正 |
|---|---|
POST /search、/news |
移除 canonical 已删除的 404 |
POST /screenshot |
补上 canonical 新增的 403 |
POST /crawl、/screenshot |
requestBody 深层差异 |
新快照同时带上了每个 operation 的 description —— 上游刚补的选型指引(什么时候该用这个端点、和兄弟端点怎么配合、成本多少),生成的类型注释里也能读到。
homepage
此前指向已于 2026-08 迁走的 www.search1api.com,靠 301 才活着。改为产品域名 https://s1.dev —— 这是包管理器和 agent 确认「官方 SDK」而非同名第三方包的依据。
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Adds first-class Screenshot API support.
- Capture PNG, JPEG, or WebP images with client.screenshot().
- Supports full-page, selector, viewport, wait, timeout, theme, background, animation, and quality options.
- Returns binary image data together with content type and request ID metadata.
@search1api/client v0.1.0
Initial public release of the official Search1API TypeScript client, with ESM and CommonJS support and generated types for the public API contract.