Skip to content

chore: release agent-wallet 3.1.0 - #26

Open
boboliu-1010 wants to merge 5 commits into
BofAI:mainfrom
boboliu-1010:release_v3.1.0
Open

boboliu-1010 wants to merge 5 commits into
BofAI:mainfrom
boboliu-1010:release_v3.1.0

Conversation

@boboliu-1010

Copy link
Copy Markdown

Prepare @bankofai/agent-wallet 3.1.0 with native Zod 4 support, patched WebSocket dependencies, and matching ESM/CommonJS type declarations. Update the package version, READMEs, and changelog for the stable release.

  • Upgrade Zod to ^4.6.6 (locked to 4.6.7). Caller-defined WalletCliClient.run data schemas must use Zod 4. Wallet configuration formats and defaults are preserved.
  • Raise viem to ^2.54.2 and the TronWeb development dependency to ^6.5.0. Both dependency chains resolve ws@8.21.0, addressing fragment/chunk memory exhaustion and TypedArray close-reason memory disclosure.
  • Provide matching ESM/CommonJS declarations for every public entry point and validate packed-package consumers.
  • Require Node.js ^22.23.4 || ^24.22.1 || >=26.12.1.

Validation

Verified locally on Node.js 24.22.1:

  • Frozen-lockfile installation, lint, build, CJS entry-point checks, and formatting checks passed.
  • 364 tests passed; 2 optional real-wallet-cli integration tests were skipped. Coverage thresholds passed.
  • Packed ESM/CommonJS consumers passed strict Node16/NodeNext type checks with skipLibCheck: false and Zod 4.6.6, plus runtime checks.
  • Production dependency audits passed for both the repository and the clean packed-package consumer. This does not cover development dependencies.
  • Added bounded-schema regressions and 14 WebSocket security/control tests.
  • npm publish dry-run passed for version 3.1.0; the normalized manifest preserves the agent-wallet CLI entry point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants