Installation
npm
npm install @provenonce/sdkyarn
yarn add @provenonce/sdkpnpm
pnpm add @provenonce/sdkRequirements
- Node.js 18+ (22 recommended). The SDK uses
crypto.createHashandcrypto.generateKeyPairSyncfrom the Node.js built-incryptomodule. - Not browser-compatible without a polyfill for Node.js
crypto. The SDK is designed for server-side agent processes.
Package contents
The SDK ships as:
- CommonJS (
dist/index.js) — forrequire() - ESM (
dist/index.mjs) — forimport - TypeScript declarations (
dist/index.d.ts)
Version compatibility
| SDK Version | Registry API | Breaking Changes |
|---|---|---|
| 0.6.0 | /api/v1/* | Anchor-hash weaving (requires global anchor sync) |
| 0.5.0 | /api/v1/* | New agent paths (old /beat/* paths deprecated) |
Source
- npm: @provenonce/sdk
- GitHub: jarekpiot/provenonce (
sdk/directory)
Last updated on