TypeScript SDK 0.4.1-beta Setup
Use this page for apps pinned to the 0.4.1-beta TypeScript SDK package line.
Install
npm install @kalamdb/client@0.4.1-betaConnect
import { Auth, createClient } from '@kalamdb/client';
const client = createClient({
url: 'http://127.0.0.1:8080',
authProvider: async () => Auth.jwt('<ACCESS_TOKEN>'),
});Smoke Test
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