JavaScript SDK

ATAP client library for TypeScript and Node.js.

Installation

npm install @atap-dev/sdk

Quick example

import { ATAPClient } from "@atap-dev/sdk";
 
const client = new ATAPClient("https://api.sandbox.atap.dev");
 
// Register an agent
const agent = await client.register({
  type: "agent",
  name: "my-js-agent",
});
 
console.log("DID:", agent.did);
console.log("Secret:", agent.clientSecret);

Note

The JavaScript SDK is under active development. See the source on GitHub for the latest API.