From cc6476aaab55151f356d5c7d0cf3c27676c0964f Mon Sep 17 00:00:00 2001 From: Mahmoud Aboelenein Date: Tue, 20 Feb 2024 09:44:50 +0700 Subject: [PATCH] fix provider imports --- src/index.ts | 2 +- src/request/types.ts | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/index.ts b/src/index.ts index af9ae3e..bf490a7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ export * from './request'; export * from './capabilities'; export * from './inscriptions'; export * from './messages'; -export { getProviderById, getProviders, WebbtcProvider, BitcoinProvider } from './provider'; +export * from './provider'; export * from './transactions'; export * from './types'; export * from './listen'; diff --git a/src/request/types.ts b/src/request/types.ts index f44e62a..30b9ff2 100644 --- a/src/request/types.ts +++ b/src/request/types.ts @@ -28,15 +28,6 @@ export interface RpcErrorResponse { error: TError; } -const x: RpcErrorResponse = { - error: { - code: RpcErrorCode.INTERNAL_ERROR, - id: 200, - jsonrpc: '2.0', - message: 'Faulty Transaction', - }, -}; - export interface Method { request: T; response: U;