graphlit-client 1.0.20250711001 → 1.0.20250713001

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 +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -404,9 +404,9 @@ if (process.env.OPENAI_API_KEY) {
404
404
  }
405
405
 
406
406
  if (process.env.COHERE_API_KEY) {
407
- const { CohereClient } = await import("cohere-ai");
407
+ const { CohereClientV2 } = await import("cohere-ai");
408
408
  client.setCohereClient(
409
- new CohereClient({ token: process.env.COHERE_API_KEY }),
409
+ new CohereClientV2({ token: process.env.COHERE_API_KEY }),
410
410
  );
411
411
  }
412
412
 
@@ -568,9 +568,9 @@ if (process.env.OPENAI_API_KEY) {
568
568
  }
569
569
 
570
570
  if (process.env.COHERE_API_KEY) {
571
- const { CohereClient } = await import("cohere-ai");
571
+ const { CohereClientV2 } = await import("cohere-ai");
572
572
  client.setCohereClient(
573
- new CohereClient({ token: process.env.COHERE_API_KEY }),
573
+ new CohereClientV2({ token: process.env.COHERE_API_KEY }),
574
574
  );
575
575
  }
576
576
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250711001",
3
+ "version": "1.0.20250713001",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",