@apicity/anthropic 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -595,7 +595,7 @@ Source: [`packages/provider/anthropic/src/anthropic.ts`](src/anthropic.ts)
595
595
  import { createAnthropic, withRetry } from "@apicity/anthropic";
596
596
 
597
597
  const anthropic = createAnthropic({ apiKey: process.env.ANTHROPIC_API_KEY! });
598
- const models = withRetry(anthropic.get.v1.models, { retries: 3 });
598
+ const listModels = withRetry(anthropic.get.v1.models.list, { retries: 3 });
599
599
  ```
600
600
 
601
601
  Part of the [apicity](https://github.com/justintanner/apicity) monorepo.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apicity/anthropic",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Anthropic / Claude provider for messages, batches, models, files, and admin APIs.",
5
5
  "license": "MIT",
6
6
  "repository": {