Version Packages - #322
Conversation
PR SummaryMedium Risk Overview Published versions: The changelog text bundled here reflects already-landed work: ESM-only publishing (no CommonJS), Bun for monorepo install/build/test, breaking precompiles API cleanup (IBC/Oracle removal, exports map, v6.6.1 ABI sync), registry IBC/gas/devnet removals and install-time submodule fix, MCP devnet removal and docs search routed to docs.sei.io, plus publishing/type-resolution standardization across packages. Reviewed by Cursor Bugbot for commit 610ec22. Bugbot is set up for automated code reviews on this repo. Configure here. |
13563a2 to
684b7aa
Compare
684b7aa to
610ec22
Compare
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@sei-js/create-sei@2.0.0
Major Changes
29311bc: Migrate the monorepo to Bun and publish ESM-only packages.
Breaking: all packages drop CommonJS (
require) entry points and flattendist/. Consumers must use ESMimport.@sei-js/precompilesnow ships anexportsmap with working./ethers,./viem, and./precompilessubpaths.@sei-js/sei-global-walletkeeps the./solanaentrypoint.Install, build, and test with Bun (
bun install,bun run build,bun run test).@sei-js/mcp-servernow requires Node.js 20 or newer. The MCP server and precompiles development toolchain use Viem 2.55.16. Generated apps target the new@sei-js/precompilesmajor. Packages continue to publish to npm via Changesets.Patch Changes
@sei-js/mcp-server@1.0.0
Major Changes
29311bc: Migrate the monorepo to Bun and publish ESM-only packages.
Breaking: all packages drop CommonJS (
require) entry points and flattendist/. Consumers must use ESMimport.@sei-js/precompilesnow ships anexportsmap with working./ethers,./viem, and./precompilessubpaths.@sei-js/sei-global-walletkeeps the./solanaentrypoint.Install, build, and test with Bun (
bun install,bun run build,bun run test).@sei-js/mcp-servernow requires Node.js 20 or newer. The MCP server and precompiles development toolchain use Viem 2.55.16. Generated apps target the new@sei-js/precompilesmajor. Packages continue to publish to npm via Changesets.96d9e1c: Remove Sei devnet support. The MCP server no longer accepts
sei-devnet, chain ID713715, orDEVNET_RPC_URL. Registry exports now contain onlypacific-1andatlantic-2, andCHAIN_IDS.devnethas been removed.Minor Changes
search_sei_js_docstool and route the remainingsearch_docstool through the official docs.sei.io MCP endpoint instead of the legacy Mintlify/Trieve backends. Reconnect and retry once when the remote docs session expires so callers do not see a transient 404 or 410 error. Remove the obsoletedocs/rule from the package's.npmignore.Patch Changes
@sei-js/precompiles@3.0.0
Major Changes
29311bc: Migrate the monorepo to Bun and publish ESM-only packages.
Breaking: all packages drop CommonJS (
require) entry points and flattendist/. Consumers must use ESMimport.@sei-js/precompilesnow ships anexportsmap with working./ethers,./viem, and./precompilessubpaths.@sei-js/sei-global-walletkeeps the./solanaentrypoint.Install, build, and test with Bun (
bun install,bun run build,bun run test).@sei-js/mcp-servernow requires Node.js 20 or newer. The MCP server and precompiles development toolchain use Viem 2.55.16. Generated apps target the new@sei-js/precompilesmajor. Packages continue to publish to npm via Changesets.c928ae9: Breaking: remove the unsupported IBC and Oracle precompile addresses, ABIs, and Ethers factories.
Neither precompile is supported on Sei any more, so calls to them fail on-chain regardless of where the address and ABI come from. There is no drop-in replacement: re-declaring them locally will not restore working calls, and code still depending on them needs to move off these precompiles.
Also remove the redundant Viem-specific ABI aliases. Import the raw
*_PRECOMPILE_ABIconstants instead; they work directly with Viem and preserve literal types for contract inference. Theviemsubpath re-exports these raw constants alongside the Sei chain definitions.96d9e1c: Export Viem's canonical Sei mainnet and testnet definitions from the package root and
viementrypoint. Viem 2.55.16 or newer is now required.Minor Changes
b3db3e8: Export the Solo precompile from the
ethersentrypoint.ETHERS_SOLO_PRECOMPILE_ABIandgetSoloPrecompileEthersV6Contractwere implemented but never re-exported fromsrc/ethers/index.ts, so they were unreachable from the@sei-js/precompilespackage root.The
@sei-js/precompiles/etherssubpath shown in the doc examples remains unresolvable and is unchanged here — the package still publishes noexportsmap. That is tracked separately.5675fcf: Sync the exported precompile ABIs with Sei Chain v6.6.1.
This adds the P256 precompile address, ABI, and Ethers factory. It also adds the missing staking queries and events, governance proposal methods, distribution events and validator commission withdrawal, JSON array extraction, and CW1155 pointer methods.
Patch Changes
@sei-js/registry@2.0.0
Major Changes
29311bc: Migrate the monorepo to Bun and publish ESM-only packages.
Breaking: all packages drop CommonJS (
require) entry points and flattendist/. Consumers must use ESMimport.@sei-js/precompilesnow ships anexportsmap with working./ethers,./viem, and./precompilessubpaths.@sei-js/sei-global-walletkeeps the./solanaentrypoint.Install, build, and test with Bun (
bun install,bun run build,bun run test).@sei-js/mcp-servernow requires Node.js 20 or newer. The MCP server and precompiles development toolchain use Viem 2.55.16. Generated apps target the new@sei-js/precompilesmajor. Packages continue to publish to npm via Changesets.39c277f: Remove IBC and gas data from the registry package.
IBC_INFO,ChannelInfo,GAS_INFO,ChainGasInfo, andModuleAdjustmentsare no longer exported, andTOKEN_LISTno longer contains IBC or ICS-20 assets.Refresh the bundled chain registry data with current network endpoints, explorers, and wallets.
WALLETSis now available from the package root.Align token metadata types with the community asset list:
Token.type_assetreplaces the non-runtimeToken.type_tokenfield, andDenomUnit.aliasesis optional.96d9e1c: Remove Sei devnet support. The MCP server no longer accepts
sei-devnet, chain ID713715, orDEVNET_RPC_URL. Registry exports now contain onlypacific-1andatlantic-2, andCHAIN_IDS.devnethas been removed.Patch Changes
@sei-js/sei-global-wallet@2.0.0
Major Changes
29311bc: Migrate the monorepo to Bun and publish ESM-only packages.
Breaking: all packages drop CommonJS (
require) entry points and flattendist/. Consumers must use ESMimport.@sei-js/precompilesnow ships anexportsmap with working./ethers,./viem, and./precompilessubpaths.@sei-js/sei-global-walletkeeps the./solanaentrypoint.Install, build, and test with Bun (
bun install,bun run build,bun run test).@sei-js/mcp-servernow requires Node.js 20 or newer. The MCP server and precompiles development toolchain use Viem 2.55.16. Generated apps target the new@sei-js/precompilesmajor. Packages continue to publish to npm via Changesets.Patch Changes