Generated contract
Operation manifest generated from /openapi.json with typed helpers for the public API surface.
The official @pramaan/sdk RC covers badge reads, verify-anyone handoff streams, scan payments and HMAC webhook verification.
Install
npm install @pramaan/[email protected]
Import
import { PramaanClient } from '@pramaan/sdk';Dry run
npm publish --dry-run
Badge lookup
import { PramaanClient } from '@pramaan/sdk';
const client = new PramaanClient({
apiKey: process.env.PRAMAAN_API_KEY,
});
const badge = await client.badges.get('rajesh-bengaluru-9821');
console.log(badge.trust_verdict, badge.trust_score);Operation manifest generated from /openapi.json with typed helpers for the public API surface.
SDK errors carry RFC 7807 response bodies and correlation IDs for support handoff.
API keys, bearer sessions and idempotency keys are handled without custom request glue.