@layer-ai/core 2.0.38 → 2.0.40

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.
@@ -256,7 +256,7 @@ router.post('/', authenticateAnthropicCompatible, async (req, res) => {
256
256
  console.error('Failed to track spending:', err);
257
257
  });
258
258
  const anthropicResponse = convertLayerResponseToAnthropic(result);
259
- res.json(anthropicResponse);
259
+ res.json({ ...anthropicResponse, usedPlatformKey: result.usedPlatformKey ?? false });
260
260
  }
261
261
  catch (error) {
262
262
  const latencyMs = Date.now() - startTime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layer-ai/core",
3
- "version": "2.0.38",
3
+ "version": "2.0.40",
4
4
  "description": "Core API routes and services for Layer AI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",