Changelog

Notable changes to @oprag/sdk.

Browser or server Both dev · https://api.dev.oprag.ai

0.1.0

  • First release. Two entries: @oprag/sdk for the typed client, @oprag/sdk/widget for the widget.
  • createClient with chat.ask, chat.stream, leads.create, and conversations.escalate.
  • mountWidget with theming, inline rendering, lifecycle callbacks, and a control handle.
  • OpragError and OpragConfigError, with client-side codes derived from HTTP status.
  • Bundled runtime and declarations — no peer dependencies, ESM only, Node 18+.

Ready to ship?

Get started free