mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-09 20:47:23 +03:00
ESM
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user