Relay

@tiny-factories/relay-sdk

Client library for Inbox, review apps, and third-party products that connect to a Relay control plane.

npm install @tiny-factories/relay-sdk

import { discoverLocalRelay, connect, fetchInboxFeed } from "@tiny-factories/relay-sdk";

const local = await discoverLocalRelay();
const config = connect({
  relayUrl: local?.url ?? "https://relay.example",
  apiToken: "...",
});

Discover and connect

discoverLocalRelay() probes the local network for a running Relay instance. connect() returns a configured client for inbox feeds, run status, and other API calls.

API reference → · Install Relay →