Skip to Content
Setup & Quick Start

TypeScript SDK 0.4.1-beta Setup

Use this page for apps pinned to the 0.4.1-beta TypeScript SDK package line.

Install

bash snippetBASH
npm install @kalamdb/client@0.4.1-beta

Connect

ts snippetTS
import { Auth, createClient } from '@kalamdb/client'; const client = createClient({  url: 'http://127.0.0.1:2900',  authProvider: async () => Auth.jwt('<ACCESS_TOKEN>'),});

Smoke Test

ts snippetTS
const result = await client.query('SELECT CURRENT_USER();');console.log(result);

Upgrade Note

Before moving to a newer SDK, retest auth refresh, file upload helpers, and subscription callbacks with your exact server version.

Last updated on