Skip to content

Packages ​

The supported 1.0.0 release contains three public packages. Pin one exact version across the package graph.

PackageRuntimePrimary consumer
@midnightntwrk/credential-modelTypeScript ESMCredential repositories and tooling
@midnightntwrk/credential-compactCompact and TypeScript ESMSchema contracts and verification contracts
@midnightntwrk/credential-did-midnightCompact and TypeScript ESMMidnight DID-aware consumers

The model and Compact core packages are independent. The optional Midnight DID binding depends one-way on the Compact core. A concrete credential repository selects only the boundaries it needs.

Midnight Verifiable Credentials core