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(nexmo.js): add support for Nexmo/Vonage SMS #136

Merged
merged 2 commits into from
Dec 16, 2021
Merged

Conversation

ranrib
Copy link
Contributor

@ranrib ranrib commented Dec 15, 2021

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Supports Vonage/Nexmo SMS

  • What is the current behavior? (You can also link to an open issue here)
    implements Add new Nexmo provider #26

  • What is the new behavior (if this is a feature change)?

  • Other information:

@@ -0,0 +1,15 @@
# Notifire Nexmo Provider

A Nexmo sns provider library for [@notifire/core](https://github.com/notifirehq/notifire)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually sns seems like the boilerplate bug @scopsy

Copy link
Contributor

Choose a reason for hiding this comment

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

@ranrib on it, thanks!

Copy link
Contributor

@scopsy scopsy left a comment

Choose a reason for hiding this comment

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

Looks amazing! Know a few folk who will be really excited for this one 🎉

If you could just run prettier on the provider file, until we will fix the precommit hook to run it automatically

options.content,
{},
(err, responseData) => {
if (err) reject(err);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (err) reject(err);
if (err) return reject(err);

Missing a return here :)

from: string;
}
) {
this.vonageClient = new Vonage({apiKey: config.apiKey, apiSecret: config.apiSecret});
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please run prettier in this file? 💅 @matthiez is taking a look at why it's not working on the precommit hook

@@ -0,0 +1,15 @@
# Notifire Nexmo Provider

A Nexmo sns provider library for [@notifire/core](https://github.com/notifirehq/notifire)
Copy link
Contributor

Choose a reason for hiding this comment

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

@ranrib on it, thanks!

@scopsy scopsy mentioned this pull request Dec 15, 2021
@scopsy scopsy linked an issue Dec 15, 2021 that may be closed by this pull request
@gitpod-io
Copy link

gitpod-io bot commented Dec 16, 2021

@vercel
Copy link

vercel bot commented Dec 16, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/dimagrossman/docs/GMLvgrzKCPPdkVt1bHnFwYja2kgv
✅ Preview: Canceled

@ranrib
Copy link
Contributor Author

ranrib commented Dec 16, 2021

All fixed @scopsy

@scopsy scopsy changed the base branch from master to v0.3.0 December 16, 2021 07:27
@scopsy scopsy merged commit 7b9063e into novuhq:v0.3.0 Dec 16, 2021
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.

Add new Nexmo provider
2 participants