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

@metamask/keyring-api

Package Overview
Dependencies
Maintainers
12
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/keyring-api - npm Package Versions

123

0.2.4

Diff

Changelog

Source

[0.2.4]

Changed

  • Fix linting and compatibility with older tsc (#108).
metamaskbot
published 0.2.3 •

Changelog

Source

[0.2.3]

Added

  • Add redirection message to snap async response (#102).

Changed

  • Use Omit instead of OmitUnion (#106).
  • Update KeyringResponse comment (#103).
  • Use KeyringRpcMethod enum instead of string (#105).
  • Refactor tests to match superstruct examples (#104).
  • Add exactOptional() superstruct type (#100).
  • Bump @metamask/providers from 11.1.2 to 12.0.0 (#99).
  • Bump @metamask/providers from 11.1.1 to 11.1.2 (#98).
metamaskbot
published 0.2.2 •

Changelog

Source

[0.2.2]

Added

  • Add architecture and EVM methods docs (#86).
  • Add lastSelected and lastActive to metadata (#92).

Changed

  • Make request params optional (#96).
  • Remove lastActive field from internal account model (#95).
  • Move request ID to outer request (#94).
metamaskbot
published 0.2.1 •

Changelog

Source

[0.2.1]

Changed

  • Set snap object keys to be mandatory and move name to metadata (#87).
metamaskbot
published 0.2.0 •

Changelog

Source

[0.2.0]

Added

  • Add InternalAccount type and create submodule internal (#65).
  • Add keyring events and helper functions (#74).
  • Add a redirect field to asynchronous request responses (#75).
  • Add exportAccount method (#60).
  • Add getController to client (#43).

Changed

  • Rename erc4337 -> eip4337 (#42).
  • Make options a mandatory field of KeyringAccount (#30).
  • Make approveRequest and rejectRequest optional (#63).
  • Make exportAccount, listRequests and getRequest optional (#73).
  • Export enums with account methods and types (#66).
  • Make approveRequest accept a result argument (#59).
  • Remove account name from KeyringAccount type (#55).
  • Remove eth_sendTransaction method (#50).
  • Rename supportedMethods to methods (#35).
metamaskbot
published 0.1.3 •

Changelog

Source

[0.1.3]

Changed

  • Downgrade snaps dependencies to 0.35.2-flask.1 (#25).
metamaskbot
published 0.1.2 •

Changelog

Source

[0.1.2]

Changed

  • Update snaps dependencies (#21).
metamaskbot
published 0.1.1 •

Changelog

Source

[0.1.1]

Added

  • Validate snap responses for type correctness (#15).

Changed

  • Rename RPC handling functions (#16).
metamaskbot
published 0.1.0 •

Changelog

Source

[0.1.0] - 2023-06-20

Added

  • Usage examples to README.md.
  • Keyring API definition.
  • JSON-RPC snap keyring client. It is intended to be used by a snap's companion dapp to send requests to the snap.
  • SnapController keyring client. It is intended to be used by MetaMask to talk to the snap.
  • Helper functions to create keyring handler in the snap.
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