Skip to content

Commit

Permalink
fix provider imports
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aboelenein committed Feb 20, 2024
1 parent d3be775 commit cc6476a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
9 changes: 0 additions & 9 deletions src/request/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ export interface RpcErrorResponse<TError extends RpcError = RpcError> {
error: TError;
}

const x: RpcErrorResponse = {
error: {
code: RpcErrorCode.INTERNAL_ERROR,
id: 200,
jsonrpc: '2.0',
message: 'Faulty Transaction',
},
};

export interface Method<T, U> {
request: T;
response: U;
Expand Down

0 comments on commit cc6476a

Please sign in to comment.