Skip to content

Commit

Permalink
fix: build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperKoza343 committed Jan 10, 2025
1 parent 596be47 commit 463b408
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-cosmos/src/actions/transfer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Memory,
ModelClass,
State,
} from "@ai16z/eliza";
} from "@elizaos/core";
import { initWalletChainsData } from "../../providers/wallet/utils";
import { cosmosTransferTemplate } from "../../templates";
import { CosmosTransferActionService } from "./services/cosmos-transfer-action-service";
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-cosmos/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createTransferAction } from "./actions/transfer";
import type { Plugin } from "@ai16z/eliza";
import type { Plugin } from "@elizaos/core";
import { createCosmosWalletProvider } from "./providers/wallet";
import { ICosmosPluginOptions } from "./shared/interfaces";
import { fetchBalancesAction } from "./actions/fetch-balance";
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-cosmos/src/providers/wallet/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IAgentRuntime } from "@ai16z/eliza";
import { IAgentRuntime } from "@elizaos/core";
import {
convertBaseUnitToDisplayUnit,
getSymbolByDenom,
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-cosmos/src/providers/wallet/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IAgentRuntime } from "@ai16z/eliza";
import { IAgentRuntime } from "@elizaos/core";
import { CosmosWalletChains } from "../../shared/entities/cosmos-wallet-chains-data";

export const initWalletChainsData = async (runtime: IAgentRuntime) => {
Expand Down
6 changes: 0 additions & 6 deletions packages/plugin-cosmos/src/shared/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,3 @@ export interface ICosmosWalletChains {
export interface ICosmosWalletChainsData {
[chainName: string]: ICosmosChainWallet;
}

export interface Coin {
denom: string;
amount: string;
exp?: number;
};

0 comments on commit 463b408

Please sign in to comment.