feat: add requiredChains support

This commit is contained in:
veganbeef
2025-07-16 09:46:35 -07:00
parent e61bc88aaa
commit 9ea40a5f92
3 changed files with 64 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ import {
APP_TAGS, APP_URL,
APP_WEBHOOK_URL,
APP_ACCOUNT_ASSOCIATION,
APP_REQUIRED_CHAINS,
} from './constants';
export function cn(...inputs: ClassValue[]) {
@@ -56,6 +57,7 @@ export async function getFarcasterDomainManifest(): Promise<Manifest> {
description: APP_DESCRIPTION,
primaryCategory: APP_PRIMARY_CATEGORY,
tags: APP_TAGS,
requiredChains: APP_REQUIRED_CHAINS.length > 0 ? APP_REQUIRED_CHAINS : undefined,
},
};
}