fix(core): update

This commit is contained in:
Philipp Kunz 2020-01-13 14:34:13 +00:00
parent 157bf6a893
commit 6643b9c3dd
3 changed files with 10 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@mojoio/mailgun", "name": "@mojoio/mailgun",
"version": "1.0.17", "version": "1.0.18",
"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.17", "version": "1.0.18",
"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

@ -11,8 +11,8 @@ export interface IMailgunNotification {
'X-Google-Dkim-Signature': string; 'X-Google-Dkim-Signature': string;
To: string; To: string;
'Dkim-Signature': string; 'Dkim-Signature': string;
subject: 'Booking confirmation (Order 12PN8P)'; subject: string;
from: 'buchungsbestaetigung@bahn.de'; from: string;
'X-Received': string[]; 'X-Received': string[];
'Ironport-Sdr': string; 'Ironport-Sdr': string;
'Arc-Authentication-Results': string[]; 'Arc-Authentication-Results': string[];
@ -32,13 +32,16 @@ export interface IMailgunNotification {
'X-Forwarded-For': string; 'X-Forwarded-For': string;
'X-Gm-Message-State': string; 'X-Gm-Message-State': string;
'X-Google-Smtp-Source': string; 'X-Google-Smtp-Source': string;
'X-Envelope-From': '<phil+caf_=invoiceinbox=mail.lossless.one@lossless.com>'; 'X-Envelope-From': string;
'Content-Type': 'multipart/mixed; boundary="----=_Part_220882_156025801.1578848484963"'; 'Content-Type': string;
'X-Forwarded-To': 'invoiceinbox@mail.lossless.one'; 'X-Forwarded-To': string;
Subject: string; Subject: string;
attachments: string; attachments: string;
'body-plain': string; 'body-plain': string;
'stripped-text': string; 'stripped-text': string;
'stripped-html': string; 'stripped-html': string;
'stripped-signature': string; 'stripped-signature': string;
// Lossless specific
X-Lossless-Auth: string
} }