pull transport send options into own named type

This commit is contained in:
ihrpr 2025-04-15 11:42:16 +01:00
commit 1359e9fe6a
No known key found for this signature in database

View file

@ -247,8 +247,8 @@ describe('Transport resumability', () => {
}
}
}, CallToolResultSchema, {
lastEventId,
onLastEventIdUpdate
resumptionToken: lastEventId,
onresumptiontoken: onLastEventIdUpdate
});
// Wait for some notifications to arrive (not all)
@ -311,8 +311,8 @@ describe('Transport resumability', () => {
}
}
}, CallToolResultSchema, {
lastEventId, // Pass the lastEventId from the previous session
onLastEventIdUpdate
resumptionToken: lastEventId, // Pass the lastEventId from the previous session
onresumptiontoken: onLastEventIdUpdate
});
// Verify we eventually received at leaset a few motifications