From e06b97a498e2d9331fd24aa892a360ec06b6edbb Mon Sep 17 00:00:00 2001 From: Daniel Rocha <68558152+danroc@users.noreply.github.com> Date: Fri, 7 Jul 2023 16:08:31 +0200 Subject: [PATCH] chore: rename files for consistency --- src/index.ts | 2 +- src/{rpc-dispatcher.test.ts => rpc-handler.test.ts} | 2 +- src/{rpc-dispatcher.ts => rpc-handler.ts} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{rpc-dispatcher.test.ts => rpc-handler.test.ts} (99%) rename src/{rpc-dispatcher.ts => rpc-handler.ts} (100%) diff --git a/src/index.ts b/src/index.ts index bcece2625..8b4719024 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ export * from './api'; export * from './KeyringClient'; -export * from './rpc-dispatcher'; +export * from './rpc-handler'; export * from './KeyringSnapControllerClient'; export * from './KeyringSnapRpcClient'; diff --git a/src/rpc-dispatcher.test.ts b/src/rpc-handler.test.ts similarity index 99% rename from src/rpc-dispatcher.test.ts rename to src/rpc-handler.test.ts index 7f04a102b..6afca64f5 100644 --- a/src/rpc-dispatcher.test.ts +++ b/src/rpc-handler.test.ts @@ -3,7 +3,7 @@ import { MethodNotSupportedError, buildHandlersChain, handleKeyringRequest, -} from './rpc-dispatcher'; +} from './rpc-handler'; describe('buildHandlersChain', () => { const handler1 = jest.fn(); diff --git a/src/rpc-dispatcher.ts b/src/rpc-handler.ts similarity index 100% rename from src/rpc-dispatcher.ts rename to src/rpc-handler.ts