Merge branch 'main' into handle-empty-json-fields
This commit is contained in:
commit
50131c6960
1 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ import {
|
|||
ListRootsRequestSchema,
|
||||
ProgressNotificationSchema,
|
||||
ResourceUpdatedNotificationSchema,
|
||||
LoggingMessageNotificationSchema,
|
||||
Request,
|
||||
Result,
|
||||
ServerCapabilities,
|
||||
|
|
@ -258,6 +259,11 @@ export function useConnection({
|
|||
ResourceUpdatedNotificationSchema,
|
||||
onNotification,
|
||||
);
|
||||
|
||||
client.setNotificationHandler(
|
||||
LoggingMessageNotificationSchema,
|
||||
onNotification,
|
||||
);
|
||||
}
|
||||
|
||||
if (onStdErrNotification) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue