From 71e7e9c9c3ed89c1c25f46085c0968a62099cb5a Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Mon, 5 Mar 2018 21:07:07 -0500 Subject: Remove old ledger --- packages/subproviders/src/globals.d.ts | 29 ----------------------------- packages/subproviders/src/index.ts | 10 ---------- 2 files changed, 39 deletions(-) (limited to 'packages') diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts index 0c8b3fed3..1a9b2ad61 100644 --- a/packages/subproviders/src/globals.d.ts +++ b/packages/subproviders/src/globals.d.ts @@ -54,35 +54,6 @@ declare module '@ledgerhq/hw-transport-u2f' { } } -declare module 'ledgerco' { - interface comm { - close_async(): Promise; - } - export class comm_node implements comm { - public static create_async(timeoutMilliseconds?: number): Promise; - public close_async(): Promise; - } - export class comm_u2f implements comm { - public static create_async(): Promise; - public close_async(): Promise; - } - export class eth { - public comm: comm; - constructor(comm: comm); - public getAddress_async( - path: string, - display?: boolean, - chaincode?: boolean, - ): Promise<{ publicKey: string; address: string; chainCode: string }>; - public signTransaction_async(path: string, rawTxHex: string): Promise; - public getAppConfiguration_async(): Promise<{ - arbitraryDataEnabled: number; - version: string; - }>; - public signPersonalMessage_async(path: string, messageHex: string): Promise; - } -} - // Semaphore-async-await declarations declare module 'semaphore-async-await' { class Semaphore { diff --git a/packages/subproviders/src/index.ts b/packages/subproviders/src/index.ts index 566743fd0..d296c7be6 100644 --- a/packages/subproviders/src/index.ts +++ b/packages/subproviders/src/index.ts @@ -25,13 +25,3 @@ export async function ledgerEthereumBrowserClientFactoryAsync(): Promise { -// const ledgerConnection = await LedgerNodeCommunication.create_async(); -// const ledgerEthClient = new LedgerEthereumClientFn(ledgerConnection); -// return ledgerEthClient; -// } -- cgit v1.2.3