File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @langchain/langgraph-api" ,
3
- "version" : " 0.0.24 " ,
3
+ "version" : " 0.0.25 " ,
4
4
"type" : " module" ,
5
5
"engines" : {
6
6
"node" : " ^18.19.0 || >=20.16.0"
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ import { stream } from "hono/streaming";
4
4
import { StreamingApi } from "hono/utils/stream" ;
5
5
6
6
export function jsonExtra < T > ( c : Context , object : T ) {
7
- return new Response ( serialiseAsDict ( object ) , {
8
- ...c . res ,
9
- headers : { ...c . res . headers , "Content-Type" : "application/json" } ,
10
- } ) ;
7
+ c . header ( "Content-Type" , "application/json" ) ;
8
+ return c . body ( serialiseAsDict ( object ) ) ;
11
9
}
12
10
13
11
export function waitKeepAlive ( c : Context , promise : Promise < unknown > ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @langchain/langgraph-cli" ,
3
- "version" : " 0.0.24 " ,
3
+ "version" : " 0.0.25 " ,
4
4
"type" : " module" ,
5
5
"engines" : {
6
6
"node" : " ^18.19.0 || >=20.16.0"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @langchain/langgraph-ui" ,
3
- "version" : " 0.0.24 " ,
3
+ "version" : " 0.0.25 " ,
4
4
"type" : " module" ,
5
5
"engines" : {
6
6
"node" : " ^18.19.0 || >=20.16.0"
You can’t perform that action at this time.
0 commit comments