Skip to content

Commit

Permalink
Merge pull request #1492 from tomguluson92/tomguluson92-patch-2
Browse files Browse the repository at this point in the history
fix: remove `type` when import from `elizaos`
  • Loading branch information
lalalune authored Dec 27, 2024
2 parents 15fd96c + a1c3b93 commit 2f3f7cb
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions packages/plugin-story/src/actions/attachTerms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {
generateObjectDeprecated,
HandlerCallback,
ModelClass,
type IAgentRuntime,
type Memory,
type State,
IAgentRuntime,
Memory,
State,
} from "@elizaos/core";
import { WalletProvider } from "../providers/wallet";
import { attachTermsTemplate } from "../templates";
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-story/src/actions/getAvailableLicenses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {
generateObjectDeprecated,
HandlerCallback,
ModelClass,
type IAgentRuntime,
type Memory,
type State,
IAgentRuntime,
Memory,
State,
} from "@elizaos/core";
import { getAvailableLicensesTemplate, licenseIPTemplate } from "../templates";
import { Address } from "viem";
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-story/src/actions/getIPDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {
generateObjectDeprecated,
HandlerCallback,
ModelClass,
type IAgentRuntime,
type Memory,
type State,
IAgentRuntime,
Memory,
State,
} from "@elizaos/core";
import { getIPDetailsTemplate } from "../templates";
import { Address } from "viem";
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-story/src/actions/licenseIP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {
generateObjectDeprecated,
HandlerCallback,
ModelClass,
type IAgentRuntime,
type Memory,
type State,
IAgentRuntime,
Memory,
State,
} from "@elizaos/core";
import { WalletProvider } from "../providers/wallet";
import { licenseIPTemplate } from "../templates";
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-story/src/actions/registerIP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {
generateObjectDeprecated,
HandlerCallback,
ModelClass,
type IAgentRuntime,
type Memory,
type State,
IAgentRuntime,
Memory,
State,
} from "@elizaos/core";
import pinataSDK from "@pinata/sdk";
import { RegisterIpResponse } from "@story-protocol/core-sdk";
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-story/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export * from "./actions/getIPDetails";
export * from "./providers/wallet";
export * from "./types";

import type { Plugin } from "@elizaos/core";
import { Plugin } from "@elizaos/core";
import { storyWalletProvider } from "./providers/wallet";
import { registerIPAction } from "./actions/registerIP";
import { licenseIPAction } from "./actions/licenseIP";
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-story/src/providers/wallet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { IAgentRuntime, Provider, Memory, State } from "@elizaos/core";
import { IAgentRuntime, Provider, Memory, State } from "@elizaos/core";
import {
createPublicClient,
createWalletClient,
Expand Down

0 comments on commit 2f3f7cb

Please sign in to comment.