Remove duplicate ECSignature type def
This commit is contained in:
@@ -2,7 +2,6 @@ import Eth from '@ledgerhq/hw-app-eth';
|
||||
import TransportU2F from '@ledgerhq/hw-transport-u2f';
|
||||
|
||||
import { LedgerEthereumClient } from './types';
|
||||
export { Callback, ErrorCallback, NextCallback } from './types';
|
||||
|
||||
export { EmptyWalletSubprovider } from './subproviders/empty_wallet_subprovider';
|
||||
export { FakeGasEstimateSubprovider } from './subproviders/fake_gas_estimate_subprovider';
|
||||
@@ -13,6 +12,9 @@ export { GanacheSubprovider } from './subproviders/ganache';
|
||||
export { Subprovider } from './subproviders/subprovider';
|
||||
export { NonceTrackerSubprovider } from './subproviders/nonce_tracker';
|
||||
export {
|
||||
Callback,
|
||||
ErrorCallback,
|
||||
NextCallback,
|
||||
ECSignature,
|
||||
LedgerWalletSubprovider,
|
||||
LedgerCommunicationClient,
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import { ECSignature } from '@0xproject/types';
|
||||
import * as _ from 'lodash';
|
||||
import * as Web3 from 'web3';
|
||||
|
||||
export { ECSignature } from '@0xproject/types';
|
||||
|
||||
export interface LedgerCommunicationClient {
|
||||
close: () => Promise<void>;
|
||||
}
|
||||
@@ -29,12 +32,6 @@ export interface ECSignatureString {
|
||||
s: string;
|
||||
}
|
||||
|
||||
export interface ECSignature {
|
||||
v: number;
|
||||
r: string;
|
||||
s: string;
|
||||
}
|
||||
|
||||
export type LedgerEthereumClientFactoryAsync = () => Promise<LedgerEthereumClient>;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user