@bigbinary/neeto-playwright-commons 1.22.7 → 1.22.8
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 +11 -1
- package/index.cjs.js.map +1 -1
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -48016,6 +48016,7 @@ class FastmailApi {
|
|
|
48016
48016
|
method: "post",
|
|
48017
48017
|
url: "https://api.fastmail.com/jmap/api/",
|
|
48018
48018
|
headers: this.headers,
|
|
48019
|
+
timeout: 2000,
|
|
48019
48020
|
data: {
|
|
48020
48021
|
using: ["urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail"],
|
|
48021
48022
|
methodCalls: [[method, { accountId: this.accountId, ...body }, "0"]],
|
|
@@ -48077,7 +48078,16 @@ class MailerUtils {
|
|
|
48077
48078
|
limit,
|
|
48078
48079
|
position,
|
|
48079
48080
|
};
|
|
48080
|
-
|
|
48081
|
+
let ids = [], total = 0;
|
|
48082
|
+
try {
|
|
48083
|
+
({
|
|
48084
|
+
methodResponses: [[, { ids, total }]],
|
|
48085
|
+
} = await this.fastmailApi.apiRequest("Email/query", body));
|
|
48086
|
+
}
|
|
48087
|
+
catch (_a) {
|
|
48088
|
+
ids = [];
|
|
48089
|
+
total = 0;
|
|
48090
|
+
}
|
|
48081
48091
|
return { ids, total };
|
|
48082
48092
|
};
|
|
48083
48093
|
this.getEmails = async (ids) => {
|