@elizaos/plugin-farcaster 1.0.0-beta.14 → 1.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4870,7 +4870,7 @@ function hasFarcasterEnabled(runtime) {
|
|
|
4870
4870
|
return fid && neynarSignerUuid && neynarApiKey;
|
|
4871
4871
|
}
|
|
4872
4872
|
function validateFarcasterConfig(runtime) {
|
|
4873
|
-
const fid = Number.parseInt(runtime.getSetting("FARCASTER_FID"));
|
|
4873
|
+
const fid = Number.parseInt(runtime.getSetting("FARCASTER_FID") || process.env.FARCASTER_FID);
|
|
4874
4874
|
try {
|
|
4875
4875
|
const farcasterConfig = {
|
|
4876
4876
|
FARCASTER_DRY_RUN: runtime.getSetting("FARCASTER_DRY_RUN") || parseBooleanFromText(process.env.FARCASTER_DRY_RUN || "false"),
|
|
@@ -4907,7 +4907,6 @@ function validateFarcasterConfig(runtime) {
|
|
|
4907
4907
|
FARCASTER_NEYNAR_API_KEY: runtime.getSetting("FARCASTER_NEYNAR_API_KEY") || process.env.FARCASTER_NEYNAR_API_KEY,
|
|
4908
4908
|
FARCASTER_HUB_URL: runtime.getSetting("FARCASTER_HUB_URL") || process.env.FARCASTER_HUB_URL || "hub.pinata.cloud"
|
|
4909
4909
|
};
|
|
4910
|
-
console.log("farcasterConfig", JSON.stringify(farcasterConfig, null, 2));
|
|
4911
4910
|
const config = FarcasterConfigSchema.parse(farcasterConfig);
|
|
4912
4911
|
const isDryRun = config.FARCASTER_DRY_RUN;
|
|
4913
4912
|
logger5.log("Farcaster Client Configuration:");
|