Cleanup web3-wrapper and subproviders index.ts

This commit is contained in:
Fabio Berger
2018-08-20 13:50:28 +01:00
parent d149b6cdec
commit b4cf69b021
2 changed files with 26 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
import Eth from '@ledgerhq/hw-app-eth';
import TransportU2F from '@ledgerhq/hw-transport-u2f';
import { LedgerEthereumClient } from './types';
export import Web3ProviderEngine = require('web3-provider-engine');
import { LedgerEthereumClient } from './types';
/**
* A factory method for creating a LedgerEthereumClient usable in a browser context.
* @return LedgerEthereumClient A browser client for the LedgerSubprovider
@@ -38,12 +38,13 @@ export {
NonceSubproviderErrors,
LedgerSubproviderConfigs,
PartialTxParams,
DerivedHDKeyInfo,
JSONRPCRequestPayloadWithMethod,
ECSignatureString,
AccountFetchingConfigs,
LedgerEthereumClientFactoryAsync,
OnNextCompleted,
MnemonicWalletSubproviderConfigs,
LedgerGetAddressResult,
} from './types';
export { ECSignature } from '@0xproject/types';

View File

@@ -1,6 +1,8 @@
export { Web3Wrapper } from './web3_wrapper';
export { marshaller } from './marshaller';
export { AbiDecoder } from '@0xproject/utils';
export {
BlockParam,
TxData,
@@ -18,18 +20,35 @@ export {
LogTopic,
JSONRPCRequestPayload,
TransactionReceiptStatus,
LogWithDecodedArgs,
DecodedLogArgs,
StructLog,
JSONRPCErrorCallback,
BlockParamLiteral,
ContractEventArg,
DecodedLogEntry,
LogEntryEvent,
OpCode,
TxDataPayable,
JSONRPCResponsePayload,
RawLogEntry,
DecodedLogEntryEvent,
LogWithDecodedArgs,
AbiDefinition,
RawLog,
FunctionAbi,
EventAbi,
EventParameter,
MethodAbi,
ConstructorAbi,
FallbackAbi,
DataItem,
ConstructorStateMutability,
StateMutability,
} from 'ethereum-types';
export {
Web3WrapperErrors,
NodeType,
CallDataRPC,
CallTxDataBaseRPC,
AbstractBlockRPC,
BlockWithoutTransactionDataRPC,
BlockWithTransactionDataRPC,
TransactionRPC,