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

@metamask/keyring-controller

Package Overview
Dependencies
Maintainers
12
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/keyring-controller - npm Package Compare versions

Comparing version 8.0.2 to 8.0.3

8

CHANGELOG.md

@@ -9,2 +9,7 @@ # Changelog

## [8.0.3]
### Changed
- `signTransaction` now accepts an optional `opts: Record<string, unknown>` argument to support `signTransaction` from `Keyring` type ([#1789](https://github.com/MetaMask/core/pull/1789))
- Bump dependency and peer dependency on `@metamask/preferences-controller` to ^4.4.3
## [8.0.2]

@@ -217,3 +222,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.0.2...HEAD
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.0.3...HEAD
[8.0.3]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.0.2...@metamask/keyring-controller@8.0.3
[8.0.2]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.0.1...@metamask/keyring-controller@8.0.2

@@ -220,0 +226,0 @@ [8.0.1]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@8.0.0...@metamask/keyring-controller@8.0.1

3

dist/KeyringController.d.ts

@@ -361,5 +361,6 @@ import type { TxData, TypedTransaction } from '@ethereumjs/tx';

* @param from - Address to sign from, should be in keychain.
* @param opts - An optional options object.
* @returns Promise resolving to a signed transaction string.
*/
signTransaction(transaction: TypedTransaction, from: string): Promise<TxData>;
signTransaction(transaction: TypedTransaction, from: string, opts?: Record<string, unknown>): Promise<TxData>;
/**

@@ -366,0 +367,0 @@ * Attempts to decrypt the current vault and load its keyrings,

@@ -561,6 +561,7 @@ "use strict";

* @param from - Address to sign from, should be in keychain.
* @param opts - An optional options object.
* @returns Promise resolving to a signed transaction string.
*/
signTransaction(transaction, from) {
return __classPrivateFieldGet(this, _KeyringController_keyring, "f").signTransaction(transaction, from);
signTransaction(transaction, from, opts) {
return __classPrivateFieldGet(this, _KeyringController_keyring, "f").signTransaction(transaction, from, opts);
}

@@ -567,0 +568,0 @@ /**

{
"name": "@metamask/keyring-controller",
"version": "8.0.2",
"version": "8.0.3",
"description": "Stores identities seen in the wallet and manages interactions such as signing",

@@ -36,3 +36,3 @@ "keywords": [

"@metamask/message-manager": "^7.3.5",
"@metamask/preferences-controller": "^4.4.2",
"@metamask/preferences-controller": "^4.4.3",
"@metamask/utils": "^8.1.0",

@@ -62,3 +62,3 @@ "async-mutex": "^0.2.6",

"peerDependencies": {
"@metamask/preferences-controller": "^4.4.2"
"@metamask/preferences-controller": "^4.4.3"
},

@@ -65,0 +65,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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