Skip to main content

Compatibility

Version: V2
View Markdown

Use exact package versions and public entry points listed in the manifest. V2 names the package generation; it does not make npm, contract, and Core versions interchangeable.

Package pins​

PackageVersion
@0xintuition/atom-classification0.1.1
@0xintuition/atom-enrichment0.1.1
@0xintuition/atom-parser0.1.1
@0xintuition/atom-runtime0.1.1
@0xintuition/classifications0.1.1
@0xintuition/cli0.1.1
@0xintuition/curves0.1.1
@0xintuition/deployments0.1.1
@0xintuition/ids0.1.1
@0xintuition/iid0.1.1
@0xintuition/iid-ladder0.1.1
@0xintuition/iid-registry0.1.1
@0xintuition/iid-spec0.1.0
@0xintuition/periphery0.1.1
@0xintuition/pipeline-runtime0.1.1
@0xintuition/predicates0.1.1
@0xintuition/primitives0.1.1
@0xintuition/protocol4.1.0
@0xintuition/react0.1.1
@0xintuition/schema-org0.1.1
@0xintuition/sdk4.1.0

Runtime requirements​

All 20 compiled libraries ship ESM and CommonJS builds at the pins above, including their public subpaths. The specification-only @0xintuition/iid-spec package contains artifacts and has no compiled module build. The manifest lists each package's engines and peers. The documentation's checks use an isolated dependency tree under examples/v2; V1 examples use separate V1 dependencies.

Node runtimeESM importCommonJS require()Mixed-format module identity
Node 20 before 20.19; Node 22 before 22.12SupportedSupported except ReactSeparate ESM and CommonJS copies; classes can differ
Node 20.19+, Node 22.12+, or newer supported majorsSupportedSupported, including React with its peers installedNode's module-sync condition selects the same ESM module instance

The React exception comes from its ESM-only wagmi peer. On older runtimes in the first row, use React through ESM or upgrade Node. The module format change does not extend the declared runtime floor to Node 18.

With Node's standard resolution, module-sync preserves class identity when import and require() resolve to the same installed package. On older runtimes, an error created by one format may fail an instanceof check against the other format's class. Keep a single format in that process or upgrade Node. Separate installed package versions and bundlers with different resolution conditions can still produce separate instances. Package module-format contract · Node conditional exports.

SurfaceRequirements or exact documentation pins
Direct TypeScript quickstartNode 22.18 or newer
Example compilerTypeScript 5.9.3; strict application checking, library declaration checking skipped
Contract clientsviem 2.31.4 in the checked examples; satisfy each package's declared peers
React example environmentReact and React DOM 19.1.0; wagmi 2.15.4; TanStack Query 5.90.2
Example type packagesNode types 22.20.5; React types 19.1.10; React DOM types 19.1.11
Parser remote inspectionNode 22+ or Bun for the documented complete workflow, with Fetch and Web Streams; local detection can disable remote fetching
Classification and enrichmentExplicit plugins, provider configuration, credentials where needed, and cache policy
Core source workflowGit, Bun 1.3.11, Node 20 or newer, Docker Compose v2 with a running Docker daemon, and curl

The React package declares React 18+, wagmi 2+, TanStack Query 5+, viem 2, and the manifest's protocol/deployments package lines as peers. Keep your application's React and renderer versions aligned. Provider secrets belong on a backend; local parsing does not imply that remote enrichment works without network access.

TypeScript and older tooling​

ESM consumers receive .js and .d.ts files; CommonJS consumers have .cjs and .d.cts files. Conditional types exports select declarations for modern NodeNext resolution. The package-level main and types fields point to the CommonJS entry and declarations, while module points to ESM. typesVersions maps public subpaths for legacy TypeScript node10 resolution. These mappings support older resolution conventions, not a promise that every older compiler can parse the declarations.

Keep module and moduleResolution set to NodeNext for a new Node TypeScript project. Your project's type and file extensions determine its module format. Existing ESM imports and documented subpath names stay valid; a CommonJS application can use require() with those same public names. Install in either format.

Backward compatibility​

This release preserves the previous stable V2 APIs and public import paths while adding CommonJS entry points. Upgrade direct dependencies to the listed pins, satisfy their peers, and refresh your lockfile. The CLI library supports both formats; the intuition executable remains ESM. The parser's CommonJS build includes its ESM-only multiformats dependency so callers do not need a module-loader workaround.

This module-format support does not restore removed V1 APIs or change the SDK read client's hosted V1 API boundary. Follow Migrate from V1 for an older SDK integration and The SDK read client for reads. Contract artifacts and Core's pinned dependency graph have separate version boundaries below.

Contract artifacts and deployments​

The package artifacts come from @0xintuition/contracts-v2@1.1.0-alpha.1 and @0xintuition/contracts-v2-periphery@1.1.0-alpha.0. Their versioning is separate from the stable library release. Artifact provenance verifies bundled interfaces and bytecode; it does not deploy or upgrade a contract.

Select addresses and check the implementation on your target chain before enabling URI creation, payable multicall, dynamic-fee, or on-behalf-of operations. The published deployment catalog withholds a TrustSwapAndBridgeRouter address; its lookup throws. See deployments and protocol.

Ordinary React atom-creation hooks use createAtoms. For companion URI registration, use the explicit URI-aware protocol operation and your own transaction flow.

Core source and package parity​

Core source: a402f880600f92969dc8fb013ca0f69fc9a02420. Fork and build that revision following Query a Core node. The source revision does not imply an npm installation of Core or equivalence with a released image.

At this source revision, Core's committed lockfile still resolves the November release: sixteen libraries at 0.1.0 and protocol at 4.0.0. Only the unchanged specification package matches the current pins; the other sixteen resolved libraries predate the CommonJS release. SDK, CLI, React, and periphery are absent from that graph. Updating an application's libraries does not update Core's frozen lockfile. Separately versioned contract artifacts and Core workspaces are outside this comparison.

The default stack starts Query API and processing services; it does not start chain ingestion without the indexing profile and chain configuration. API liveness alone does not prove that events have been indexed or external providers have enriched a record.

Applies to V2 · @0xintuition/atom-classification 0.1.1 · @0xintuition/atom-enrichment 0.1.1 · @0xintuition/atom-parser 0.1.1 · @0xintuition/atom-runtime 0.1.1 · @0xintuition/classifications 0.1.1 · @0xintuition/cli 0.1.1 · @0xintuition/curves 0.1.1 · @0xintuition/deployments 0.1.1 · @0xintuition/ids 0.1.1 · @0xintuition/iid 0.1.1 · @0xintuition/iid-ladder 0.1.1 · @0xintuition/iid-registry 0.1.1 · @0xintuition/iid-spec 0.1.0 · @0xintuition/periphery 0.1.1 · @0xintuition/pipeline-runtime 0.1.1 · @0xintuition/predicates 0.1.1 · @0xintuition/primitives 0.1.1 · @0xintuition/protocol 4.1.0 · @0xintuition/react 0.1.1 · @0xintuition/schema-org 0.1.1 · @0xintuition/sdk 4.1.0