Skip to content

Commit

Permalink
feat: import type from toolkit sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Feb 3, 2025
1 parent 9dc90b8 commit ce638d3
Show file tree
Hide file tree
Showing 5 changed files with 475 additions and 59 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-aithra-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "dist/index.d.ts",
"dependencies": {
"@elizaos/core": "workspace:*",
"agent-sdk": "link:/Users/bucurdavid/dev/itheum/agent-sdk",
"sdk-aithra-toolkit": "/Users/bucurdavid/dev/itheum/sdk-aithra-toolkit",
"@solana/web3.js": "1.95.8",
"bs58": "6.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-aithra-toolkit/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { aithraToolkitPlugin } from "./plugins/aithraToolkitPlugin";

export * from "./plugins/aithraToolkitPlugin";
export * from "./types";
export * from "./services/aithraService";
export * from "sdk-aithra-toolkit";

export default aithraToolkitPlugin;
3 changes: 1 addition & 2 deletions packages/plugin-aithra-toolkit/src/services/aithraService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ import {
ServiceType,
} from "@elizaos/core";
import { Connection, Keypair } from "@solana/web3.js";
import { AithraManager } from "agent-sdk";
import { AithraManager, type TrackInfo } from "sdk-aithra-toolkit";
import bs58 from "bs58";
import * as fs from "fs";
import * as os from "os";
import * as path from "path";
import { TrackInfo } from "../types";

export class AithraService extends Service {
private manager: AithraManager;
Expand Down
10 changes: 0 additions & 10 deletions packages/plugin-aithra-toolkit/src/types.ts

This file was deleted.

Loading

0 comments on commit ce638d3

Please sign in to comment.