Skip to main content
The SDK is published to npm as @outcome.xyz/hip4. It ships with full TypeScript types, supports both ESM and CommonJS, and has no runtime dependencies beyond your own project’s dependencies.

Install

Current version: 1.3.0. See the changelog.
Releases are published to the npm beta dist-tag. Install with @beta to get the current release. Without it, npm resolves the latest tag, which can point to an older version.

Entry points

The package exposes two entry points:

TypeScript requirements

The SDK is compiled for ES2022 and uses features such as optional chaining, nullish coalescing, and BigInt. Strict mode is recommended:
tsconfig.json
The SDK has zero runtime dependencies. Installing it will not add any third-party packages to your node_modules.

Module format support

The package ships both ESM (.js) and CommonJS (.cjs) builds. Your bundler or runtime will pick the right format automatically based on your project’s "type" field and import syntax. No additional configuration is required.