with one click
package-exports
// Use when changing package entry points, `exports` maps, public API barrels, import paths, or subpath exports in aa-sdk packages.
// Use when changing package entry points, `exports` maps, public API barrels, import paths, or subpath exports in aa-sdk packages.
Use when changing GitHub workflows, Lerna versioning, package publish, or post-merge docs hooks (revalidate + SDK indexer).
Use when writing or modifying Vitest tests, `.vitest` setup, Anvil/Foundry or Rundler fixtures, per-package test config, or CI affected-test behavior.
Use when changing package management, workspace config, build scripts, generated outputs, Turborepo/Lerna config, or local validation in aa-sdk.
Use when editing `docs/**/*.mdx`, generated reference docs, TypeDoc comments, `typedoc.json`, `docs/docs.yml`, or documentation review instructions.
Use when throwing, catching, wrapping, documenting, or testing runtime errors in aa-sdk packages.
Use when changing `packages/smart-accounts`, account implementations, modules, permissions, nonces, deferred actions, or account address helpers.
| name | package-exports |
| description | Use when changing package entry points, `exports` maps, public API barrels, import paths, or subpath exports in aa-sdk packages. |
| last_verified | "2026-05-06T00:00:00.000Z" |
aa-sdk publishes four ESM packages from packages/*. Public API contracts are
defined by each package's package.json exports map and source entry points.
| Rule | When to read |
|---|---|
| Exports map is contract | Before adding, removing, or renaming public exports. |
| ESM imports | Before changing runtime imports in package source. |
| Internal and experimental subpaths | Before using or changing internal or experimental subpaths. |
packages/common/package.json exports ., ./chains, and ./internal.packages/wallet-apis/package.json exports ., ./experimental, ./solana,
and ./internal.packages/aa-infra/package.json and packages/smart-accounts/package.json
export their root entry point.