@bigbinary/neeto-playwright-commons 1.26.26 → 1.26.27

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 CHANGED
@@ -133,7 +133,7 @@ const NEETO_ROUTES = {
133
133
  imageUploader: "/neeto_image_uploader_engine",
134
134
  };
135
135
  const PROFILE_LINKS = {
136
- neetoStatus: "https://www.neetostatus.com/",
136
+ neetoStatus: "https://neetostatus.com/",
137
137
  neetoCommunity: "https://www.launchpass.com/neetohq",
138
138
  };
139
139
 
@@ -57386,6 +57386,8 @@ class FastmailApi {
57386
57386
  constructor(neetoPlaywrightUtilities) {
57387
57387
  this.neetoPlaywrightUtilities = neetoPlaywrightUtilities;
57388
57388
  this.authorizeAndSetAccountId = async () => {
57389
+ if (IS_DEV_ENV)
57390
+ return;
57389
57391
  const response = await this.neetoPlaywrightUtilities.apiRequest({
57390
57392
  method: "get",
57391
57393
  url: "https://api.fastmail.com/.well-known/jmap",
@@ -57411,7 +57413,7 @@ class FastmailApi {
57411
57413
  url: `https://www.fastmailusercontent.com/jmap/download/${this.accountId}/${blobId}/${attachmentName}`,
57412
57414
  headers: this.headers,
57413
57415
  });
57414
- if (!process.env.NEETO_AUTOMATION_FASTMAIL_API_KEY)
57416
+ if (!IS_DEV_ENV && !process.env.NEETO_AUTOMATION_FASTMAIL_API_KEY)
57415
57417
  throw new Error("Please set the environment variable NEETO_AUTOMATION_FASTMAIL_API_KEYS. Credentials can be found in the Automation Credentials vault in the BigBinary 1Password account.");
57416
57418
  this.headers = {
57417
57419
  "Content-Type": "application/json",