@inkeep/agents-mcp 0.68.0 → 0.68.1
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.
- package/esm/lib/security.js +2 -2
- package/package.json +1 -1
- package/src/lib/security.ts +2 -2
package/esm/lib/security.js
CHANGED
|
@@ -127,12 +127,12 @@ export function resolveGlobalSecurity(security, allowedFields) {
|
|
|
127
127
|
{
|
|
128
128
|
fieldName: "better-auth.session_token",
|
|
129
129
|
type: "apiKey:cookie",
|
|
130
|
-
value: security?.cookieAuth
|
|
130
|
+
value: security?.cookieAuth ?? env().INKEEPAGENTS_COOKIE_AUTH,
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
fieldName: "Authorization",
|
|
134
134
|
type: "http:bearer",
|
|
135
|
-
value: security?.bearerAuth
|
|
135
|
+
value: security?.bearerAuth ?? env().INKEEPAGENTS_BEARER_AUTH,
|
|
136
136
|
},
|
|
137
137
|
],
|
|
138
138
|
];
|
package/package.json
CHANGED
package/src/lib/security.ts
CHANGED
|
@@ -248,12 +248,12 @@ export function resolveGlobalSecurity(
|
|
|
248
248
|
{
|
|
249
249
|
fieldName: "better-auth.session_token",
|
|
250
250
|
type: "apiKey:cookie",
|
|
251
|
-
value: security?.cookieAuth
|
|
251
|
+
value: security?.cookieAuth ?? env().INKEEPAGENTS_COOKIE_AUTH,
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
fieldName: "Authorization",
|
|
255
255
|
type: "http:bearer",
|
|
256
|
-
value: security?.bearerAuth
|
|
256
|
+
value: security?.bearerAuth ?? env().INKEEPAGENTS_BEARER_AUTH,
|
|
257
257
|
},
|
|
258
258
|
],
|
|
259
259
|
];
|