Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@ai-sdk/gateway

Package Overview
Dependencies
Maintainers
3
Versions
283
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/gateway - npm Package Compare versions

Comparing version
3.0.54
to
3.0.55
+6
-0
CHANGELOG.md
# @ai-sdk/gateway
## 3.0.55
### Patch Changes
- e8172b6: feat (provider/gateway): pass through project id when available for o11y
## 3.0.54

@@ -4,0 +10,0 @@

+7
-2

@@ -1339,3 +1339,3 @@ "use strict";

// src/version.ts
var VERSION = true ? "3.0.54" : "0.0.0-test";
var VERSION = true ? "3.0.55" : "0.0.0-test";

@@ -1385,2 +1385,6 @@ // src/gateway-provider.ts

});
const projectId = (0, import_provider_utils11.loadOptionalSetting)({
settingValue: void 0,
environmentVariableName: "VERCEL_PROJECT_ID"
});
return async () => {

@@ -1392,3 +1396,4 @@ const requestId = await getVercelRequestId();

...region && { "ai-o11y-region": region },
...requestId && { "ai-o11y-request-id": requestId }
...requestId && { "ai-o11y-request-id": requestId },
...projectId && { "ai-o11y-project-id": projectId }
};

@@ -1395,0 +1400,0 @@ };

@@ -1359,3 +1359,3 @@ // src/gateway-provider.ts

// src/version.ts
var VERSION = true ? "3.0.54" : "0.0.0-test";
var VERSION = true ? "3.0.55" : "0.0.0-test";

@@ -1405,2 +1405,6 @@ // src/gateway-provider.ts

});
const projectId = loadOptionalSetting({
settingValue: void 0,
environmentVariableName: "VERCEL_PROJECT_ID"
});
return async () => {

@@ -1412,3 +1416,4 @@ const requestId = await getVercelRequestId();

...region && { "ai-o11y-region": region },
...requestId && { "ai-o11y-request-id": requestId }
...requestId && { "ai-o11y-request-id": requestId },
...projectId && { "ai-o11y-project-id": projectId }
};

@@ -1415,0 +1420,0 @@ };

{
"name": "@ai-sdk/gateway",
"private": false,
"version": "3.0.54",
"version": "3.0.55",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "sideEffects": false,

@@ -188,2 +188,6 @@ import {

});
const projectId = loadOptionalSetting({
settingValue: undefined,
environmentVariableName: 'VERCEL_PROJECT_ID',
});

@@ -197,2 +201,3 @@ return async () => {

...(requestId && { 'ai-o11y-request-id': requestId }),
...(projectId && { 'ai-o11y-project-id': projectId }),
};

@@ -199,0 +204,0 @@ };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display