Remove web3Factory.create and remove dev-tools dependency on sol-cov
This commit is contained in:
		| @@ -1,8 +1,12 @@ | ||||
| declare module 'web3-provider-engine' { | ||||
|     class Web3ProviderEngine { | ||||
|     import { Provider, JSONRPCRequestPayload, JSONRPCResponsePayload } from '@0xproject/types'; | ||||
|     class Web3ProviderEngine implements Provider { | ||||
|         public on(event: string, handler: () => void): void; | ||||
|         public send(payload: any): void; | ||||
|         public sendAsync(payload: any, callback: (error: any, response: any) => void): void; | ||||
|         public send(payload: JSONRPCRequestPayload): void; | ||||
|         public sendAsync( | ||||
|             payload: JSONRPCRequestPayload, | ||||
|             callback: (error: null | Error, response: JSONRPCResponsePayload) => void, | ||||
|         ): void; | ||||
|         public addProvider(provider: any): void; | ||||
|         public start(): void; | ||||
|         public stop(): void; | ||||
| @@ -19,13 +23,13 @@ declare module 'web3-provider-engine/subproviders/subprovider' { | ||||
|     export = Subprovider; | ||||
| } | ||||
| declare module 'web3-provider-engine/subproviders/rpc' { | ||||
|     import { JSONRPCRequestPayload } from '@0xproject/types'; | ||||
|     import { JSONRPCRequestPayload, JSONRPCResponsePayload } from '@0xproject/types'; | ||||
|     class RpcSubprovider { | ||||
|         constructor(options: { rpcUrl: string }); | ||||
|         public handleRequest( | ||||
|             payload: JSONRPCRequestPayload, | ||||
|             next: () => void, | ||||
|             end: (err: Error | null, data?: any) => void, | ||||
|             end: (err: Error | null, data?: JSONRPCResponsePayload) => void, | ||||
|         ): void; | ||||
|     } | ||||
|     export = RpcSubprovider; | ||||
| @@ -37,13 +41,13 @@ declare module 'web3-provider-engine/util/rpc-cache-utils' { | ||||
|     export = ProviderEngineRpcUtils; | ||||
| } | ||||
| declare module 'web3-provider-engine/subproviders/fixture' { | ||||
|     import { JSONRPCRequestPayload } from '@0xproject/types'; | ||||
|     import { JSONRPCRequestPayload, JSONRPCResponsePayload } from '@0xproject/types'; | ||||
|     class FixtureSubprovider { | ||||
|         constructor(staticResponses: any); | ||||
|         public handleRequest( | ||||
|             payload: JSONRPCRequestPayload, | ||||
|             next: () => void, | ||||
|             end: (err: Error | null, data?: any) => void, | ||||
|             end: (err: Error | null, data?: JSONRPCResponsePayload) => void, | ||||
|         ): void; | ||||
|     } | ||||
|     export = FixtureSubprovider; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user