Revert "fix: sponsor signer env var"

This reverts commit 181c364de467512c75145800fbdd4bd8ab5f0b92.
This commit is contained in:
Shreyaschorge 2025-07-16 01:54:06 +05:30
parent 181c364de4
commit 3ec3566cfe
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View File

@ -486,7 +486,7 @@ export async function init(
siwe: '^3.0.0',
};
// Add auth-kit and next-auth dependencies if useSponsoredSigner is true
// Add auth-kit and quick-auth dependencies if useSponsoredSigner is true
if (answers.useSponsoredSigner) {
packageJson.dependencies['@farcaster/auth-kit'] = '>=0.6.0 <1.0.0';
packageJson.dependencies['next-auth'] = '^4.24.11';
@ -661,9 +661,6 @@ export async function init(
fs.appendFileSync(envPath, `\nSEED_PHRASE="${answers.seedPhrase}"`);
}
fs.appendFileSync(envPath, `\nUSE_TUNNEL="${answers.useTunnel}"`);
if (answers.useSponsoredSigner) {
fs.appendFileSync(envPath, `\nSPONSOR_SIGNER="${answers.useSponsoredSigner}"`);
}
fs.unlinkSync(envExamplePath);
} else {

View File

@ -1,6 +1,6 @@
{
"name": "@neynar/create-farcaster-mini-app",
"version": "1.7.4",
"version": "1.7.2",
"type": "module",
"private": false,
"access": "public",

View File

@ -7,6 +7,7 @@ import { cn } from '~/lib/utils';
import { Button } from '~/components/ui/Button';
import { AuthDialog } from '~/components/ui/NeynarAuthButton/AuthDialog';
import { ProfileButton } from '~/components/ui/NeynarAuthButton/ProfileButton';
import { AuthDialog } from '~/components/ui/NeynarAuthButton/AuthDialog';
import { getItem, removeItem, setItem } from '~/lib/localStorage';
import { useMiniApp } from '@neynar/react';
import {