# What changed in @metamask/wallet

> 10 changes in @metamask/wallet 1247 to 1255 from its official release notes, upgrade guides and advisories: 3 breaking, 7 new APIs and options. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/@metamask/wallet/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @metamask/wallet 1255

### New APIs and options

- Exports the default distinct-address cap used during signature address extraction. (1255.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1255.0.0)
- Adds a type for the results returned when collecting address-typed values from an EIP-712 message. (1255.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1255.0.0)
- Adds a utility to collect address-typed values from EIP-712 messages for real-time scanning, with normalization, exclusions, bounded traversal, overflow reporting, and field-name attribution. (1255.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1255.0.0)
- Adds an options type for configuring address extraction, including exclusions and the address limit. (1255.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1255.0.0)
- Exports the hard ceiling for the distinct-address cap during signature address extraction. (1255.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1255.0.0)

## @metamask/wallet 1247

### Breaking changes

- The package is now ESM-only; CommonJS projects can use require(esm) in Node.js 22+ or dynamic imports in older Node.js versions. (1247.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1247.0.0)
- The minimum supported Node.js version is now 22. (1247.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1247.0.0)
- The package now ships ES2022 code, requiring a compatible modern environment or bundler configuration to consume. (1247.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1247.0.0)

### New APIs and options

- Adds a mock that can substitute for InternalProvider in tests, assert requests, and inject canned responses. (1247.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1247.0.0)
- Adds the MockInternalProviderStub type for use with the new mock provider. (1247.0.0) — [release notes](https://github.com/MetaMask/core/releases/tag/v1247.0.0)
