From 27b4a3dc43f63953ac26188234cb40608c33c402 Mon Sep 17 00:00:00 2001 From: Enes Date: Fri, 16 Aug 2024 11:11:11 +0300 Subject: [PATCH] refactor: export missing type defs from siwe package (#2703) --- packages/siwe/exports/index.ts | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/packages/siwe/exports/index.ts b/packages/siwe/exports/index.ts index 1fc165be46..25a82498bd 100644 --- a/packages/siwe/exports/index.ts +++ b/packages/siwe/exports/index.ts @@ -1,10 +1,4 @@ -import type { - SIWEConfig, - SIWESession, - SIWECreateMessageArgs, - SIWEVerifyMessageArgs, - SIWEClientMethods -} from '../core/utils/TypeUtils.js' +import type { SIWEConfig } from '../core/utils/TypeUtils.js' import { Web3ModalSIWEClient } from '../src/client.js' export { getAddressFromMessage, @@ -13,15 +7,9 @@ export { } from '../core/helpers/index.js' export { formatMessage, getDidChainId, getDidAddress } from '@walletconnect/utils' export { SIWEController, type SIWEControllerClient } from '../core/controller/SIWEController.js' +export * from '../core/utils/TypeUtils.js' -export type { - Web3ModalSIWEClient, - SIWEConfig, - SIWESession, - SIWECreateMessageArgs, - SIWEVerifyMessageArgs, - SIWEClientMethods -} +export type { Web3ModalSIWEClient } export function createSIWEConfig(siweConfig: SIWEConfig) { return new Web3ModalSIWEClient(siweConfig)