From bdb5eb674f1ceeac9a24314c07763b8c57784108 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Mon, 1 Jul 2024 13:11:35 -0400 Subject: [PATCH] Linter fixes --- src/rpc-handler.ts | 2 +- src/rpc-types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpc-handler.ts b/src/rpc-handler.ts index 433bdad..3c4f51c 100644 --- a/src/rpc-handler.ts +++ b/src/rpc-handler.ts @@ -1,6 +1,6 @@ +import { assert } from '@metamask/superstruct'; import { JsonRpcRequestStruct } from '@metamask/utils'; import type { Json, JsonRpcRequest, CaipChainId } from '@metamask/utils'; -import { assert } from '@metamask/superstruct'; import type { Chain } from './api'; import { GetBalancesRequestStruct } from './rpc-types'; diff --git a/src/rpc-types.ts b/src/rpc-types.ts index 7cffae3..7912863 100644 --- a/src/rpc-types.ts +++ b/src/rpc-types.ts @@ -1,4 +1,3 @@ -import { CaipChainIdStruct } from '@metamask/utils'; import type { Infer } from '@metamask/superstruct'; import { record, @@ -9,6 +8,7 @@ import { object, literal, } from '@metamask/superstruct'; +import { CaipChainIdStruct } from '@metamask/utils'; import { CaipAssetTypeOrIdStruct } from './caip-types'; import { StringNumberStruct } from './types';