SDK reference

@didconnect/sdk

The TypeScript client of the Connect API, for Node.js 20 and later, Bun and Deno.

npm install @didconnect/sdk
import { DidConnect } from '@didconnect/sdk';

const dc = new DidConnect({ apiKey: process.env.DIDCONNECT_API_KEY! });
NamespaceProduct
dc.idConnect ID
dc.verifyConnect Verify
dc.lensLENS
dc.deeplytics, dc.cortexDeeplytics and Cortex
dc.webhooksWebhooks

The SDK runs on a server. It has no dependency and uses the global fetch.