From e9c66b4f7273cb7f0949c4c6f99e466188bf4017 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 23 Aug 2026 13:02:47 +0000 Subject: [PATCH] Version Packages --- .changeset/align-mcp-zod.md | 5 --- .changeset/clean-spiders-smile.md | 5 --- .changeset/export-solo-precompile-ethers.md | 5 --- .changeset/fix-create-sei-scaffold.md | 5 --- .../fix-global-wallet-release-blockers.md | 18 ----------- .changeset/fix-mcp-http-startup.md | 6 ---- .changeset/fix-nft-resource-owner.md | 5 --- .changeset/harden-create-sei-release.md | 17 ---------- .changeset/migrate-monorepo-to-bun.md | 13 -------- .changeset/refresh-reviewed-registry-data.md | 9 ------ .changeset/remove-docs-integrations.md | 5 --- .changeset/remove-ibc-oracle-precompiles.md | 9 ------ .changeset/remove-registry-ibc.md | 9 ------ .changeset/restore-sei-chain-exports.md | 5 --- .changeset/retire-arctic-network.md | 6 ---- .changeset/sync-v66-precompiles.md | 7 ---- .changeset/tidy-package-publishing.md | 9 ------ bun.lock | 10 +++--- packages/create-sei/CHANGELOG.md | 32 +++++++++++++++++++ packages/create-sei/package.json | 2 +- packages/mcp-server/CHANGELOG.md | 23 +++++++++++++ packages/mcp-server/package.json | 2 +- packages/precompiles/CHANGELOG.md | 29 +++++++++++++++++ packages/precompiles/package.json | 2 +- packages/registry/CHANGELOG.md | 31 ++++++++++++++++++ packages/registry/package.json | 2 +- packages/sei-global-wallet/CHANGELOG.md | 31 ++++++++++++++++++ packages/sei-global-wallet/package.json | 2 +- 28 files changed, 156 insertions(+), 148 deletions(-) delete mode 100644 .changeset/align-mcp-zod.md delete mode 100644 .changeset/clean-spiders-smile.md delete mode 100644 .changeset/export-solo-precompile-ethers.md delete mode 100644 .changeset/fix-create-sei-scaffold.md delete mode 100644 .changeset/fix-global-wallet-release-blockers.md delete mode 100644 .changeset/fix-mcp-http-startup.md delete mode 100644 .changeset/fix-nft-resource-owner.md delete mode 100644 .changeset/harden-create-sei-release.md delete mode 100644 .changeset/migrate-monorepo-to-bun.md delete mode 100644 .changeset/refresh-reviewed-registry-data.md delete mode 100644 .changeset/remove-docs-integrations.md delete mode 100644 .changeset/remove-ibc-oracle-precompiles.md delete mode 100644 .changeset/remove-registry-ibc.md delete mode 100644 .changeset/restore-sei-chain-exports.md delete mode 100644 .changeset/retire-arctic-network.md delete mode 100644 .changeset/sync-v66-precompiles.md delete mode 100644 .changeset/tidy-package-publishing.md diff --git a/.changeset/align-mcp-zod.md b/.changeset/align-mcp-zod.md deleted file mode 100644 index 92e04a84c..000000000 --- a/.changeset/align-mcp-zod.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sei-js/mcp-server': patch ---- - -Align `zod` with `@modelcontextprotocol/sdk` so both resolve the same schema types. diff --git a/.changeset/clean-spiders-smile.md b/.changeset/clean-spiders-smile.md deleted file mode 100644 index 6b9d899a6..000000000 --- a/.changeset/clean-spiders-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sei-js/registry": patch ---- - -Stop running Git submodule commands when consumers install the registry package. diff --git a/.changeset/export-solo-precompile-ethers.md b/.changeset/export-solo-precompile-ethers.md deleted file mode 100644 index 337217dae..000000000 --- a/.changeset/export-solo-precompile-ethers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sei-js/precompiles': minor ---- - -Export the Solo precompile from the `ethers` entrypoint. `ETHERS_SOLO_PRECOMPILE_ABI` and `getSoloPrecompileEthersV6Contract` were implemented but never re-exported from `src/ethers/index.ts`, so they were unreachable from the `@sei-js/precompiles` package root. diff --git a/.changeset/fix-create-sei-scaffold.md b/.changeset/fix-create-sei-scaffold.md deleted file mode 100644 index e77c5096c..000000000 --- a/.changeset/fix-create-sei-scaffold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sei-js/create-sei": patch ---- - -Add the documented `-n` app name option and correct the generated template documentation and Bank precompile link. diff --git a/.changeset/fix-global-wallet-release-blockers.md b/.changeset/fix-global-wallet-release-blockers.md deleted file mode 100644 index f94865bd9..000000000 --- a/.changeset/fix-global-wallet-release-blockers.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@sei-js/sei-global-wallet': minor ---- - -Harden Sei Global Wallet browser, EIP-6963, and packaging behavior without changing what existing installs resolve. - -New exports: `registerEIP6963Provider`, `unregisterEIP6963Provider`, `eip6963ProviderInfo`, and `registerSolanaStandard`. - -- Raise `@dynamic-labs/global-wallet-client` to `^4.96.3`, so applications inherit Dynamic's transitive fixes without waiting for a release here. -- Initialize Dynamic's required `global` and `process` aliases before loading its modules in browsers and edge-like SSR runtimes, without consumer bundler configuration and without replacing consumer-defined values. `process.env.NODE_ENV` defaults to `production` so libraries loaded afterwards do not take a development branch inside a production bundle. -- Dispatch the initial EIP-6963 announcement, re-announce on every provider request, expose cleanup helpers, use stable UUIDv4 provider metadata, and replace the non-square wordmark with the unmodified square black mark from the official Sei brand kit. -- Keep the root, `./eip6963`, and `./ethereum` entrypoints resolvable with no optional peer installed, including for types. -- Verify real npm and Bun consumers, all five entrypoints, EIP-6963 and Solana registration, ZeroDev resolution, esbuild and Vite browser runtimes, SSR imports, types, audits, and package contents. - -Every optional peer range stays a superset of the 1.4.1 contract, and `@wallet-standard/wallet` stays a direct dependency, so no existing install changes how it resolves. The `events` dependency is present so bundlers can resolve the bare `events` specifier that `@zerodev/sdk` imports; browser builds of the `./zerodev` path fail without it. Dynamic 4.96.3's own peer contract is the version set this release is verified against; it is documented under [Optional peer versions](https://github.com/sei-protocol/sei-js/blob/main/packages/sei-global-wallet/README.md#optional-peer-versions) as guidance rather than enforced through narrowed ranges. - -> [!WARNING] -> This release carries a temporary consumer security waiver: Dynamic transitively pins vulnerable `axios` and `uuid`, and dependency overrides in a library do not propagate to applications. See [Required consumer overrides](https://github.com/sei-protocol/sei-js/blob/main/packages/sei-global-wallet/README.md#required-consumer-overrides) for the exact override blocks and the accepted advisory set. diff --git a/.changeset/fix-mcp-http-startup.md b/.changeset/fix-mcp-http-startup.md deleted file mode 100644 index 8ffedf5b6..000000000 --- a/.changeset/fix-mcp-http-startup.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@sei-js/mcp-server': patch -'@sei-js/create-sei': patch ---- - -Fix the HTTP start scripts to select their transports through `SERVER_TRANSPORT`, document the current Node.js, wallet, and HTTP configuration, and direct generated apps to the current package guide. diff --git a/.changeset/fix-nft-resource-owner.md b/.changeset/fix-nft-resource-owner.md deleted file mode 100644 index 384205b73..000000000 --- a/.changeset/fix-nft-resource-owner.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sei-js/mcp-server': patch ---- - -Return the current ERC-721 owner from NFT detail resources and expose owner lookup failures. diff --git a/.changeset/harden-create-sei-release.md b/.changeset/harden-create-sei-release.md deleted file mode 100644 index 93494b75b..000000000 --- a/.changeset/harden-create-sei-release.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@sei-js/create-sei": minor ---- - -Harden scaffolding against destination overwrites and extension traversal, propagate generation failures, and write the selected project name into generated manifests. Project names are now intentionally limited to unscoped lowercase npm-style directory names; scoped names, tildes, and other shell-significant characters are rejected. - -Generate buildable base and precompiles apps with patched Next.js and React versions, an exact independently validated `@sei-js/precompiles` dependency, preserved Biome tooling, conventional favicon handling, and a safe `.gitignore`. - -Keep the secure Sharp 0.35 line while disabling Next 15's incompatible image optimizer. The dedicated smoke uses a local candidate only when its pending or already-versioned manifest matches the template pin; otherwise it checks the exact npm release. It validates clean Bun installs, reports low and moderate advisories, blocks candidate checks on high and critical advisories, and exercises Biome, production builds, routes, and assets without coupling unrelated package releases to the scaffold audit. - -Apply the official Sei lockup, app mark, and Powered by Sei artwork with the black-and-white base palette, restrained Maroon and Gold accents, and license-safe typography fallbacks. - -Map Mantine neutrals to the accessible official ramp and pin React 19-compatible external-store synchronization. - -Remove the stale Vercel deploy script and badge, and replace the MetaMask-specific default connector with the generic injected-wallet connector. - -Keep default CLI failures concise while exposing full errors and stacks when `DEBUG` is set. diff --git a/.changeset/migrate-monorepo-to-bun.md b/.changeset/migrate-monorepo-to-bun.md deleted file mode 100644 index 458a71136..000000000 --- a/.changeset/migrate-monorepo-to-bun.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@sei-js/precompiles": major -"@sei-js/registry": major -"@sei-js/sei-global-wallet": major -"@sei-js/mcp-server": major -"@sei-js/create-sei": major ---- - -Migrate the monorepo to Bun and publish ESM-only packages. - -**Breaking:** all packages drop CommonJS (`require`) entry points and flatten `dist/`. Consumers must use ESM `import`. `@sei-js/precompiles` now ships an `exports` map with working `./ethers`, `./viem`, and `./precompiles` subpaths. `@sei-js/sei-global-wallet` keeps the `./solana` entrypoint. - -Install, build, and test with Bun (`bun install`, `bun run build`, `bun run test`). `@sei-js/mcp-server` now 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/precompiles` major. Packages continue to publish to npm via Changesets. diff --git a/.changeset/refresh-reviewed-registry-data.md b/.changeset/refresh-reviewed-registry-data.md deleted file mode 100644 index 22f2e7d3f..000000000 --- a/.changeset/refresh-reviewed-registry-data.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@sei-js/registry': minor ---- - -Refresh the community asset metadata from a reviewed upstream pin, including current non-IBC mainnet assets and retained image metadata. - -`TOKEN_LIST` entries now use `RegistryToken`, which narrows `type_asset` from the general optional string to a required upstream-schema asset type. `Token.pointer_contract` exposes optional, typed native/EVM pointer metadata. - -Keep source and bundle validation/filtering in sync, and add deterministic release checks for schema fidelity, generated data, submodule cleanliness, and retained image links. diff --git a/.changeset/remove-docs-integrations.md b/.changeset/remove-docs-integrations.md deleted file mode 100644 index f805718a5..000000000 --- a/.changeset/remove-docs-integrations.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sei-js/mcp-server': minor ---- - -Remove the `search_sei_js_docs` tool and route the remaining `search_docs` tool 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 obsolete `docs/` rule from the package's `.npmignore`. diff --git a/.changeset/remove-ibc-oracle-precompiles.md b/.changeset/remove-ibc-oracle-precompiles.md deleted file mode 100644 index cb2782668..000000000 --- a/.changeset/remove-ibc-oracle-precompiles.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@sei-js/precompiles': major ---- - -**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_ABI` constants instead; they work directly with Viem and preserve literal types for contract inference. The `viem` subpath re-exports these raw constants alongside the Sei chain definitions. diff --git a/.changeset/remove-registry-ibc.md b/.changeset/remove-registry-ibc.md deleted file mode 100644 index 023011033..000000000 --- a/.changeset/remove-registry-ibc.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@sei-js/registry': major ---- - -Remove IBC and gas data from the registry package. `IBC_INFO`, `ChannelInfo`, `GAS_INFO`, `ChainGasInfo`, and `ModuleAdjustments` are no longer exported, and `TOKEN_LIST` no longer contains IBC or ICS-20 assets. - -Refresh the bundled chain registry data with current network endpoints, explorers, and wallets. `WALLETS` is now available from the package root. - -Align token metadata types with the community asset list: `Token.type_asset` replaces the non-runtime `Token.type_token` field, and `DenomUnit.aliases` is optional. diff --git a/.changeset/restore-sei-chain-exports.md b/.changeset/restore-sei-chain-exports.md deleted file mode 100644 index 1cc7016b7..000000000 --- a/.changeset/restore-sei-chain-exports.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@sei-js/precompiles': major ---- - -Export Viem's canonical Sei mainnet and testnet definitions from the package root and `viem` entrypoint. Viem 2.55.16 or newer is now required. diff --git a/.changeset/retire-arctic-network.md b/.changeset/retire-arctic-network.md deleted file mode 100644 index 0897dff75..000000000 --- a/.changeset/retire-arctic-network.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@sei-js/mcp-server': major -'@sei-js/registry': major ---- - -Remove Sei devnet support. The MCP server no longer accepts `sei-devnet`, chain ID `713715`, or `DEVNET_RPC_URL`. Registry exports now contain only `pacific-1` and `atlantic-2`, and `CHAIN_IDS.devnet` has been removed. diff --git a/.changeset/sync-v66-precompiles.md b/.changeset/sync-v66-precompiles.md deleted file mode 100644 index 5cdcd6faa..000000000 --- a/.changeset/sync-v66-precompiles.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@sei-js/precompiles': minor ---- - -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. diff --git a/.changeset/tidy-package-publishing.md b/.changeset/tidy-package-publishing.md deleted file mode 100644 index f98e2fe80..000000000 --- a/.changeset/tidy-package-publishing.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@sei-js/create-sei": patch -"@sei-js/mcp-server": patch -"@sei-js/precompiles": patch -"@sei-js/registry": patch -"@sei-js/sei-global-wallet": patch ---- - -Standardize published package contents, licensing, and type resolution. diff --git a/bun.lock b/bun.lock index a79e83c6a..f124788cb 100644 --- a/bun.lock +++ b/bun.lock @@ -18,7 +18,7 @@ }, "packages/create-sei": { "name": "@sei-js/create-sei", - "version": "1.0.1", + "version": "2.0.0", "bin": "./dist/main.js", "dependencies": { "boxen": "^7.1.1", @@ -32,7 +32,7 @@ }, "packages/mcp-server": { "name": "@sei-js/mcp-server", - "version": "0.3.3", + "version": "1.0.0", "bin": "./bin/mcp-server.js", "dependencies": { "@modelcontextprotocol/sdk": "^1.17.5", @@ -52,7 +52,7 @@ }, "packages/precompiles": { "name": "@sei-js/precompiles", - "version": "2.1.3", + "version": "3.0.0", "devDependencies": { "esbuild": "^0.28.2", "ethers": "^6.0.0", @@ -66,7 +66,7 @@ }, "packages/registry": { "name": "@sei-js/registry", - "version": "1.0.4", + "version": "2.0.0", "devDependencies": { "esbuild": "^0.28.2", "typescript": "^5.8.2", @@ -74,7 +74,7 @@ }, "packages/sei-global-wallet": { "name": "@sei-js/sei-global-wallet", - "version": "1.4.1", + "version": "2.0.0", "dependencies": { "@dynamic-labs/global-wallet-client": "^4.96.3", "@wallet-standard/wallet": "^1.1.0", diff --git a/packages/create-sei/CHANGELOG.md b/packages/create-sei/CHANGELOG.md index aa95ba240..3009e2375 100644 --- a/packages/create-sei/CHANGELOG.md +++ b/packages/create-sei/CHANGELOG.md @@ -1,5 +1,37 @@ # @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 flatten `dist/`. Consumers must use ESM `import`. `@sei-js/precompiles` now ships an `exports` map with working `./ethers`, `./viem`, and `./precompiles` subpaths. `@sei-js/sei-global-wallet` keeps the `./solana` entrypoint. + + Install, build, and test with Bun (`bun install`, `bun run build`, `bun run test`). `@sei-js/mcp-server` now 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/precompiles` major. Packages continue to publish to npm via Changesets. + +### Minor Changes + +- 6fade5f: Harden scaffolding against destination overwrites and extension traversal, propagate generation failures, and write the selected project name into generated manifests. Project names are now intentionally limited to unscoped lowercase npm-style directory names; scoped names, tildes, and other shell-significant characters are rejected. + + Generate buildable base and precompiles apps with patched Next.js and React versions, an exact independently validated `@sei-js/precompiles` dependency, preserved Biome tooling, conventional favicon handling, and a safe `.gitignore`. + + Keep the secure Sharp 0.35 line while disabling Next 15's incompatible image optimizer. The dedicated smoke uses a local candidate only when its pending or already-versioned manifest matches the template pin; otherwise it checks the exact npm release. It validates clean Bun installs, reports low and moderate advisories, blocks candidate checks on high and critical advisories, and exercises Biome, production builds, routes, and assets without coupling unrelated package releases to the scaffold audit. + + Apply the official Sei lockup, app mark, and Powered by Sei artwork with the black-and-white base palette, restrained Maroon and Gold accents, and license-safe typography fallbacks. + + Map Mantine neutrals to the accessible official ramp and pin React 19-compatible external-store synchronization. + + Remove the stale Vercel deploy script and badge, and replace the MetaMask-specific default connector with the generic injected-wallet connector. + + Keep default CLI failures concise while exposing full errors and stacks when `DEBUG` is set. + +### Patch Changes + +- 656e1d2: Add the documented `-n` app name option and correct the generated template documentation and Bank precompile link. +- b730fba: Fix the HTTP start scripts to select their transports through `SERVER_TRANSPORT`, document the current Node.js, wallet, and HTTP configuration, and direct generated apps to the current package guide. +- da59b19: Standardize published package contents, licensing, and type resolution. + ## 1.0.1 ### Patch Changes diff --git a/packages/create-sei/package.json b/packages/create-sei/package.json index a9ea26beb..bfa1c1923 100644 --- a/packages/create-sei/package.json +++ b/packages/create-sei/package.json @@ -1,6 +1,6 @@ { "name": "@sei-js/create-sei", - "version": "1.0.1", + "version": "2.0.0", "description": "Scaffold new Sei applications with pre-configured templates and tooling", "homepage": "https://github.com/sei-protocol/sei-js/tree/main/packages/create-sei#readme", "repository": { diff --git a/packages/mcp-server/CHANGELOG.md b/packages/mcp-server/CHANGELOG.md index 83e00e6e8..3bbab5e45 100644 --- a/packages/mcp-server/CHANGELOG.md +++ b/packages/mcp-server/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 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 flatten `dist/`. Consumers must use ESM `import`. `@sei-js/precompiles` now ships an `exports` map with working `./ethers`, `./viem`, and `./precompiles` subpaths. `@sei-js/sei-global-wallet` keeps the `./solana` entrypoint. + + Install, build, and test with Bun (`bun install`, `bun run build`, `bun run test`). `@sei-js/mcp-server` now 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/precompiles` major. Packages continue to publish to npm via Changesets. + +- 96d9e1c: Remove Sei devnet support. The MCP server no longer accepts `sei-devnet`, chain ID `713715`, or `DEVNET_RPC_URL`. Registry exports now contain only `pacific-1` and `atlantic-2`, and `CHAIN_IDS.devnet` has been removed. + +### Minor Changes + +- e0e4720: Remove the `search_sei_js_docs` tool and route the remaining `search_docs` tool 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 obsolete `docs/` rule from the package's `.npmignore`. + +### Patch Changes + +- 5b4bff7: Align `zod` with `@modelcontextprotocol/sdk` so both resolve the same schema types. +- b730fba: Fix the HTTP start scripts to select their transports through `SERVER_TRANSPORT`, document the current Node.js, wallet, and HTTP configuration, and direct generated apps to the current package guide. +- d626c0a: Return the current ERC-721 owner from NFT detail resources and expose owner lookup failures. +- da59b19: Standardize published package contents, licensing, and type resolution. + ## 0.3.3 ### Patch Changes diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index 34d2569bb..7a375e669 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -2,7 +2,7 @@ "name": "@sei-js/mcp-server", "description": "Model Context Protocol (MCP) server for interacting with EVM-compatible networks", "type": "module", - "version": "0.3.3", + "version": "1.0.0", "bin": "./bin/mcp-server.js", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/precompiles/CHANGELOG.md b/packages/precompiles/CHANGELOG.md index aa1b9c647..94bf47329 100644 --- a/packages/precompiles/CHANGELOG.md +++ b/packages/precompiles/CHANGELOG.md @@ -1,5 +1,34 @@ # @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 flatten `dist/`. Consumers must use ESM `import`. `@sei-js/precompiles` now ships an `exports` map with working `./ethers`, `./viem`, and `./precompiles` subpaths. `@sei-js/sei-global-wallet` keeps the `./solana` entrypoint. + + Install, build, and test with Bun (`bun install`, `bun run build`, `bun run test`). `@sei-js/mcp-server` now 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/precompiles` major. 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_ABI` constants instead; they work directly with Viem and preserve literal types for contract inference. The `viem` subpath 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 `viem` entrypoint. Viem 2.55.16 or newer is now required. + +### Minor Changes + +- b3db3e8: Export the Solo precompile from the `ethers` entrypoint. `ETHERS_SOLO_PRECOMPILE_ABI` and `getSoloPrecompileEthersV6Contract` were implemented but never re-exported from `src/ethers/index.ts`, so they were unreachable from the `@sei-js/precompiles` package root. +- 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 + +- da59b19: Standardize published package contents, licensing, and type resolution. + ## 2.1.3 ### Patch Changes diff --git a/packages/precompiles/package.json b/packages/precompiles/package.json index aaa878ba1..fd1dc8576 100644 --- a/packages/precompiles/package.json +++ b/packages/precompiles/package.json @@ -1,6 +1,6 @@ { "name": "@sei-js/precompiles", - "version": "2.1.3", + "version": "3.0.0", "description": "TypeScript library for EVM interactions on the Sei blockchain", "type": "module", "main": "./dist/index.js", diff --git a/packages/registry/CHANGELOG.md b/packages/registry/CHANGELOG.md index cacd60beb..8e15beddb 100644 --- a/packages/registry/CHANGELOG.md +++ b/packages/registry/CHANGELOG.md @@ -1,5 +1,36 @@ # @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 flatten `dist/`. Consumers must use ESM `import`. `@sei-js/precompiles` now ships an `exports` map with working `./ethers`, `./viem`, and `./precompiles` subpaths. `@sei-js/sei-global-wallet` keeps the `./solana` entrypoint. + + Install, build, and test with Bun (`bun install`, `bun run build`, `bun run test`). `@sei-js/mcp-server` now 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/precompiles` major. Packages continue to publish to npm via Changesets. + +- 39c277f: Remove IBC and gas data from the registry package. `IBC_INFO`, `ChannelInfo`, `GAS_INFO`, `ChainGasInfo`, and `ModuleAdjustments` are no longer exported, and `TOKEN_LIST` no longer contains IBC or ICS-20 assets. + + Refresh the bundled chain registry data with current network endpoints, explorers, and wallets. `WALLETS` is now available from the package root. + + Align token metadata types with the community asset list: `Token.type_asset` replaces the non-runtime `Token.type_token` field, and `DenomUnit.aliases` is optional. + +- 96d9e1c: Remove Sei devnet support. The MCP server no longer accepts `sei-devnet`, chain ID `713715`, or `DEVNET_RPC_URL`. Registry exports now contain only `pacific-1` and `atlantic-2`, and `CHAIN_IDS.devnet` has been removed. + +### Minor Changes + +- 1b38777: Refresh the community asset metadata from a reviewed upstream pin, including current non-IBC mainnet assets and retained image metadata. + + `TOKEN_LIST` entries now use `RegistryToken`, which narrows `type_asset` from the general optional string to a required upstream-schema asset type. `Token.pointer_contract` exposes optional, typed native/EVM pointer metadata. + + Keep source and bundle validation/filtering in sync, and add deterministic release checks for schema fidelity, generated data, submodule cleanliness, and retained image links. + +### Patch Changes + +- d12ad96: Stop running Git submodule commands when consumers install the registry package. +- da59b19: Standardize published package contents, licensing, and type resolution. + ## 1.0.4 ### Patch Changes diff --git a/packages/registry/package.json b/packages/registry/package.json index 8db441642..11759a111 100644 --- a/packages/registry/package.json +++ b/packages/registry/package.json @@ -1,6 +1,6 @@ { "name": "@sei-js/registry", - "version": "1.0.4", + "version": "2.0.0", "description": "TypeScript library for Sei chain constants and assets", "type": "module", "main": "./dist/index.js", diff --git a/packages/sei-global-wallet/CHANGELOG.md b/packages/sei-global-wallet/CHANGELOG.md index 0bd7a1890..8bfdd7ce0 100644 --- a/packages/sei-global-wallet/CHANGELOG.md +++ b/packages/sei-global-wallet/CHANGELOG.md @@ -1,5 +1,36 @@ # @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 flatten `dist/`. Consumers must use ESM `import`. `@sei-js/precompiles` now ships an `exports` map with working `./ethers`, `./viem`, and `./precompiles` subpaths. `@sei-js/sei-global-wallet` keeps the `./solana` entrypoint. + + Install, build, and test with Bun (`bun install`, `bun run build`, `bun run test`). `@sei-js/mcp-server` now 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/precompiles` major. Packages continue to publish to npm via Changesets. + +### Minor Changes + +- 5b4bff7: Harden Sei Global Wallet browser, EIP-6963, and packaging behavior without changing what existing installs resolve. + + New exports: `registerEIP6963Provider`, `unregisterEIP6963Provider`, `eip6963ProviderInfo`, and `registerSolanaStandard`. + + - Raise `@dynamic-labs/global-wallet-client` to `^4.96.3`, so applications inherit Dynamic's transitive fixes without waiting for a release here. + - Initialize Dynamic's required `global` and `process` aliases before loading its modules in browsers and edge-like SSR runtimes, without consumer bundler configuration and without replacing consumer-defined values. `process.env.NODE_ENV` defaults to `production` so libraries loaded afterwards do not take a development branch inside a production bundle. + - Dispatch the initial EIP-6963 announcement, re-announce on every provider request, expose cleanup helpers, use stable UUIDv4 provider metadata, and replace the non-square wordmark with the unmodified square black mark from the official Sei brand kit. + - Keep the root, `./eip6963`, and `./ethereum` entrypoints resolvable with no optional peer installed, including for types. + - Verify real npm and Bun consumers, all five entrypoints, EIP-6963 and Solana registration, ZeroDev resolution, esbuild and Vite browser runtimes, SSR imports, types, audits, and package contents. + + Every optional peer range stays a superset of the 1.4.1 contract, and `@wallet-standard/wallet` stays a direct dependency, so no existing install changes how it resolves. The `events` dependency is present so bundlers can resolve the bare `events` specifier that `@zerodev/sdk` imports; browser builds of the `./zerodev` path fail without it. Dynamic 4.96.3's own peer contract is the version set this release is verified against; it is documented under [Optional peer versions](https://github.com/sei-protocol/sei-js/blob/main/packages/sei-global-wallet/README.md#optional-peer-versions) as guidance rather than enforced through narrowed ranges. + + > [!WARNING] + > This release carries a temporary consumer security waiver: Dynamic transitively pins vulnerable `axios` and `uuid`, and dependency overrides in a library do not propagate to applications. See [Required consumer overrides](https://github.com/sei-protocol/sei-js/blob/main/packages/sei-global-wallet/README.md#required-consumer-overrides) for the exact override blocks and the accepted advisory set. + +### Patch Changes + +- da59b19: Standardize published package contents, licensing, and type resolution. + ## 1.4.1 ### Patch Changes diff --git a/packages/sei-global-wallet/package.json b/packages/sei-global-wallet/package.json index 19d437586..68a0d2d8e 100644 --- a/packages/sei-global-wallet/package.json +++ b/packages/sei-global-wallet/package.json @@ -1,7 +1,7 @@ { "name": "@sei-js/sei-global-wallet", "description": "Sei Global Wallet is a library to support Dynamic Global Wallets", - "version": "1.4.1", + "version": "2.0.0", "repository": { "type": "git", "url": "https://github.com/sei-protocol/sei-js.git",