Skip to content
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

Add envelope_id to Socket Mode listener arguments #1466

Merged
merged 1 commit into from Apr 14, 2022

Conversation

seratch
Copy link
Member

@seratch seratch commented Apr 14, 2022

Summary

This pull request enhances the payload data to have envelope_id for all listeners.

The motivation that I would like to add this property is for better debug-level logging on the bolt-js side. In most cases, developers do not need to directly use envelope_id as the ack() method does everything for you. However, the libraries built on top of @slack/socket-mode may want to use the property for logging and so on.

Requirements (place an x in each [ ])

@seratch seratch added enhancement M-T: A feature request for new functionality pkg:socket-mode applies to `@slack/socket-mode` labels Apr 14, 2022
@seratch seratch added this to the socket-mode@1.3.0 milestone Apr 14, 2022
@seratch seratch requested a review from filmaj April 14, 2022 05:50
@seratch seratch self-assigned this Apr 14, 2022
Copy link
Contributor

@filmaj filmaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: and thanks for expanding the tests!

@seratch seratch changed the title Add envelop_id to Socket Mode listener arguments Add envelope_id to Socket Mode listener arguments Apr 14, 2022
@seratch seratch merged commit 553e7f4 into slackapi:main Apr 14, 2022
@seratch seratch deleted the socket-mode-envelope_id branch April 14, 2022 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement M-T: A feature request for new functionality pkg:socket-mode applies to `@slack/socket-mode`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants