Skip to content

Allow emitters to return custom data #349

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

Merged
merged 4 commits into from
Aug 1, 2024
Merged

Allow emitters to return custom data #349

merged 4 commits into from
Aug 1, 2024

Conversation

Secreto31126
Copy link
Owner

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time.
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with npm run test and lint the project with npm run lint and npm run prettier

#335 (comment)

Now it's possible to return custom data from the OnMessage and OnStatus events, which will be the post() return value.

@Secreto31126 Secreto31126 merged commit 05f35f0 into main Aug 1, 2024
@Secreto31126 Secreto31126 deleted the emitters-update branch August 1, 2024 07:20
Copy link

github-actions bot commented Aug 1, 2024

Visit the preview URL for this PR (updated for commit 0a10cee):

https://whatsappapijs--pr349-emitters-update-8h99onvh.web.app

(expires Thu, 08 Aug 2024 07:22:34 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 80a8dc4ceea5c783aae1d47b75797ee5b6c2f4be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant