-
Notifications
You must be signed in to change notification settings - Fork 46
V2 api #400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
V2 api #400
Changes from all commits
54f731e
a4a7362
36b158f
6737733
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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' | ||
|
|
@@ -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} > | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 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"
fiRepository: 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" {} \;
fiRepository: 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
fiRepository: 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"
fiRepository: 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"
fiRepository: 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 2Repository: ethereumfollowprotocol/app Length of output: 1616 🌐 Web query:
💡 Result:
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:
💡 Result:
If you meant @nfid/identitykit, its documented “Advanced Options” for If you share which component you’re trying to pass Sources Citations:
Remove unsupported The prop 🤖 Prompt for AI Agents |
||
| <EFPProfileProvider> | ||
| <SoundsProvider> | ||
| <RecommendedProfilesProvider> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid nulling list metadata when
addressis 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 requiringaddressfor non-list users, or validating on a different field.Suggested tweak
🤖 Prompt for AI Agents