Skip to content

0.10.0

Choose a tag to compare

@actorhubai actorhubai released this 06 Dec 12:36
· 4 commits to main since this release
  • New package names: the SDK is published as @actorhubai/sdk on npm and actorhub on PyPI, the names of the earlier consent client, which it replaces. Consent checks are part of this SDK (checkConsent / check_consent). In Node change the import from @actorhubai/platform-sdk to @actorhubai/sdk; in Python the import stays actorhub. Installs from npm and PyPI work once the packages are published there; the GitHub Release links keep working.
  • webhooks.allDeliveries / webhooks.all_deliveries reads the delivery log of every subscription (GET /webhooks/deliveries).
  • negotiations.list pages: limit (up to 200) and cursor, with next_cursor in the answer. Without them it returns the first 50, as before.
  • The wallet top-up sends amount_usd in the JSON body; the query parameter still works.
  • A 4xx answer no longer carries the code INTERNAL_ERROR: a negotiation the wallet cannot cover is insufficient_credits, and a refused embed session, theme or origins value is VALIDATION_ERROR. The HTTP status is unchanged, so code that branches on it keeps working.