@trycourier/courier
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@trycourier/courier", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A node.js module for communicating with the Courier REST API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -16,8 +16,8 @@ # `@trycourier/courier` | ||
const { send } = CourierClient({ authenticationCode: "<YOUR_AUTH_CODE>" }) | ||
const { send } = CourierClient({ authenticationCode: "<AUTH_CODE>" }); | ||
function run () { | ||
async function run () { | ||
const { messageId } = await send({ | ||
eventId: "<YOUR_EVENT_ID>", | ||
eventId: "<EVENT_ID>", | ||
recipientId: "<RECIPIENT_ID>", | ||
@@ -24,0 +24,0 @@ profile: {}, // optional |
7473