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

feat: add whatsapp provider #166

Merged
merged 7 commits into from May 14, 2024
Merged

feat: add whatsapp provider #166

merged 7 commits into from May 14, 2024

Conversation

BDav24
Copy link
Member

@BDav24 BDav24 commented May 6, 2024

No description provided.

…iaType and templates

refactor(whatsapp/infobip.js): streamline payload construction for clarity and efficiency
chore: bump package version to 1.16.1 for release
style(notificationCatcher.js): add debug log for testing purposes
…ocessing

- Add `_isArray` utility to handle responses as arrays for consistency
- Modify payload construction to strip leading `+` from `from` and `to` fields for normalization
- Simplify payload by removing `urlOptions` and adjusting `content` handling
- Improve error handling to cover more cases and provide clearer error messages
- Update `WhatsappRequestType` to accept `content` as an object and add `language` field to support new message formats and options

chore: bump package version to 1.16.8 to reflect new features and fixes
@BDav24 BDav24 merged commit dccbee2 into master May 14, 2024
7 checks passed
@BDav24 BDav24 deleted the feat/whatsapp branch May 14, 2024 10:00
github-actions bot pushed a commit that referenced this pull request May 14, 2024
# [1.16.0](v1.15.4...v1.16.0) (2024-05-14)

### Features

* add whatsapp provider ([#166](#166)) ([dccbee2](dccbee2))
Copy link
Contributor

🎉 This PR is included in version 1.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants