-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): add discover features protocol #390
feat(core): add discover features protocol #390
Conversation
Signed-off-by: Timo Glastra <[email protected]>
@@ -49,5 +49,8 @@ | |||
"rimraf": "~3.0.2", | |||
"tslog": "^3.2.0", | |||
"typescript": "~4.3.0" | |||
}, | |||
"resolutions": { | |||
"@types/node": "^15.14.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@types/node v16 was released recently which causes errors with some the types. I'm not sure if it is an error in the types (the error seems weird), so for now we can stick to types of node 15
Codecov Report
@@ Coverage Diff @@
## main #390 +/- ##
==========================================
- Coverage 86.42% 86.41% -0.01%
==========================================
Files 234 244 +10
Lines 4803 4918 +115
Branches 750 763 +13
==========================================
+ Hits 4151 4250 +99
- Misses 652 668 +16
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM--I have not tested
@@ -34,6 +36,15 @@ class Dispatcher { | |||
|
|||
const outboundMessage = await handler.handle(messageContext) | |||
|
|||
// Emit event that allows to hook into received messages | |||
this.eventEmitter.emit<AgentMessageProcessedEvent>({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really like this addition
Add discover features protocol.
Currently working on aries-toolbox integration where this is required for.