From 9438216e9ce2aed13d4388eec14dfd7ed9ee260f Mon Sep 17 00:00:00 2001 From: claude-sandbox bot Date: Thu, 3 Dec 2026 21:24:12 +0000 Subject: [PATCH] docs(readme): point @diffbot/typescript minor at package.json, not a hard-coded version The README hard-coded ^0.3.0 as the current @diffbot/typescript minor, which went stale once the dependency moved to ^0.6.0. Reference the dependency range in package.json instead; the rule (injected client stays on the same minor) is unchanged. Co-Authored-By: Claude Haiku 5.5 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 08a9c76..6cd680d 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ bun add @diffbot/ai-sdk `@diffbot/typescript` is a dependency of this package, so that one install is the Diffbot install. Add `@diffbot/typescript` yourself only when you construct a `DiffbotClient` to inject, and keep it -on the same minor (`^0.3.0` today). +on the same minor as this package's `@diffbot/typescript` dependency in `package.json`. Peers: @@ -98,9 +98,9 @@ does not take a `DiffbotClient` — the provider uses the AI SDK HTTP stack, not ### Injected client -Keep an injected `@diffbot/typescript` on the same minor as this package's dependency (`^0.3.0`). A -second copy from another minor fails typechecking with a private `fetchFn` error. One 0.3.x copy in -the tree is the normal npm layout. +Keep an injected `@diffbot/typescript` on the same minor as this package's dependency (the range in +`package.json`). A second copy from another minor fails typechecking with a private `fetchFn` error. +One copy on that minor in the tree is the normal npm layout. ```ts import { DiffbotClient } from "@diffbot/typescript";