diff --git a/packages/kit/package.json b/packages/kit/package.json index 9611b786..4ef62ff4 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -24,7 +24,6 @@ "@0xsequence/design-system": "^1.7.0", "@0xsequence/ethauth": "^0.8.1", "@0xsequence/indexer": "^1.9.26", - "@0xsequence/kit-connectors": "workspace:*", "@0xsequence/metadata": "^1.9.26", "@0xsequence/network": "^1.9.26", "@0xsequence/provider": "^1.9.26", diff --git a/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx b/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx index 1248efc8..0823314a 100644 --- a/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx +++ b/packages/kit/src/components/KitProvider/ConnectWalletContent/index.tsx @@ -14,7 +14,6 @@ import { Tooltip, PINCodeInput } from '@0xsequence/design-system' -import { LogoProps } from '@0xsequence/kit-connectors' import { GoogleLogin } from '@react-oauth/google' import React, { useState, useEffect } from 'react' import { appleAuthHelpers, useScript } from 'react-apple-signin-auth' @@ -23,7 +22,7 @@ import { useConnect, useAccount } from 'wagmi' import { LocalStorageKey, defaultSignInOptions } from '../../../constants' import { useStorage, useStorageItem } from '../../../hooks/useStorage' import { useEmailAuth } from '../../../hooks/useWaasEmailAuth' -import { ExtendedConnector, KitConfig, WalletProperties } from '../../../types' +import { ExtendedConnector, KitConfig, LogoProps, WalletProperties } from '../../../types' import { isEmailValid } from '../../../utils/helpers' import { KitConnectProviderProps } from '../index' diff --git a/packages/kit/src/types.ts b/packages/kit/src/types.ts index 0473389a..eb164899 100644 --- a/packages/kit/src/types.ts +++ b/packages/kit/src/types.ts @@ -1,10 +1,14 @@ import { ETHAuthProof } from '@0xsequence/auth' -import { LogoProps } from '@0xsequence/kit-connectors' import { FunctionComponent } from 'react' import { Connector, CreateConnectorFn } from 'wagmi' import { LocalStorageKey } from './constants' +export interface LogoProps { + className?: string + style?: React.CSSProperties +} + export interface WalletProperties { id: string logoDark: FunctionComponent diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2f1fdc23..9c2cc425 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -406,9 +406,6 @@ importers: '@0xsequence/indexer': specifier: ^1.9.26 version: 1.9.26 - '@0xsequence/kit-connectors': - specifier: workspace:* - version: link:../connectors '@0xsequence/metadata': specifier: ^1.9.26 version: 1.9.26