Skip to content

Releases: MetaMask/utils

11.8.1

24 Sep 12:11
339faae

Choose a tag to compare

Changed

  • Replace superstruct.is with faster regex checks for isCaip* functions (#270)
    • Those calls were slow especially on our mobile client.

11.8.0

12 Sep 11:20
40ed2bd

Choose a tag to compare

Added

  • Add areUint8ArraysEqual function to compare two Uint8Array types (#268)

11.7.0

02 Sep 14:18
486ea89

Choose a tag to compare

Added

  • Add Tron CAIP namespace (#266)

Fixed

  • Fix API docs generation (#264)

11.6.0

28 Aug 18:06
758b1d1

Choose a tag to compare

Added

  • Migrate units conversion utils from @metamask/ethjs-unit (#255)

Changed

  • Make KnownCaipNamespacedChainId type generic over Namespace type parameter (#262)

11.5.0

26 Aug 12:46
66f825d

Choose a tag to compare

Added

  • Add KnownCaipNamespacedChainId type as narrower subtype of CaipChainId (#258)

Changed

  • Add lodash and @types/lodash as dependencies (#253, #257)

Removed

  • Remove lodash.memoize (dependency) and @types/lodash.memoize (devDependency) (#253).

11.4.2

02 Jul 08:24
1bea7f3

Choose a tag to compare

Fixed

  • Improve performance of isValidChecksumAddress and isValidHexAddress functions (#248)

11.4.1

30 Jun 12:21
33629cb

Choose a tag to compare

Fixed

  • Improve performance of getChecksumAddress function (#246)

11.4.0

02 Apr 17:05
7c9d3a2

Choose a tag to compare

Changed

  • Deprecate local exactOptional implementation (#244)
    • Use the one from @metamask/superstruct@>=3.2.0 instead.

11.3.0

13 Mar 21:41
55b22a7

Choose a tag to compare

Added

  • Add default JSON-RPC generics that extend Json to Json (#241)

Changed

  • Deprecate Keyring types (#236)
    • These should now be imported from @metamask/keyring-utils.

11.2.0

11 Feb 14:44
7994643

Choose a tag to compare

Added

  • Add optional signEip7702Authorization method to Keyring type (#231)