@bigbinary/neeto-playwright-commons 1.12.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +2 -1
- package/index.cjs.js.map +1 -1
- package/index.d.ts +5 -0
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -3733,7 +3733,7 @@ class MailerUtils {
|
|
|
3733
3733
|
};
|
|
3734
3734
|
const { methodResponses: [[, { list }]], } = await this.fastmailApiRequest("Email/get", messageDetailsBody);
|
|
3735
3735
|
const formattedList = list.map((listItem) => {
|
|
3736
|
-
const { id, from, to, bodyValues, cc, bcc, receivedAt, subject } = listItem;
|
|
3736
|
+
const { id, from, to, bodyValues, cc, bcc, replyTo, receivedAt, subject, } = listItem;
|
|
3737
3737
|
const emailBody = Object.values(ramda.pluck("value", bodyValues)).join(" ");
|
|
3738
3738
|
const emailBodyWithStrippedHead = emailBody.split("</head>").at(-1);
|
|
3739
3739
|
const links = emailBodyWithStrippedHead.match(/(http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])/g);
|
|
@@ -3758,6 +3758,7 @@ class MailerUtils {
|
|
|
3758
3758
|
to,
|
|
3759
3759
|
cc,
|
|
3760
3760
|
bcc,
|
|
3761
|
+
replyTo,
|
|
3761
3762
|
received: new Date(receivedAt),
|
|
3762
3763
|
subject,
|
|
3763
3764
|
};
|