Update env variable names for credentials

Renamed USERNAME and PASSWORD to CRED_USERNAME and CRED_PASSWORD in .env.example and updated their usage in test.js to improve clarity and avoid potential conflicts.
This commit is contained in:
Gilles Lazures 2026-01-19 02:12:16 +01:00
parent 5c13c3860c
commit 62b73e2a79
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# Credentials
USERNAME="username"
PASSWORD="password"
CRED_USERNAME="username"
CRED_PASSWORD="password"

View File

@ -3,7 +3,7 @@ const { Bifrost } = require("./src/lib")
const bifrost = new Bifrost()
async function main() {
const client = await bifrost.login(process.env.USERNAME, process.env.PASSWORD)
const client = await bifrost.login(process.env.CRED_USERNAME, process.env.CRED_PASSWORD)
}
main()