@metamask/utils
Advanced tools
Comparing version 4.0.0 to 5.0.0
@@ -0,5 +1,5 @@ | ||
import type { TypedTransaction, TxData } from '@ethereumjs/tx'; | ||
import type { Eip1024EncryptedData } from './encryption-types'; | ||
import { Hex } from './hex'; | ||
import { Json } from './json'; | ||
import type { Transaction, SignedTransaction } from './transaction-types'; | ||
/** | ||
@@ -122,3 +122,3 @@ * A Keyring class. | ||
*/ | ||
signTransaction?(address: Hex, transaction: Transaction, options?: Record<string, unknown>): Promise<SignedTransaction>; | ||
signTransaction?(address: Hex, transaction: TypedTransaction, options?: Record<string, unknown>): Promise<TxData>; | ||
/** | ||
@@ -211,2 +211,7 @@ * Sign a message. This is equivalent to an older version of the the | ||
decryptMessage?(account: Hex, encryptedData: Eip1024EncryptedData): Promise<string>; | ||
/** | ||
* Generates the properties for the keyring based on the given | ||
* BIP39-compliant mnemonic. | ||
*/ | ||
generateRandomMnemonic?(): void; | ||
}; |
{ | ||
"name": "@metamask/utils", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase.", | ||
@@ -33,2 +33,3 @@ "repository": { | ||
"dependencies": { | ||
"@ethereumjs/tx": "^4.1.1", | ||
"@types/debug": "^4.1.7", | ||
@@ -35,0 +36,0 @@ "debug": "^4.3.4", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
241130
3222
5
+ Added@ethereumjs/tx@^4.1.1
+ Added@ethereumjs/common@3.2.0(transitive)
+ Added@ethereumjs/rlp@4.0.1(transitive)
+ Added@ethereumjs/tx@4.2.0(transitive)
+ Added@ethereumjs/util@8.1.0(transitive)
+ Added@noble/curves@1.4.2(transitive)
+ Added@noble/hashes@1.4.0(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip32@1.4.0(transitive)
+ Added@scure/bip39@1.3.0(transitive)
+ Addedcrc-32@1.2.2(transitive)
+ Addedethereum-cryptography@2.2.1(transitive)
+ Addedmicro-ftch@0.3.1(transitive)