Skip to content

fix: use v2 credits endpoint#10

Closed
lurenss wants to merge 1 commit intomainfrom
fix/v2-credits-endpoint
Closed

fix: use v2 credits endpoint#10
lurenss wants to merge 1 commit intomainfrom
fix/v2-credits-endpoint

Conversation

@lurenss
Copy link
Copy Markdown
Member

@lurenss lurenss commented Mar 30, 2026

Summary

  • route getCredits() to /v2/credits instead of the versioned v1 base path
  • reuse the SDK's unversioned API root for credits and health requests
  • update the unit test to assert the new credits URL

Testing

  • bun test tests/scrapegraphai.test.ts
  • bun run check

@lurenss lurenss closed this Mar 30, 2026
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.

1 participant