Installation
Package
Section titled “Package”bun add tipply-sdk-tsSupported Runtimes
Section titled “Supported Runtimes”- Bun
- Node.js 18+
- browsers with
fetch
The websocket-based realtime helpers target Bun, Node.js, and browsers. Edge runtimes are not an official target.
Entry Points
Section titled “Entry Points”Use the main package for the authenticated client:
import { createTipplyClient } from "tipply-sdk-ts";Use the public entry point for unauthenticated access:
import { createTipplyPublicClient } from "tipply-sdk-ts/public";Type Exports
Section titled “Type Exports”The package also exports shared types, helpers, and errors:
import { asGoalId, asUserId, TipplyAuthenticationError, type RequestOptions,} from "tipply-sdk-ts";Local Development Commands
Section titled “Local Development Commands”From the repository root:
bun run buildbun run typecheckbun run testTo run the docs app locally:
cd apps/docsbun run dev