Socket
Socket
Sign inDemoInstall

@metamask/utils

Package Overview
Dependencies
Maintainers
12
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/utils - npm Package Versions

134

8.0.0

Diff

Changelog

Source

[8.0.0]

Changed

  • BREAKING: JsonRpcParams type no longer accepts undefined as value, as undefined is not a valid JSON type (#130)
metamaskbot
published 7.1.0 •

Changelog

Source

[7.1.0]

Added

  • Add CAIP-2 and CAIP-10 types (#116)
metamaskbot
published 7.0.0 •

Changelog

Source

[7.0.0]

Added

  • Add getKnownPropertyNames function (#111)

Changed

  • BREAKING: Build the package as both CJS and ESM (#115, #124)
    • It's no longer possible to import from the dist folder. Everything must be imported from @metamask/utils.
  • Bump semver to ^7.5.4 (#123)
metamaskbot
published 6.2.0 •

Changelog

Source

[6.2.0]

Added

  • Add address related utils (#112)
    • isValidHexAddress has been added to check the validity of an hex address
    • getChecksumAddress has been added to calculate the ERC-55 mixed-case checksum of an hex address
    • isValidChecksumAddress has been added to check the validity of an ERC-55 mixed-case checksum address
metamaskbot
published 6.1.0 •

Changelog

Source

[6.1.0]

Added

  • Add optional destroy method to Keyring type (#108)
metamaskbot
published 6.0.1 •

Changelog

Source

[6.0.1]

Fixed

  • Strip __proto__ and constructor JSON properties in getSafeJson (#105)
metamaskbot
published 6.0.0 •

Changelog

Source

[6.0.0]

Changed

  • BREAKING: Bump minimum Node version to 16 (#102)
  • BREAKING: Target ES2020 (#102)

Fixed

  • Fix JSON validation security issue (#103)
    • This adds a new function getSafeJson which validates and returns sanitized JSON.
metamaskbot
published 5.0.2 •

Changelog

Source

[5.0.2]

Changed

  • The Keyring exposes a new optional method init (#99)

Fixed

  • Bump @ethereumjs/tx to 4.1.2 to address runtime compatibility issues (#100)
metamaskbot
published 5.0.1 •

Changelog

Source

[5.0.1]

Fixed

  • Keep original type when using hasProperty if defined (#94)
metamaskbot
published 5.0.0 •

Changelog

Source

[5.0.0]

Changed

  • BREAKING: Update Keyring type (#89)
    • The Keyring class now uses the data types TypedTransaction and TxData from @ethereumjs/tx (v4.1.1).
    • The Keyring now exposes a new optional method called generateRandomMnemonic.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc