Changelog
New Breaking sdk-v2.0.0

SDK 2.0

The @rendobar/sdk 2.0 release covering all job types, realtime job updates, and webhook signature verification.

SDK

@rendobar/[email protected] is on npm. It covers every live job type, realtime job progress over WebSocket, and webhook signature verification out of the box.

  • Typed helpers for each job type, validated before the request leaves your process.
  • Realtime job updates without polling.
  • verifyWebhook() for HMAC-signed delivery checks.

Breaking: the 2.x client reshapes a few response types from 1.x. See the SDK changelog for the upgrade notes.

import { createClient, outputUrl } from "@rendobar/sdk";
const client = createClient({ apiKey: "rb_YOUR_KEY" });
const job = await client.jobs.create({
type: "ffmpeg",
inputs: { source: "https://example.com/clip.mp4" },
params: { command: "ffmpeg -i source -t 1 output.mp4" },
});
console.log(outputUrl(await client.jobs.wait(job.id)));

wait() polls until the job reaches a terminal state and returns it. outputUrl() narrows the status union for you, so reading a result never needs a cast.

Full reference lives in the SDK docs, and the signature check it ships is documented in the webhooks guide.

Share