Skip to content

Commit edcdc83

Browse files
authored
Merge pull request #2142 from elizaOS/tcm-fix-lens-exportname
fix: lens export name and duplicate imports
2 parents bcad0c4 + 0600283 commit edcdc83

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

agent/src/index.ts

+6-7
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ import { teeMarlinPlugin } from "@elizaos/plugin-tee-marlin";
8181
import { tonPlugin } from "@elizaos/plugin-ton";
8282
import { webSearchPlugin } from "@elizaos/plugin-web-search";
8383

84-
import { coingeckoPlugin } from "@elizaos/plugin-coingecko";
8584
import { giphyPlugin } from "@elizaos/plugin-giphy";
8685
import { letzAIPlugin } from "@elizaos/plugin-letzai";
8786
import { thirdwebPlugin } from "@elizaos/plugin-thirdweb";
@@ -704,8 +703,8 @@ export async function createAgent(
704703
goatPlugin,
705704
getSecret(character, "COINGECKO_API_KEY") ||
706705
getSecret(character, "COINGECKO_PRO_API_KEY")
707-
? coingeckoPlugin
708-
: null,
706+
? coingeckoPlugin
707+
: null,
709708
getSecret(character, "EVM_PROVIDER_URL") ? goatPlugin : null,
710709
getSecret(character, "ABSTRACT_PRIVATE_KEY")
711710
? abstractPlugin
@@ -720,8 +719,8 @@ export async function createAgent(
720719
: null,
721720
getSecret(character, "LENS_ADDRESS") &&
722721
getSecret(character, "LENS_PRIVATE_KEY")
723-
? lensPlugin
724-
: null,
722+
? lensPlugin
723+
: null,
725724
getSecret(character, "APTOS_PRIVATE_KEY") ? aptosPlugin : null,
726725
getSecret(character, "MVX_PRIVATE_KEY") ? multiversxPlugin : null,
727726
getSecret(character, "ZKSYNC_PRIVATE_KEY") ? zksyncEraPlugin : null,
@@ -761,8 +760,8 @@ export async function createAgent(
761760
getSecret(character, "ALLORA_API_KEY") ? alloraPlugin : null,
762761
getSecret(character, "AKASH_MNEMONIC") &&
763762
getSecret(character, "AKASH_WALLET_ADDRESS")
764-
? akashPlugin
765-
: null,
763+
? akashPlugin
764+
: null,
766765
].filter(Boolean),
767766
providers: [],
768767
actions: [],

packages/plugin-lensNetwork/src/index.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ import { Plugin } from "@elizaos/core";
22

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

5-
6-
export const LensPlugin: Plugin = {
5+
export const lensPlugin: Plugin = {
76
name: "Lens",
87
description: "Lens Plugin for Eliza",
98
actions: [transfer],
109
evaluators: [],
1110
providers: [],
1211
};
1312

14-
export default LensPlugin;
13+
export default lensPlugin;

0 commit comments

Comments
 (0)