diff --git a/connectors/trpc/README.md b/connectors/trpc/README.md index 4f2d7a82..73c8bc45 100644 --- a/connectors/trpc/README.md +++ b/connectors/trpc/README.md @@ -14,19 +14,19 @@ The Inferable tRPC Adapter allows you to expose your existing tRPC router endpoi ### npm ```bash -npm install @inferable/trpc-connector +npm install @inferable/trpc-adapter ``` ### yarn ```bash -yarn add @inferable/trpc-connector +yarn add @inferable/trpc-adapter ``` ### pnpm ```bash -pnpm add @inferable/trpc-connector +pnpm add @inferable/trpc-adapter ``` ## Quick Start @@ -34,7 +34,7 @@ pnpm add @inferable/trpc-connector Create your tRPC router with the Inferable plugin: ```ts -import { inferablePlugin } from "@inferable/trpc-connector"; +import { inferablePlugin } from "@inferable/trpc-adapter"; const t = initTRPC.create(); const withInferable = inferablePlugin(); @@ -53,7 +53,7 @@ const appRouter = t.router({ Create an Inferable service from your router: ```ts -import { createInferableService } from "@inferable/trpc-connector"; +import { createInferableService } from "@inferable/trpc-adapter"; import { Inferable } from "inferable"; const client = new Inferable({ diff --git a/connectors/trpc/package.json b/connectors/trpc/package.json index ceef6859..edf81407 100644 --- a/connectors/trpc/package.json +++ b/connectors/trpc/package.json @@ -1,6 +1,6 @@ { "name": "@inferable/trpc-adapter", - "version": "0.1.1", + "version": "0.1.2", "description": "Build your Inferable agent functions from your existing tRPC procedures.", "main": "dist/index.js", "types": "dist/index.d.ts",