Compare commits

..

5 Commits

Author SHA1 Message Date
354c38a429 1.0.10 2019-10-28 16:10:20 +01:00
f477cad6e9 fix(core): update 2019-10-28 16:10:20 +01:00
631aaadb43 1.0.9 2019-10-28 16:07:15 +01:00
a831cf7e9a fix(core): update 2019-10-28 16:07:14 +01:00
e6125c9a13 1.0.8 2019-10-28 15:57:11 +01:00
4 changed files with 4 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@mojoio/mailgun", "name": "@mojoio/mailgun",
"version": "1.0.7", "version": "1.0.10",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@mojoio/mailgun", "name": "@mojoio/mailgun",
"version": "1.0.7", "version": "1.0.10",
"private": false, "private": false,
"description": "an api abstraction package for mailgun", "description": "an api abstraction package for mailgun",
"main": "dist/index.js", "main": "dist/index.js",

View File

@ -25,7 +25,7 @@ tap.test('should create a smartmail', async () => {
}); });
tap.test('should send a smartmail', async () => { tap.test('should send a smartmail', async () => {
testMailgunAccount.sendSmartMail(testSmartmail, 'phil@lossless.com'); testMailgunAccount.sendSmartMail(testSmartmail, 'sandbox@mail.git.zone');
}); });
tap.start(); tap.start();

View File

@ -28,7 +28,7 @@ export class MailgunAccount {
{ {
headers: { headers: {
Authorization: `Basic ${plugins.smartstring.base64.encode( Authorization: `Basic ${plugins.smartstring.base64.encode(
`api:key-a049e048b7029b9621c41b5682fadee9` this.apiToken
)}` )}`
} }
}, },