Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/rpc-errors

Package Overview
Dependencies
Maintainers
11
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/rpc-errors - npm Package Versions

2

7.0.1

Diff

Changelog

Source

[7.0.1]

Changed

  • Bump @metamask/utils from ^9.0.0 to ^10.0.0 (#161)
metamaskbot
published 7.0.0 •

Changelog

Source

[7.0.0]

Changed

  • BREAKING: Preserve original messages during error serialization by default (#158)
    • The behavior introduced in 5.0.0 of overwriting the original message is available by passing shouldPreserveMessage: false to serializeError().
  • BREAKING: Bump minimum Node.js version from 16 to 18 (#154)
metamaskbot
published 6.4.0 •

Changelog

Source

[6.4.0]

Changed

  • Migrate to ts-bridge (#152)
    • Migrates to ts-bridge from tsup, which may resolve issues when importing this package in CommonJS or ESM.
metamaskbot
published 6.3.1 •

Changelog

Source

[6.3.1]

Changed

  • Bump @metamask/utils from ^8.3.0 to ^9.0.0 (#147)
metamaskbot
published 6.3.0 •

Changelog

Source

[6.3.0]

Added

  • Expose error causes as cause property (#140)
    • JsonRpcError objects already had a .data.cause property. It is now exposed as .cause in order to to be recognized as ES Causes.
lgbot
published 6.3.0-rc1 •

metamaskbot
published 6.2.1 •

Changelog

Source

[6.2.1]

Fixed

  • Export OptionalDataWithOptionalCause type (#135)
metamaskbot
published 6.2.0 •

Changelog

Source

[6.2.0]

Added

  • Add ESM build (#133)

Changed

  • Update @metamask/utils from ^8.1.0 to ^8.3.0 (#133)
metamaskbot
published 6.1.0 •

Changelog

Source

[6.1.0]

Changed

  • Update dependency @metamask/utils from ^8.0.0 to ^8.1.0 (#108)

Fixed

  • Exclude dist/__fixtures__ files from published package (#114)
metamaskbot
published 6.0.0 •

Changelog

Source

[6.0.0]

Changed

  • Make Data type-parameter optional in JsonRpcError (#102)

Fixed

  • BREAKING: undefined is now not recognized as valid JSON value
    • Update dependency @metamask/utils from ^5.0.0 to ^8.0.0 (#101)
2
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