graphlit-client 1.0.20250612006 → 1.0.20250612007

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/dist/client.js +8 -4
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -1417,11 +1417,15 @@ class Graphlit {
1417
1417
  if (specification) {
1418
1418
  const serviceType = specification.serviceType;
1419
1419
  if (process.env.DEBUG_GRAPHLIT_SDK_INITIALIZATION) {
1420
- console.log("[supportsStreaming] Checking support for:", {
1420
+ console.log("[supportsStreaming] Checking support for specification:", {
1421
+ specificationName: specification.name,
1421
1422
  serviceType,
1422
- hasOpenAI: OpenAI !== undefined || this.openaiClient !== undefined,
1423
- hasAnthropic: Anthropic !== undefined || this.anthropicClient !== undefined,
1424
- hasGoogle: GoogleGenerativeAI !== undefined || this.googleClient !== undefined,
1423
+ moduleOpenAI: OpenAI !== undefined,
1424
+ instanceOpenAI: this.openaiClient !== undefined,
1425
+ moduleAnthropic: Anthropic !== undefined,
1426
+ instanceAnthropic: this.anthropicClient !== undefined,
1427
+ moduleGoogle: GoogleGenerativeAI !== undefined,
1428
+ instanceGoogle: this.googleClient !== undefined,
1425
1429
  });
1426
1430
  }
1427
1431
  switch (serviceType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250612006",
3
+ "version": "1.0.20250612007",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",