跳到主要内容

TypeScript SDK reference

查看 Markdown

This reference covers the Dex TypeScript SDK. Check the SDK version your application uses before you rely on a detail:

npm ls @superdurable/dex

Install​

The TypeScript SDK is the npm package @superdurable/dex. Pin an exact release:

npm install @superdurable/dex@1.35.0

The package supports Node.js 22 and 24. Releases use the tag sdk-typescript/vX.Y.Z.

Supported versions​

SDK minorServer requirement
1.35server-zd 0.1.17 or newer (protocol version 4)
1.32, 1.30, 1.29, 1.28See the compatibility matrix

Minor numbers follow the shared Dex release train. A missing minor means the TypeScript SDK did not change in that release.

API reference​

Read the TypeScript SDK API reference for the latest release, 1.35.0.

Versioned snapshots: 1.35.0, 1.32.0, 1.30.0, 1.29.0, 1.28.1.

RPC codecs​

TypeScript uses JSON when inputCodec or outputCodec is omitted. Provide a codec when the input or output is not JSON, including scalar values such as strings, numbers, booleans, and bigints.

Pages​

  • Workers: TypeScript names for Worker readiness, capacity, and shutdown settings.

Release notes​

See the sdk-typescript releases on GitHub.