chore: bump version to 2.21.17 and update dependencies (#431)
* chore: bump version to 2.21.17 and update dependencies
This commit is contained in:
committed by
GitHub
parent
26184ed082
commit
c4a961e93d
@@ -71,7 +71,9 @@ export class Mailbox {
|
||||
});
|
||||
|
||||
if (email !== json.To[0]!.Address) {
|
||||
throw new Error(`Email address mismatch. Expected ${email}, got ${json.To[0]!.Address}`);
|
||||
throw new Error(
|
||||
`Email address mismatch. Expected ${email}, got ${json.To[0]!.Address}`,
|
||||
);
|
||||
}
|
||||
|
||||
const el = parse(json.HTML);
|
||||
@@ -110,7 +112,9 @@ export class Mailbox {
|
||||
}
|
||||
|
||||
if (email !== json.To[0]!.Address) {
|
||||
throw new Error(`Email address mismatch. Expected ${email}, got ${json.To[0]!.Address}`);
|
||||
throw new Error(
|
||||
`Email address mismatch. Expected ${email}, got ${json.To[0]!.Address}`,
|
||||
);
|
||||
}
|
||||
|
||||
const text = json.HTML.match(
|
||||
@@ -151,8 +155,8 @@ export class Mailbox {
|
||||
|
||||
const message = params.subject
|
||||
? (() => {
|
||||
const filtered = messagesResponse.messages.filter(
|
||||
(item) => item.Subject.includes(params.subject!),
|
||||
const filtered = messagesResponse.messages.filter((item) =>
|
||||
item.Subject.includes(params.subject!),
|
||||
);
|
||||
|
||||
console.log(
|
||||
@@ -238,4 +242,4 @@ export class Mailbox {
|
||||
Attachments: Array<any>;
|
||||
}>;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user