OpenAgentID documentation
Source referencesPackage entries

@openagentid/client (TypeScript)

OpenAgent Core challenge-response auth client for TypeScript (browser, Node, Bun, Deno).

Purpose

OpenAgent Core challenge-response auth client for TypeScript (browser, Node, Bun, Deno).

Read the legacy client and server guide.

Source contract

FieldValue
Package@openagentid/client
Version0.1.1
LanguageTypeScript
Runtime floor{'node': '>=18'}
Manifestopenagents/openagent.id/clients/typescript/package.json
DistributionSource package; registry publication not verified

Manifest SHA-256: 4d1e33290792ae008361f9fca6dcbe033d08f25c154ab794cc3689d8c66d5acc. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.

Integration

Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.

Declared package subpaths

{
  ".": {
    "types": "./dist/index.d.ts",
    "import": "./dist/index.js"
  }
}

Exported entry points

The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.

openagents/openagent.id/clients/typescript/src/index.ts

Source SHA-256: fcce69c8f5ad5496b966f4ac6f2f038a3e170d72d267fba3a14c6f6534507258.

export { OpenAgentClient } from "./client.js";
export type { OpenAgentClientOptions } from "./client.js";
export { KeyPair, encodeDidKey } from "./keypair.js";
export {
  CHALLENGE_TYPE,
  parseWwwAuthenticate,
  validateChallenge,
  canonicalizeChallenge,
  isChallengeFresh,
} from "./challenge.js";
export type { Challenge } from "./challenge.js";
export {
  OpenAgentClientError,
  InvalidUrlError,
  NoChallengeHeaderError,
  MalformedChallengeError,
  NetworkError,
  InvalidKeyError,
} from "./errors.js";
export { bodyAsString, bodyAsJson } from "./types.js";
export type {
export * as base64url from "./base64url.js";
export * as hex from "./hex.js";

Exported API signatures

Read resolved TypeScript exports and source documentation.

On this page