@whitewall/blip-sdk
v0.0.177
Published
Blip API wrapper
Downloads
3,487
Readme
blip-sdk
A simple blip API wrapper and LIME protocol implementation in TypeScript.
API Usage
import { BlipClient, HttpSender } from '@whitewall/blip-sdk'
const client = new BlipClient(HttpSender.login(process.env.BLIP_BOT_IDENTIFIER, BLIP_BOT_ACCESSKEY, BLIP_TENANT_ID))
await client.account.setBucket('bucketitem', 'value')
console.log(await client.account.getBucket('bucketitem'))Development
Install dependencies from the workspace root:
pnpm installBuild or test the SDK from the workspace root:
pnpm build
pnpm testYou can run the development version in another repo using pnpm link:
cd path/to/blip-sdk/packages/sdk
pnpm link --global
cd path/to/main/repo
pnpm link --global @whitewall/blip-sdk