Skip to content

Commit

Permalink
Merge pull request #2142 from elizaOS/tcm-fix-lens-exportname
Browse files Browse the repository at this point in the history
fix: lens export name and duplicate imports
  • Loading branch information
shakkernerd authored Jan 11, 2025
2 parents bcad0c4 + 0600283 commit edcdc83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
13 changes: 6 additions & 7 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ import { teeMarlinPlugin } from "@elizaos/plugin-tee-marlin";
import { tonPlugin } from "@elizaos/plugin-ton";
import { webSearchPlugin } from "@elizaos/plugin-web-search";

import { coingeckoPlugin } from "@elizaos/plugin-coingecko";
import { giphyPlugin } from "@elizaos/plugin-giphy";
import { letzAIPlugin } from "@elizaos/plugin-letzai";
import { thirdwebPlugin } from "@elizaos/plugin-thirdweb";
Expand Down Expand Up @@ -704,8 +703,8 @@ export async function createAgent(
goatPlugin,
getSecret(character, "COINGECKO_API_KEY") ||
getSecret(character, "COINGECKO_PRO_API_KEY")
? coingeckoPlugin
: null,
? coingeckoPlugin
: null,
getSecret(character, "EVM_PROVIDER_URL") ? goatPlugin : null,
getSecret(character, "ABSTRACT_PRIVATE_KEY")
? abstractPlugin
Expand All @@ -720,8 +719,8 @@ export async function createAgent(
: null,
getSecret(character, "LENS_ADDRESS") &&
getSecret(character, "LENS_PRIVATE_KEY")
? lensPlugin
: null,
? lensPlugin
: null,
getSecret(character, "APTOS_PRIVATE_KEY") ? aptosPlugin : null,
getSecret(character, "MVX_PRIVATE_KEY") ? multiversxPlugin : null,
getSecret(character, "ZKSYNC_PRIVATE_KEY") ? zksyncEraPlugin : null,
Expand Down Expand Up @@ -761,8 +760,8 @@ export async function createAgent(
getSecret(character, "ALLORA_API_KEY") ? alloraPlugin : null,
getSecret(character, "AKASH_MNEMONIC") &&
getSecret(character, "AKASH_WALLET_ADDRESS")
? akashPlugin
: null,
? akashPlugin
: null,
].filter(Boolean),
providers: [],
actions: [],
Expand Down
5 changes: 2 additions & 3 deletions packages/plugin-lensNetwork/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ import { Plugin } from "@elizaos/core";

import transfer from "./actions/transfer.ts";


export const LensPlugin: Plugin = {
export const lensPlugin: Plugin = {
name: "Lens",
description: "Lens Plugin for Eliza",
actions: [transfer],
evaluators: [],
providers: [],
};

export default LensPlugin;
export default lensPlugin;

0 comments on commit edcdc83

Please sign in to comment.