Comparing version 4.15.1-dev.1724f35.0 to 4.15.1-dev.6af068f.0
@@ -12,43 +12,22 @@ import { EthExecutionAPI, Bytes, Transaction, KeyStore } from 'web3-types'; | ||
export declare const initAccountsForContext: (context: Web3Context<EthExecutionAPI>) => { | ||
signTransaction: (transaction: Transaction, privateKey: Bytes) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction, privateKey: Bytes) => Promise<import("web3-types").SignTransactionResult>; | ||
create: () => { | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
}; | ||
privateKeyToAccount: (privateKey: Uint8Array | string) => { | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
}; | ||
decrypt: (keystore: KeyStore | string, password: string, options?: Record<string, unknown>) => Promise<{ | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
@@ -58,17 +37,10 @@ }>; | ||
hashMessage: (message: string, skipPrefix?: boolean | undefined) => string; | ||
sign: (data: string, privateKey: Bytes) => import("web3-eth-accounts").SignResult; | ||
recover: (data: string | import("web3-eth-accounts").SignatureObject, signatureOrV?: string | undefined, prefixedOrR?: string | boolean | undefined, s?: string | undefined, prefixed?: boolean | undefined) => string; | ||
sign: (data: string, privateKey: Bytes) => import("web3-types").SignResult; | ||
recover: (data: string | import("web3-types").SignatureObject, signatureOrV?: string | undefined, prefixedOrR?: string | boolean | undefined, s?: string | undefined, prefixed?: boolean | undefined) => string; | ||
encrypt: (privateKey: Bytes, password: string | Uint8Array, options?: import("web3-types").CipherOptions | undefined) => Promise<KeyStore>; | ||
wallet: Wallet<{ | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
@@ -75,0 +47,0 @@ }>; |
@@ -10,2 +10,3 @@ import { Bytes, Transaction } from 'web3-types'; | ||
import { Personal } from 'web3-eth-personal'; | ||
export type { Web3Account, Wallet } from 'web3-eth-accounts'; | ||
/** | ||
@@ -12,0 +13,0 @@ * The Ethereum interface for main web3 object. It provides extra methods in addition to `web3-eth` interface. |
@@ -12,43 +12,22 @@ import { EthExecutionAPI, Bytes, Transaction, KeyStore } from 'web3-types'; | ||
export declare const initAccountsForContext: (context: Web3Context<EthExecutionAPI>) => { | ||
signTransaction: (transaction: Transaction, privateKey: Bytes) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction, privateKey: Bytes) => Promise<import("web3-types").SignTransactionResult>; | ||
create: () => { | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
}; | ||
privateKeyToAccount: (privateKey: Uint8Array | string) => { | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
}; | ||
decrypt: (keystore: KeyStore | string, password: string, options?: Record<string, unknown>) => Promise<{ | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
@@ -58,17 +37,10 @@ }>; | ||
hashMessage: (message: string, skipPrefix?: boolean | undefined) => string; | ||
sign: (data: string, privateKey: Bytes) => import("web3-eth-accounts").SignResult; | ||
recover: (data: string | import("web3-eth-accounts").SignatureObject, signatureOrV?: string | undefined, prefixedOrR?: string | boolean | undefined, s?: string | undefined, prefixed?: boolean | undefined) => string; | ||
sign: (data: string, privateKey: Bytes) => import("web3-types").SignResult; | ||
recover: (data: string | import("web3-types").SignatureObject, signatureOrV?: string | undefined, prefixedOrR?: string | boolean | undefined, s?: string | undefined, prefixed?: boolean | undefined) => string; | ||
encrypt: (privateKey: Bytes, password: string | Uint8Array, options?: import("web3-types").CipherOptions | undefined) => Promise<KeyStore>; | ||
wallet: Wallet<{ | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-eth-accounts").SignTransactionResult>; | ||
signTransaction: (transaction: Transaction) => Promise<import("web3-types").SignTransactionResult>; | ||
address: string; | ||
privateKey: string; | ||
sign: (data: string | Record<string, unknown>) => { | ||
readonly messageHash: string; | ||
readonly r: string; | ||
readonly s: string; | ||
readonly v: string; | ||
readonly message?: string | undefined; | ||
readonly signature: string; | ||
}; | ||
sign: (data: string | Record<string, unknown>) => import("web3-types").SignResult; | ||
encrypt: (password: string, options?: Record<string, unknown> | undefined) => Promise<KeyStore>; | ||
@@ -75,0 +47,0 @@ }>; |
@@ -10,2 +10,3 @@ import { Bytes, Transaction } from 'web3-types'; | ||
import { Personal } from 'web3-eth-personal'; | ||
export type { Web3Account, Wallet } from 'web3-eth-accounts'; | ||
/** | ||
@@ -12,0 +13,0 @@ * The Ethereum interface for main web3 object. It provides extra methods in addition to `web3-eth` interface. |
{ | ||
"name": "web3", | ||
"version": "4.15.1-dev.1724f35.0+1724f35", | ||
"version": "4.15.1-dev.6af068f.0+6af068f", | ||
"description": "Ethereum JavaScript API", | ||
@@ -86,24 +86,24 @@ "main": "./lib/commonjs/index.js", | ||
"typescript": "^4.7.4", | ||
"web3-providers-ipc": "4.0.8-dev.1724f35.0+1724f35" | ||
"web3-providers-ipc": "4.0.8-dev.6af068f.0+6af068f" | ||
}, | ||
"dependencies": { | ||
"web3-core": "4.7.1-dev.1724f35.0+1724f35", | ||
"web3-errors": "1.3.1-dev.1724f35.0+1724f35", | ||
"web3-eth": "4.11.1-dev.1724f35.0+1724f35", | ||
"web3-eth-abi": "4.4.1-dev.1724f35.0+1724f35", | ||
"web3-eth-accounts": "4.3.1-dev.1724f35.0+1724f35", | ||
"web3-eth-contract": "4.7.2-dev.1724f35.0+1724f35", | ||
"web3-eth-ens": "4.4.1-dev.1724f35.0+1724f35", | ||
"web3-eth-iban": "4.0.8-dev.1724f35.0+1724f35", | ||
"web3-eth-personal": "4.1.1-dev.1724f35.0+1724f35", | ||
"web3-net": "4.1.1-dev.1724f35.0+1724f35", | ||
"web3-providers-http": "4.2.1-dev.1724f35.0+1724f35", | ||
"web3-providers-ws": "4.0.9-dev.1724f35.0+1724f35", | ||
"web3-rpc-methods": "1.3.1-dev.1724f35.0+1724f35", | ||
"web3-rpc-providers": "1.0.0-dev.1724f35.0+1724f35", | ||
"web3-types": "1.9.1-dev.1724f35.0+1724f35", | ||
"web3-utils": "4.3.3-dev.1724f35.0+1724f35", | ||
"web3-validator": "2.0.7-dev.1724f35.0+1724f35" | ||
"web3-core": "4.7.1-dev.6af068f.0+6af068f", | ||
"web3-errors": "1.3.1-dev.6af068f.0+6af068f", | ||
"web3-eth": "4.11.1-dev.6af068f.0+6af068f", | ||
"web3-eth-abi": "4.4.1-dev.6af068f.0+6af068f", | ||
"web3-eth-accounts": "4.3.1-dev.6af068f.0+6af068f", | ||
"web3-eth-contract": "4.7.2-dev.6af068f.0+6af068f", | ||
"web3-eth-ens": "4.4.1-dev.6af068f.0+6af068f", | ||
"web3-eth-iban": "4.0.8-dev.6af068f.0+6af068f", | ||
"web3-eth-personal": "4.1.1-dev.6af068f.0+6af068f", | ||
"web3-net": "4.1.1-dev.6af068f.0+6af068f", | ||
"web3-providers-http": "4.2.1-dev.6af068f.0+6af068f", | ||
"web3-providers-ws": "4.0.9-dev.6af068f.0+6af068f", | ||
"web3-rpc-methods": "1.3.1-dev.6af068f.0+6af068f", | ||
"web3-rpc-providers": "1.0.0-dev.6af068f.0+6af068f", | ||
"web3-types": "1.9.1-dev.6af068f.0+6af068f", | ||
"web3-utils": "4.3.3-dev.6af068f.0+6af068f", | ||
"web3-validator": "2.0.7-dev.6af068f.0+6af068f" | ||
}, | ||
"gitHead": "1724f3542ccfe3c17af9e14b93da72a2f65d959e" | ||
"gitHead": "6af068fa5982f0e487146fc61a8c1e4032fc5dca" | ||
} |
@@ -45,2 +45,4 @@ /* | ||
export type { Web3Account, Wallet } from 'web3-eth-accounts'; | ||
/** | ||
@@ -47,0 +49,0 @@ * The Ethereum interface for main web3 object. It provides extra methods in addition to `web3-eth` interface. |
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
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
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
3456143
6010