Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"check": "bun lint && bun format && bun typecheck && bun run build"
},
"dependencies": {
"@encrypteddegen/identity-kit": "^0.2.71",
"@next/third-parties": "15.1.6",
"@rainbow-me/rainbowkit": "^2.2.4",
"@react-spring/web": "^9.7.5",
Expand All @@ -37,7 +38,7 @@
"@vercel/kv": "^3.0.0",
"caniuse-lite": "^1.0.30001687",
"clsx": "^2.1.0",
"ethereum-identity-kit": "^0.2.66",
"ethereum-identity-kit": "^0.2.72",
"i18next": "^23.11.5",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-http-backend": "^2.5.2",
Expand Down
6 changes: 3 additions & 3 deletions src/app/[user]/hooks/use-user-profile.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from 'react'
import { isAddress } from 'viem'
import { useInfiniteQuery, useQuery } from '@tanstack/react-query'
import { fetchProfileDetails, fetchProfileStats } from 'ethereum-identity-kit'
import { fetchProfileDetails, fetchProfileStats } from '@encrypteddegen/identity-kit'

import { FETCH_LIMIT_PARAM, MINUTE } from '#/lib/constants'
import type { ProfileTableTitleType } from '#/types/common'
Expand Down Expand Up @@ -78,7 +78,7 @@ const useUser = (user: string) => {
search: followingSearch,
})

if (fetchedFollowing.following.length === 0) setIsEndOfFollowing(true)
if (fetchedFollowing.following?.length === 0) setIsEndOfFollowing(true)

return fetchedFollowing
},
Expand Down Expand Up @@ -122,7 +122,7 @@ const useUser = (user: string) => {
search: followersSearch,
})

if (fetchedFollowers.followers.length === 0) setIsEndOfFollowers(true)
if (fetchedFollowers.followers?.length === 0) setIsEndOfFollowers(true)

return fetchedFollowers
},
Expand Down
8 changes: 5 additions & 3 deletions src/app/[user]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Metadata } from 'next'
import type { SearchParams } from 'next/dist/server/request/search-params'
import { dehydrate, HydrationBoundary, QueryClient } from '@tanstack/react-query'
import { fetchProfileDetails, fetchProfileStats, isLinkValid } from 'ethereum-identity-kit/utils'
import { fetchProfileDetails, fetchProfileStats, isLinkValid } from '@encrypteddegen/identity-kit/utils'

import { MINUTE } from '#/lib/constants'
import UserInfo from './components/user-info'
Expand All @@ -28,7 +28,9 @@ export async function generateMetadata(props: Props): Promise<Metadata> {
const getAccount = async () => {
try {
if (ssr) {
return await fetchAccount(user, isList ? Number(user) : undefined)
const response = await fetchAccount(user, isList ? Number(user) : undefined)
if(!response?.address) return null
return response
Comment on lines +31 to +33
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Avoid nulling list metadata when address is absent.

For numeric list pages, the account payload may legitimately omit address. This guard will now discard any ENS/description/avatar data for lists. Consider only requiring address for non-list users, or validating on a different field.

Suggested tweak
-        if(!response?.address) return null
+        if (!response) return null
+        if (!isList && !response.address) return null
         return response
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/app/`[user]/page.tsx around lines 31 - 33, The current guard in the page
component unconditionally returns null when response?.address is missing, which
strips metadata for numeric list pages; update the check in the block that calls
fetchAccount (reference fetchAccount, response, and isList) so that you only
require response.address for non-list users (i.e., if (!isList &&
!response?.address) return null), and for list pages allow the returned payload
(ENS/description/avatar) to pass through or validate on another required field
instead of address.

}

return null
Expand All @@ -40,7 +42,7 @@ export async function generateMetadata(props: Props): Promise<Metadata> {
const ensData = await getAccount()
const ensName = ensData?.ens?.name
const ensAvatar = ensData?.ens?.avatar
const displayUser = ensName && ensName.length > 0 ? ensName : isList ? `List #${user}` : truncatedUser
const displayUser = ensName && ensName?.length > 0 ? ensName : isList ? `List #${user}` : truncatedUser
const description = ensData?.ens?.records?.description

const avatarResponse = ensAvatar && isLinkValid(ensAvatar) ? await fetch(ensAvatar) : null
Expand Down
2 changes: 1 addition & 1 deletion src/app/api/top-eight/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { isAddress } from 'viem'
import { truncateAddress } from '#/lib/utilities'
import { ens_beautify } from '@adraffy/ens-normalize'
import type { TopEightProfileType } from '#/components/top-eight/hooks/use-top-eight'
import { isLinkValid } from 'ethereum-identity-kit/utils'
import { isLinkValid } from '@encrypteddegen/identity-kit/utils'
import { fetchAccount } from '#/api/fetch-account'

function generateHTML(userName: string, userAvatar: string | undefined, profiles: TopEightProfileType[]) {
Expand Down
4 changes: 2 additions & 2 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,8 @@ input {

/* .dark .tooltip-card,
.dark-tooltip-card {
color: var(--ethereum-identity-kit-text-primary-dark);
background-color: var(--ethereum-identity-kit-background-dark);
color: var(--@encrypteddegen/identity-kit-text-primary-dark);
background-color: var(--@encrypteddegen/identity-kit-background-dark);
} */

.user-profile-status-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Link from 'next/link'
import { useAccount } from 'wagmi'
import { useRouter } from 'next/navigation'
import { useTranslation } from 'react-i18next'
import { ProfileCard } from 'ethereum-identity-kit'
import { ProfileCard } from '@encrypteddegen/identity-kit'

import FollowButton from '#/components/follow-button'
import ExternalLink from 'public/assets/icons/ui/external-link.svg'
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './i18n'
import './globals.css'
import 'ethereum-identity-kit/css'
import '@encrypteddegen/identity-kit/css'
import '@rainbow-me/rainbowkit/styles.css'

import Image from 'next/image'
Expand Down
2 changes: 1 addition & 1 deletion src/app/leaderboard/components/row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useAccount } from 'wagmi'
import type { Address } from 'viem'
import { DEFAULT_FALLBACK_HEADER, isLinkValid } from 'ethereum-identity-kit'
import { DEFAULT_FALLBACK_HEADER, isLinkValid } from '@encrypteddegen/identity-kit'

import Name from './name'
import StatsDesktop from './stats-desktop'
Expand Down
4 changes: 2 additions & 2 deletions src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ThirdwebProvider } from 'thirdweb/react'
import { WagmiProvider, type State } from 'wagmi'
import { darkTheme, RainbowKitProvider } from '@rainbow-me/rainbowkit'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import { TransactionProvider, TranslationProvider } from 'ethereum-identity-kit'
import { TransactionProvider, TranslationProvider } from '@encrypteddegen/identity-kit'

import wagmiConfig from '#/lib/wagmi'
import { DAY, MINUTE } from '#/lib/constants'
Expand Down Expand Up @@ -44,7 +44,7 @@ const Providers: React.FC<ProviderProps> = ({ children, initialState }) => {
<RainbowKitProvider coolMode={false} theme={rainbowKitTheme}>
<ThirdwebProvider>
<TranslationProvider translations={translations}>
<TransactionProvider batchTransactions={true}>
<TransactionProvider batchTransactions={true} disableAutoListSelection={true} >
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# First, check if the package exists in node_modules
if [ -d "node_modules/@encrypteddegen/identity-kit" ]; then
  echo "Package found in node_modules"
  # List the contents to understand structure
  ls -la node_modules/@encrypteddegen/identity-kit/ | head -20
else
  echo "Package not found in node_modules"
fi

Repository: ethereumfollowprotocol/app

Length of output: 103


🏁 Script executed:

#!/bin/bash
# Check for disableAutoListSelection in the installed identity-kit package
if [ -d "node_modules/@encrypteddegen/identity-kit" ]; then
  echo "=== Searching for disableAutoListSelection ==="
  find node_modules/@encrypteddegen/identity-kit -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.d.ts" -o -name "*.js" -o -name "*.jsx" \) -exec grep -l "disableAutoListSelection" {} \;
  
  echo ""
  echo "=== Searching for TransactionProvider definition ==="
  find node_modules/@encrypteddegen/identity-kit -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.d.ts" \) -exec grep -l "TransactionProvider" {} \;
fi

Repository: ethereumfollowprotocol/app

Length of output: 52


🏁 Script executed:

#!/bin/bash
# Check package.json for version info
if [ -f "node_modules/@encrypteddegen/identity-kit/package.json" ]; then
  echo "=== Package Version ==="
  jq '.version' node_modules/@encrypteddegen/identity-kit/package.json
fi

Repository: ethereumfollowprotocol/app

Length of output: 52


🏁 Script executed:

#!/bin/bash
# Check the project's package.json for the dependency
if [ -f "package.json" ]; then
  echo "=== Checking package.json for `@encrypteddegen/identity-kit` ==="
  cat package.json | grep -A 2 -B 2 "encrypteddegen/identity-kit" || echo "Not found in package.json"
fi

Repository: ethereumfollowprotocol/app

Length of output: 281


🏁 Script executed:

#!/bin/bash
# Check lock files
echo "=== Checking package-lock.json ==="
if [ -f "package-lock.json" ]; then
  grep -A 5 "encrypteddegen/identity-kit" package-lock.json | head -15
else
  echo "No package-lock.json found"
fi

echo ""
echo "=== Checking yarn.lock ==="
if [ -f "yarn.lock" ]; then
  grep -A 5 "encrypteddegen/identity-kit" yarn.lock | head -15
else
  echo "No yarn.lock found"
fi

Repository: ethereumfollowprotocol/app

Length of output: 178


🏁 Script executed:

#!/bin/bash
# Check if there are any type definitions or references to TransactionProvider in the source code
echo "=== Searching for TransactionProvider usage in src ==="
rg "TransactionProvider" src/ -A 2 -B 2

echo ""
echo "=== Searching for disableAutoListSelection in src ==="
rg "disableAutoListSelection" src/ -A 2 -B 2

Repository: ethereumfollowprotocol/app

Length of output: 1616


🌐 Web query:

@encrypteddegen/identity-kit npm package TransactionProvider

💡 Result:

TransactionProvider in @encrypteddegen/identity-kit (Ethereum Identity Kit) is the React context/provider you’re expected to wrap around your app so the kit can manage onchain transaction flows (it’s used alongside Wagmi and TanStack Query). The README shows it wrapped inside WagmiProvider and QueryClientProvider, with your app as children. [1][2]

Example setup (per the README): [1][2]

import { WagmiProvider } from 'wagmi'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import { TransactionProvider } from 'ethereum-identity-kit' // README example
// (in your app, you may import from '@encrypteddegen/identity-kit' depending on your bundler/alias)

const queryClient = new QueryClient()

export default function App({ Component, pageProps }) {
  return (
    <QueryClientProvider client={queryClient}>
      <WagmiProvider config={wagmiConfig}>
        <TransactionProvider>
          <Component {...pageProps} />
        </TransactionProvider>
      </WagmiProvider>
    </QueryClientProvider>
  )
}

Sources: npm package README and the project’s GitHub README. [1][2]


🌐 Web query:

@encrypteddegen/identity-kit disableAutoListSelection

💡 Result:

disableAutoListSelection doesn’t appear to be a supported/configurable option in @encrypteddegen/identity-kit (Ethereum Identity Kit). The project’s public README/docs only describe providers (TransactionProvider) and components (e.g., ProfileCard) and don’t list any prop/setting by that name. [1]

If you meant @nfid/identitykit, its documented “Advanced Options” for IdentityKitProvider also don’t include disableAutoListSelection. [2]

If you share which component you’re trying to pass disableAutoListSelection to (and your Identity Kit version), I can point to the correct prop or a workaround.

Sources
[1] Ethereum Identity Kit repository/README (ethereumidentitykit/ethereum-identity-kit) (github.com)
[2] NFID IdentityKit docs – Advanced Options (qzjsg-qiaaa-aaaam-acupa-cai.icp0.io)

Citations:


Remove unsupported disableAutoListSelection prop from TransactionProvider.

The prop disableAutoListSelection is not a documented or supported option for TransactionProvider in @encrypteddegen/identity-kit. While TypeScript will silently compile this (unknown props on JSX components are not flagged), the prop has no runtime effect, leaving auto-list-selection enabled contrary to intent. If disabling auto-list-selection is needed, check the package documentation for the correct prop name or alternative approach.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/app/providers.tsx` at line 47, The TransactionProvider JSX includes an
unsupported prop disableAutoListSelection which has no runtime effect; remove
disableAutoListSelection from the TransactionProvider element (leave
batchTransactions={true} as intended) and, if you need to actually disable
auto-list-selection, consult `@encrypteddegen/identity-kit` docs and replace it
with the correct supported prop or alternative API rather than adding an unknown
prop to TransactionProvider.

<EFPProfileProvider>
<SoundsProvider>
<RecommendedProfilesProvider>
Expand Down
2 changes: 1 addition & 1 deletion src/app/team/hooks/use-members.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useQuery } from '@tanstack/react-query'
import { fetchProfileDetails, fetchProfileStats } from 'ethereum-identity-kit'
import { fetchProfileDetails, fetchProfileStats } from '@encrypteddegen/identity-kit'
import { TEAM_ADDRESSES, FOUNDATION_ADDRESSES } from '#/lib/constants/team'

export const useMembers = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/avatar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { GetEnsAvatarReturnType } from 'viem'
import { isLinkValid } from 'ethereum-identity-kit'
import { isLinkValid } from '@encrypteddegen/identity-kit'

import { cn } from '#/lib/utilities'
import ImageWithFallback from './image-with-fallback'
Expand Down
2 changes: 1 addition & 1 deletion src/components/blocked-muted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useClickAway } from '@uidotdev/usehooks'
import { useIsEditView } from '#/hooks/use-is-edit-view'
import { useEFPProfile } from '#/contexts/efp-profile-context'
import Cross from 'public/assets/icons/ui/cross.svg'
import { FollowersAndFollowing } from 'ethereum-identity-kit'
import { FollowersAndFollowing } from '@encrypteddegen/identity-kit'

interface BlockedMutedProps {
user: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/follow-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
FollowButton as IdentityFollowButton,
useTransactions,
type InitialFollowingState,
} from 'ethereum-identity-kit'
} from '@encrypteddegen/identity-kit'

import { useSounds } from '#/contexts/sounds-context'
import { FOLLOW_BUTTON_SOUND } from '#/lib/constants/follow-button'
Expand Down
2 changes: 1 addition & 1 deletion src/components/follows-you.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { cn } from '#/lib/utilities'
import { useFollowerState } from 'ethereum-identity-kit'
import { useFollowerState } from '@encrypteddegen/identity-kit'
import React from 'react'
import { useTranslation } from 'react-i18next'
import type { Address } from 'viem'
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/components/profile-summary-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link'
import Image from 'next/image'
import { useTranslation } from 'react-i18next'
import { ens_beautify } from '@adraffy/ens-normalize'
import { truncateAddress, isLinkValid } from 'ethereum-identity-kit'
import { truncateAddress, isLinkValid } from '@encrypteddegen/identity-kit'

import { Avatar } from '#/components/avatar'
import { formatNumber } from '#/utils/format/format-number'
Expand Down
10 changes: 5 additions & 5 deletions src/components/language-selector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Check from 'public/assets/icons/ui/check.svg'
import ArrowLeft from 'public/assets/icons/ui/arrow-left.svg'
import ArrowRight from 'public/assets/icons/ui/arrow-right.svg'
import Image from 'next/image'
import { useTranslation as useIdentityKitTranslation } from 'ethereum-identity-kit'
import { useTranslation as useIdentityKitTranslation } from '@encrypteddegen/identity-kit'

interface LanguageSelectorProps {
setExternalLanguageMenuOpen?: Dispatch<SetStateAction<boolean>>
Expand All @@ -19,7 +19,7 @@ const LanguageSelector = ({ setExternalLanguageMenuOpen, setParentOpen }: Langua
const [languageMenuSearch, setLanguageMenuSearch] = useState('')

const { t } = useTranslation()
const { changeLanguage, languageMenOpenu, selectedLanguage, setLanguageMenuOpen } = useLanguage()
const { changeLanguage, languageMenOpen, selectedLanguage, setLanguageMenuOpen } = useLanguage()

const { setLanguage } = useIdentityKitTranslation()
useEffect(() => {
Expand Down Expand Up @@ -51,8 +51,8 @@ const LanguageSelector = ({ setExternalLanguageMenuOpen, setParentOpen }: Langua
<div ref={clickAwayLanguageRef} className='group relative w-full cursor-pointer'>
<div
onClick={() => {
setLanguageMenuOpen(!languageMenOpenu)
setExternalLanguageMenuOpen?.(!languageMenOpenu)
setLanguageMenuOpen(!languageMenOpen)
setExternalLanguageMenuOpen?.(!languageMenOpen)
}}
className='group-hover:bg-nav-item flex w-full items-center justify-between rounded-sm p-4'
>
Expand All @@ -72,7 +72,7 @@ const LanguageSelector = ({ setExternalLanguageMenuOpen, setParentOpen }: Langua
</div>
<div
className={`absolute -top-[56px] left-full z-50 w-full transition-all transition-discrete sm:top-0 sm:w-fit sm:pl-2 sm:transition-normal ${
languageMenOpenu ? 'block' : 'hidden'
languageMenOpen ? 'block' : 'hidden'
} group-hover:block`}
>
<div className='bg-neutral shadow-medium flex max-h-[520px] w-full flex-col gap-2 gap-x-px overflow-scroll rounded-sm sm:max-h-[45vh] sm:w-56 lg:grid lg:w-[450px] lg:grid-cols-2'>
Expand Down
4 changes: 2 additions & 2 deletions src/components/language-selector/use-language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LANGUAGES } from '#/lib/constants/languages'
import type { StaticImageData } from 'next/image'

const useLanguage = () => {
const [languageMenOpenu, setLanguageMenuOpen] = useState(false)
const [languageMenOpen, setLanguageMenuOpen] = useState(false)
const [selectedLanguage, setSelectedLanguage] = useState(
LANGUAGES[LANGUAGES.map((lang) => lang.key).indexOf(i18n.language || 'en')]
)
Expand All @@ -30,7 +30,7 @@ const useLanguage = () => {

return {
changeLanguage,
languageMenOpenu,
languageMenOpen,
selectedLanguage,
setLanguageMenuOpen,
setSelectedLanguage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { coreEfpContracts, ListRecordContracts } from '#/lib/constants/contracts
import { resetFollowingRelatedQueries } from '#/utils/reset-queries'
import { listOpAddTag, listOpAddListRecord, splitListOps } from '#/utils/list-ops'
import { efpAccountMetadataAbi, efpListRecordsAbi, efpListRegistryAbi } from '#/lib/abi'
import { EFPActionIds, formatListOpsTransaction, useTransactions, type ListOpType } from 'ethereum-identity-kit'
import { EFPActionIds, formatListOpsTransaction, useTransactions, type ListOpType } from '@encrypteddegen/identity-kit'

type SaveListSettingsParams = {
selectedList: number
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/components/cart-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useMemo } from 'react'
import { useAccount } from 'wagmi'
import { useTranslation } from 'react-i18next'
import { useConnectModal } from '@rainbow-me/rainbowkit'
import { EFPActionIds, useTransactions } from 'ethereum-identity-kit'
import { EFPActionIds, useTransactions } from '@encrypteddegen/identity-kit'

import { cn } from '#/lib/utilities'
import { useCart } from '#/hooks/use-cart'
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/components/nav-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { cn, truncateAddress } from '#/lib/utilities'
import Hamburger from './hamburger'
import CartButton from './cart-button'
import { useQuery } from '@tanstack/react-query'
import { fetchAccount } from 'ethereum-identity-kit'
import { fetchAccount } from '@encrypteddegen/identity-kit'
import LoadingCell from '#/components/loaders/loading-cell'
import { useTranslation } from 'react-i18next'

Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/desktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Link from 'next/link'
import { useAccount } from 'wagmi'
import { useRouter } from 'next/navigation'
import { useWindowSize } from '@uidotdev/usehooks'
import { Notifications } from 'ethereum-identity-kit'
import { Notifications } from '@encrypteddegen/identity-kit'

import { Search } from '../search'
import Logo from 'public/assets/efp-logo.svg'
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigation/mobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link'
import { useAccount } from 'wagmi'
import React, { useEffect, useRef } from 'react'
import { useWindowSize } from '@uidotdev/usehooks'
import { Notifications } from 'ethereum-identity-kit'
import { Notifications } from '@encrypteddegen/identity-kit'
import { usePathname, useRouter } from 'next/navigation'

import { Search } from '../search'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Image from 'next/image'
import { useAccount } from 'wagmi'
import type { Address } from 'viem'
import { useQuery } from '@tanstack/react-query'
import { type InitialFollowingState, isLinkValid } from 'ethereum-identity-kit'
import { type InitialFollowingState, isLinkValid } from '@encrypteddegen/identity-kit'

import ProfileListItemDetails from './details'
import { fetchAccount } from '#/api/fetch-account'
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { ENSProfile } from '#/types/requests'
import type { ProfileStatsType } from '#/types/common'
import LoadingRow from './components/list-item/loading-list-item'
import ProfileListItem from './components/list-item/profile-list-item'
import type { InitialFollowingState } from 'ethereum-identity-kit'
import type { InitialFollowingState } from '@encrypteddegen/identity-kit'

export interface ProfileListProfile {
address: Address
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile-tooltip-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import React from 'react'
import { useRouter } from 'next/navigation'
import { ProfileTooltip, type Address, type ProfileListType } from 'ethereum-identity-kit'
import { ProfileTooltip, type Address, type ProfileListType } from '@encrypteddegen/identity-kit'

interface ProfileTooltipWrapperProps {
addressOrName: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/push-notifications/setup-modal/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react'
import { useIsClient } from 'ethereum-identity-kit'
import { useIsClient } from '@encrypteddegen/identity-kit'
import SetupBrowser from './setup-browser'
import EnableNotifications from './enable-notifications'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useAccount } from 'wagmi'
import { useEffect, useState } from 'react'
import { useQuery } from '@tanstack/react-query'
import { fetchAccount } from 'ethereum-identity-kit'
import { fetchAccount } from '@encrypteddegen/identity-kit'
import type { PushSubscription as SerializablePushSubscription } from 'web-push'
import {
getSubscriptionForCurrentUser,
Expand Down
2 changes: 1 addition & 1 deletion src/components/search/result-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ens_beautify } from '@adraffy/ens-normalize'

import { truncateAddress } from '#/lib/utilities'
import type { SearchENSNameDomain } from '#/types/requests'
import { isAddress } from 'ethereum-identity-kit'
import { isAddress } from '@encrypteddegen/identity-kit'

export interface ResultItemProps {
result: SearchENSNameDomain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Image from 'next/image'
import { useAccount } from 'wagmi'
import { useQuery } from '@tanstack/react-query'
import { useWindowSize } from '@uidotdev/usehooks'
import { isLinkValid } from 'ethereum-identity-kit'
import { isLinkValid } from '@encrypteddegen/identity-kit'
import { ens_beautify } from '@adraffy/ens-normalize'

import { useCart } from '#/hooks/use-cart'
Expand Down
2 changes: 1 addition & 1 deletion src/components/top-eight/hooks/use-edit-top-eight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useAccount } from 'wagmi'
import { isAddress, type Address } from 'viem'
import { useTranslation } from 'react-i18next'
import { useEffect, useMemo, useState } from 'react'
import { fetchFollowState, useTransactions } from 'ethereum-identity-kit'
import { fetchFollowState, useTransactions } from '@encrypteddegen/identity-kit'

import { useCart } from '#/hooks/use-cart'
import { resolveEnsAddress } from '#/utils/ens'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useAccount } from 'wagmi'
import type { Address } from 'viem'
import { useFollowButton } from 'ethereum-identity-kit'
import { useFollowButton } from '@encrypteddegen/identity-kit'

import { useCart } from '#/hooks/use-cart'
import { listOpAddListRecord, listOpAddTag, listOpRemoveListRecord, listOpRemoveTag } from '#/utils/list-ops'
Expand Down
2 changes: 1 addition & 1 deletion src/components/transaction-modal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { useRouter } from 'next/navigation'
import { useTransactions, TransactionModal as TransactionModalComponent } from 'ethereum-identity-kit'
import { useTransactions, TransactionModal as TransactionModalComponent } from '@encrypteddegen/identity-kit'

const TransactionModal = () => {
const router = useRouter()
Expand Down
2 changes: 1 addition & 1 deletion src/components/user-profile-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Link from 'next/link'
import { useRouter } from 'next/navigation'
import { useTranslation } from 'react-i18next'
import { ProfileCard } from 'ethereum-identity-kit'
import { ProfileCard } from '@encrypteddegen/identity-kit'

import { cn } from '#/lib/utilities'
import Achievements from './components/achievements'
Expand Down
2 changes: 1 addition & 1 deletion src/components/user-profile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import { useAccount } from 'wagmi'
import { useRouter } from 'next/navigation'
import { useWindowSize } from '@uidotdev/usehooks'
import { FullWidthProfile } from 'ethereum-identity-kit'
import { FullWidthProfile } from '@encrypteddegen/identity-kit'

import FollowButton from '../follow-button'
import type { StatsResponse } from '#/types/requests'
Expand Down
2 changes: 1 addition & 1 deletion src/contexts/efp-profile-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
import type { Address } from 'viem'
import { useRouter } from 'next/navigation'
import { useAccount, useChains } from 'wagmi'
import { fetchProfileDetails, fetchProfileStats, useTransactions } from 'ethereum-identity-kit'
import { fetchProfileDetails, fetchProfileStats, useTransactions } from '@encrypteddegen/identity-kit'

import type {
ENSProfile,
Expand Down
Loading