MetaMask / eth-snap-keyring

Snap Keyring bridge
6 stars 2 forks source link

Replace `superstruct` with ESM-compatible fork `@metamask/superstruct` #310

Closed MajorLift closed 1 month ago

MajorLift commented 3 months ago

Explanation

As part of the Wallet Framework Team's OKR (Q2 2024 O3KR4) for upgrading TypeScript to v5.0+ in the core monorepo, we are updating dependencies of the core repo so that they generate builds and type declarations for both CJS and ESM.

This requirement applies to nested dependencies as well, so we are also replacing superstruct with the ESM-compatible fork @metamask/superstruct in all core dependency packages.

Description

References