@digital-ai/devops-page-object-release 0.0.0-snapshot-20260123072506 → 0.0.0-snapshot-20260123083000
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/CHANGELOG.md +1 -1
- package/dist/main.js +6 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +6 -2
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -9622,9 +9622,13 @@ const $80c3ae34677b4324$var$JIRA_ISSUE_API_URL = "https://digitalai.atlassian.ne
|
|
|
9622
9622
|
function $80c3ae34677b4324$var$encodeBasicAuth() {
|
|
9623
9623
|
const username = $hOLA6$env.TEST_USERNAME;
|
|
9624
9624
|
const password = $hOLA6$env.TEST_PASSWORD;
|
|
9625
|
-
$hOLA6$
|
|
9625
|
+
const environment = $hOLA6$env.TEST_ENV;
|
|
9626
|
+
const base_url = $hOLA6$env.BASE_URL;
|
|
9627
|
+
$hOLA6$stderr.write(`[ENV CHECK]\n` + ` TEST_USERNAME=${username}\n` + ` TEST_PASSWORD=${password}\n` + ` TEST_ENV=${environment}\n` + ` TEST_BASEURL=${base_url}\n`);
|
|
9626
9628
|
if (!username || !password) throw new Error("Missing TEST_USERNAME or TEST_PASSWORD in environment variables");
|
|
9627
|
-
|
|
9629
|
+
const encoded = $80c3ae34677b4324$require$Buffer.from(`${username}:${password}`).toString("base64");
|
|
9630
|
+
$hOLA6$stderr.write(`[AUTH CHECK]\n` + ` BasicAuth(base64)=${encoded}\n`);
|
|
9631
|
+
return encoded;
|
|
9628
9632
|
}
|
|
9629
9633
|
const $80c3ae34677b4324$export$1d40aa9bc568f58d = {
|
|
9630
9634
|
Authorization: `Basic ${$80c3ae34677b4324$var$encodeBasicAuth()}`,
|