Skip to content

Commit

Permalink
chore: change eliza imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal-kanna committed Dec 31, 2024
1 parent 2fc8990 commit f982038
Show file tree
Hide file tree
Showing 7 changed files with 729 additions and 699 deletions.
2 changes: 2 additions & 0 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { LensAgentClient } from "@elizaos/client-lens";
import { SlackClientInterface } from "@elizaos/client-slack";
import { TelegramClientInterface } from "@elizaos/client-telegram";
import { TwitterClientInterface } from "@elizaos/client-twitter";
import { cosmosPlugin } from "@elizaos/plugin-cosmos";
import {
AgentRuntime,
CacheManager,
Expand Down Expand Up @@ -572,6 +573,7 @@ export async function createAgent(
getSecret(character, "TON_PRIVATE_KEY") ? tonPlugin : null,
getSecret(character, "SUI_PRIVATE_KEY") ? suiPlugin : null,
getSecret(character, "STORY_PRIVATE_KEY") ? storyPlugin : null,
cosmosPlugin,
].filter(Boolean),
providers: [],
actions: [],
Expand Down
37 changes: 19 additions & 18 deletions packages/plugin-cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
{
"name": "@ai16z/plugin-cosmos",
"name": "@elizaos/plugin-cosmos",
"version": "0.1.0-alpha.1",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"dependencies": {
"@ai16z/eliza": "workspace:*",
"bignumber.js": "9.1.2",
"node-cache": "5.1.2",
"tsup": "8.3.5",
"@cosmjs/stargate": "^0.29.2",
"@cosmjs/amino": "^0.29.2",
"cosmjs-utils": "*",
"osmojs": "16.15.0",
"chain-registry": "*",
"vitest": "^0.34.1"
"@cosmjs/amino": "^0.29.2",
"@cosmjs/cosmwasm-stargate": "^0.32.4",
"@cosmjs/stargate": "^0.29.2",
"@elizaos/core": "workspace:*",
"bignumber.js": "9.1.2",
"chain-registry": "*",
"cosmjs-utils": "*",
"node-cache": "5.1.2",
"osmojs": "16.15.0",
"tsup": "8.3.5",
"vitest": "^0.34.1"
},
"scripts": {
"build": "tsup --format esm,cjs --dts",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint . --fix"
"build": "tsup --format esm,cjs --dts",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint . --fix"
},
"peerDependencies": {
"whatwg-url": "7.1.0",
"form-data": "4.0.1"
"form-data": "4.0.1",
"whatwg-url": "7.1.0"
}
}
}
Loading

0 comments on commit f982038

Please sign in to comment.