Skip to content

Commit

Permalink
export buildConfig for external config validation (wormhole-foundatio…
Browse files Browse the repository at this point in the history
  • Loading branch information
artursapek authored Oct 2, 2024
1 parent 2e26ca2 commit 9548507
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wormhole-connect/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { dark, light } from './theme';

import MAINNET from './config/mainnet';
import TESTNET from './config/testnet';
import { buildConfig } from './config';
import type { WormholeConnectConfig } from './config/types';

// Routes
import { DEFAULT_ROUTES, nttRoutes } from './routes/operator';
Expand All @@ -24,7 +26,6 @@ import {
nttManualRoute,
} from '@wormhole-foundation/sdk-route-ntt';

import type { WormholeConnectConfig } from './config/types';
import type { Chain } from '@wormhole-foundation/sdk';

import { wormholeConnectHosted } from './hosted';
Expand All @@ -40,8 +41,10 @@ const {
export default WormholeConnect;

export {
// Config related exports
MAINNET,
TESTNET,
buildConfig,

// Types
WormholeConnectConfig,
Expand Down

0 comments on commit 9548507

Please sign in to comment.