Skip to content

Commit f33fc0d

Browse files
committed
fixed package name
1 parent 73dbb9e commit f33fc0d

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/content/docs/agents/client.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ The AgentClient simplifies communication with Agent APIs by:
2525
## Installation
2626

2727
```sh
28-
npm install @torus-network/torus-ts-sdk
28+
npm install @@torus-network/sdk
2929
```
3030

3131
## Basic Usage
3232

3333
```ts
34-
import { AgentClient, Keypair } from "@torus-network/torus-ts-sdk";
34+
import { AgentClient, Keypair } from "@@torus-network/sdk";
3535

3636
// Create a keypair from your mnemonic
3737
const keypair = new Keypair(
@@ -75,7 +75,7 @@ interface AgentClientOptions {
7575
The `Keypair` class handles SR25519 key generation and JWT token creation:
7676

7777
```ts
78-
import { Keypair } from "@torus-network/torus-ts-sdk";
78+
import { Keypair } from "@@torus-network/sdk";
7979

8080
// Create from mnemonic
8181
const keypair = new Keypair(
@@ -301,7 +301,7 @@ if (response.success) {
301301
### Memory Agent Client
302302

303303
```ts
304-
import { AgentClient, Keypair } from "@torus-network/torus-ts-sdk";
304+
import { AgentClient, Keypair } from "@@torus-network/sdk";
305305

306306
class MemoryAgentClient {
307307
private client: AgentClient;
@@ -414,7 +414,7 @@ if (searchResult.success) {
414414
### Environment-based Configuration
415415

416416
```ts
417-
import { AgentClient, Keypair } from "@torus-network/torus-ts-sdk";
417+
import { AgentClient, Keypair } from "@@torus-network/sdk";
418418

419419
// Environment configuration
420420
const config = {

src/content/docs/agents/server-setup.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ The AgentServer uses **Hono** for HTTP routing and **Zod** for input validation,
2828
## Installation
2929

3030
```sh
31-
npm install @torus-network/torus-ts-sdk
31+
npm install @@torus-network/sdk
3232
```
3333

3434
## Basic Usage
3535

3636
```ts
37-
import { AgentServer } from "@torus-network/torus-ts-sdk";
37+
import { AgentServer } from "@@torus-network/sdk";
3838
import { z } from "zod";
3939

4040
const agent = new AgentServer({
@@ -443,7 +443,7 @@ Visit `http://localhost:3000/docs` to view the interactive API documentation.
443443
Multi method agent is an agent that defines more than 1 method.
444444

445445
```ts
446-
import { AgentServer } from "@torus-network/torus-ts-sdk";
446+
import { AgentServer } from "@@torus-network/sdk";
447447
import { z } from "zod";
448448

449449
const memoryAgent = new AgentServer({

0 commit comments

Comments
 (0)