Skip to content

Commit

Permalink
packages/kit: removing unneccessary dependency to connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed May 22, 2024
1 parent f156324 commit c3155e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'

Expand Down
6 changes: 5 additions & 1 deletion packages/kit/src/types.ts
Original file line number Diff line number Diff line change
@@ -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<LogoProps>
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3155e8

Please sign in to comment.