This commit is contained in:
Aleksandr Kraiz
2023-03-31 17:47:56 +04:00
parent 94e99efd46
commit 8588b55725
103 changed files with 745 additions and 905 deletions

View File

@@ -1,5 +1,5 @@
import { z } from 'zod';
import { SupportedChainId } from '../types';
import { SupportedChainId } from '../types.js';
const isValidChainId = (chainId: string): chainId is SupportedChainId => {
const { success } = z.nativeEnum(SupportedChainId).safeParse(chainId);