From fd52122e0a0ebcbed1f589c3aac8a1813753ddbe Mon Sep 17 00:00:00 2001 From: Christopher Dabu Date: Fri, 29 Nov 2024 15:13:57 +0800 Subject: [PATCH] Chnage source to raw --- lib/mail-drop.js | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/mail-drop.js b/lib/mail-drop.js index 8ec6924..971745b 100644 --- a/lib/mail-drop.js +++ b/lib/mail-drop.js @@ -164,7 +164,7 @@ class MailDrop { messageHashStream.emit('error', err); }); } else { - const encryptedStream = await envelope.signEML(source); + const encryptedStream = await envelope.signEML(raw); encryptedStream.pipe(messageHashStream); encryptedStream.once('error', err => { messageHashStream.emit('error', err); diff --git a/package-lock.json b/package-lock.json index b412833..b5f79dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@pulsar-sd/zone-mta", - "version": "0.1.8", + "version": "0.1.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pulsar-sd/zone-mta", - "version": "0.1.8", + "version": "0.1.9", "license": "EUPL-1.1+", "dependencies": { "base32.js": "0.1.0", diff --git a/package.json b/package.json index 7d0772e..7e2818d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@pulsar-sd/zone-mta", "private": false, - "version": "0.1.8", + "version": "0.1.9", "description": "Tiny outbound MTA", "main": "app.js", "scripts": {