File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @modelcontextprotocol/sdk" ,
3
- "version" : " 1.0.3 " ,
3
+ "version" : " 1.0.4 " ,
4
4
"description" : " Model Context Protocol implementation for TypeScript" ,
5
5
"license" : " MIT" ,
6
6
"author" : " Anthropic, PBC (https://anthropic.com)" ,
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ export abstract class Protocol<
278
278
}
279
279
280
280
private _onprogress ( notification : ProgressNotification ) : void {
281
- const { progress , total , progressToken } = notification . params ;
281
+ const { progressToken , ... params } = notification . params ;
282
282
const handler = this . _progressHandlers . get ( Number ( progressToken ) ) ;
283
283
if ( handler === undefined ) {
284
284
this . _onerror (
@@ -289,7 +289,7 @@ export abstract class Protocol<
289
289
return ;
290
290
}
291
291
292
- handler ( { progress , total } ) ;
292
+ handler ( params ) ;
293
293
}
294
294
295
295
private _onresponse ( response : JSONRPCResponse | JSONRPCError ) : void {
You can’t perform that action at this time.
0 commit comments