web3-eth-accounts
Advanced tools
Comparing version 4.3.0 to 4.3.1-dev.2011192.0
@@ -1,3 +0,3 @@ | ||
import { Address, Bytes, CipherOptions, HexString, KeyStore } from 'web3-types'; | ||
import type { SignatureObject, SignTransactionResult, TypedTransaction, Web3Account, SignResult } from './types.js'; | ||
import { Address, Bytes, CipherOptions, HexString, KeyStore, SignatureObject, SignResult, SignTransactionResult } from 'web3-types'; | ||
import type { TypedTransaction, Web3Account } from './types.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Get the private key Uint8Array after the validation. |
@@ -1,20 +0,4 @@ | ||
import { Web3BaseWalletAccount, HexString } from 'web3-types'; | ||
import { FeeMarketEIP1559TxData, AccessListEIP2930TxData, TxData } from './tx/types.js'; | ||
import { HexString, SignatureObject, SignResult, SignTransactionResult, Web3BaseWalletAccount } from 'web3-types'; | ||
import { AccessListEIP2930Transaction, FeeMarketEIP1559Transaction, Transaction } from './tx'; | ||
export declare type SignatureObject = { | ||
messageHash: string; | ||
r: string; | ||
s: string; | ||
v: string; | ||
}; | ||
export declare type SignTransactionResult = SignatureObject & { | ||
rawTransaction: string; | ||
transactionHash: string; | ||
}; | ||
export declare type SignTransactionFunction = (transaction: TxData | AccessListEIP2930TxData | FeeMarketEIP1559TxData | Record<string, unknown>) => SignTransactionResult; | ||
export declare type SignResult = SignatureObject & { | ||
message?: string; | ||
signature: string; | ||
}; | ||
export declare type SignFunction = (data: string, privateKey: string) => SignResult; | ||
export { SignatureObject, SignResult, SignTransactionResult }; | ||
export interface Web3Account extends Web3BaseWalletAccount { | ||
@@ -21,0 +5,0 @@ address: HexString; |
@@ -1,3 +0,3 @@ | ||
import { Address, Bytes, CipherOptions, HexString, KeyStore } from 'web3-types'; | ||
import type { SignatureObject, SignTransactionResult, TypedTransaction, Web3Account, SignResult } from './types.js'; | ||
import { Address, Bytes, CipherOptions, HexString, KeyStore, SignatureObject, SignResult, SignTransactionResult } from 'web3-types'; | ||
import type { TypedTransaction, Web3Account } from './types.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Get the private key Uint8Array after the validation. |
@@ -1,20 +0,4 @@ | ||
import { Web3BaseWalletAccount, HexString } from 'web3-types'; | ||
import { FeeMarketEIP1559TxData, AccessListEIP2930TxData, TxData } from './tx/types.js'; | ||
import { HexString, SignatureObject, SignResult, SignTransactionResult, Web3BaseWalletAccount } from 'web3-types'; | ||
import { AccessListEIP2930Transaction, FeeMarketEIP1559Transaction, Transaction } from './tx'; | ||
export declare type SignatureObject = { | ||
messageHash: string; | ||
r: string; | ||
s: string; | ||
v: string; | ||
}; | ||
export declare type SignTransactionResult = SignatureObject & { | ||
rawTransaction: string; | ||
transactionHash: string; | ||
}; | ||
export declare type SignTransactionFunction = (transaction: TxData | AccessListEIP2930TxData | FeeMarketEIP1559TxData | Record<string, unknown>) => SignTransactionResult; | ||
export declare type SignResult = SignatureObject & { | ||
message?: string; | ||
signature: string; | ||
}; | ||
export declare type SignFunction = (data: string, privateKey: string) => SignResult; | ||
export { SignatureObject, SignResult, SignTransactionResult }; | ||
export interface Web3Account extends Web3BaseWalletAccount { | ||
@@ -21,0 +5,0 @@ address: HexString; |
{ | ||
"name": "web3-eth-accounts", | ||
"version": "4.3.0", | ||
"version": "4.3.1-dev.2011192.0+2011192", | ||
"description": "Package for managing Ethereum accounts and signing", | ||
@@ -58,3 +58,3 @@ "main": "./lib/commonjs/index.js", | ||
"typescript": "^4.7.4", | ||
"web3-providers-ipc": "^4.0.7" | ||
"web3-providers-ipc": "4.0.8-dev.2011192.0+2011192" | ||
}, | ||
@@ -65,8 +65,8 @@ "dependencies": { | ||
"ethereum-cryptography": "^2.0.0", | ||
"web3-errors": "^1.3.0", | ||
"web3-types": "^1.9.0", | ||
"web3-utils": "^4.3.2", | ||
"web3-validator": "^2.0.6" | ||
"web3-errors": "1.3.1-dev.2011192.0+2011192", | ||
"web3-types": "1.9.1-dev.2011192.0+2011192", | ||
"web3-utils": "4.3.3-dev.2011192.0+2011192", | ||
"web3-validator": "2.0.7-dev.2011192.0+2011192" | ||
}, | ||
"gitHead": "34ea1b2dd18a8aa21156f0447ab51818c78ef93e" | ||
"gitHead": "2011192f92218aa1572f2c711f38866eba92f844" | ||
} |
@@ -72,2 +72,5 @@ /* | ||
ScryptParams, | ||
SignatureObject, | ||
SignResult, | ||
SignTransactionResult, | ||
Transaction, | ||
@@ -94,9 +97,3 @@ } from 'web3-types'; | ||
import { TransactionFactory } from './tx/transactionFactory.js'; | ||
import type { | ||
SignatureObject, | ||
SignTransactionResult, | ||
TypedTransaction, | ||
Web3Account, | ||
SignResult, | ||
} from './types.js'; | ||
import type { TypedTransaction, Web3Account } from './types.js'; | ||
@@ -103,0 +100,0 @@ /** |
@@ -18,35 +18,13 @@ /* | ||
import { Web3BaseWalletAccount, HexString } from 'web3-types'; | ||
import { FeeMarketEIP1559TxData, AccessListEIP2930TxData, TxData } from './tx/types.js'; | ||
import { | ||
HexString, | ||
SignatureObject, | ||
SignResult, | ||
SignTransactionResult, | ||
Web3BaseWalletAccount, | ||
} from 'web3-types'; | ||
import { AccessListEIP2930Transaction, FeeMarketEIP1559Transaction, Transaction } from './tx'; | ||
export type SignatureObject = { | ||
messageHash: string; | ||
r: string; | ||
s: string; | ||
v: string; | ||
}; | ||
export { SignatureObject, SignResult, SignTransactionResult }; | ||
export type SignTransactionResult = SignatureObject & { | ||
rawTransaction: string; | ||
transactionHash: string; | ||
}; | ||
export type SignTransactionFunction = ( | ||
transaction: | ||
| TxData | ||
| AccessListEIP2930TxData | ||
| FeeMarketEIP1559TxData | ||
| Record<string, unknown>, | ||
) => SignTransactionResult; | ||
export type SignResult = SignatureObject & { | ||
message?: string; | ||
signature: string; | ||
}; | ||
export type SignFunction = (data: string, privateKey: string) => SignResult; | ||
// https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition | ||
export interface Web3Account extends Web3BaseWalletAccount { | ||
@@ -53,0 +31,0 @@ address: HexString; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
1356116
29377
2
1
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedeventemitter3@5.0.1(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arguments@1.1.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedutil@0.12.5(transitive)
- Removedweb3-errors@1.3.0(transitive)
- Removedweb3-types@1.9.0(transitive)
- Removedweb3-utils@4.3.2(transitive)
- Removedweb3-validator@2.0.6(transitive)
- Removedwhich-typed-array@1.1.15(transitive)
- Removedzod@3.23.8(transitive)