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.
9 lines
225 B
JavaScript
9 lines
225 B
JavaScript
require("dotenv").config()
|
|
const { Bifrost } = require("./src/lib")
|
|
const bifrost = new Bifrost()
|
|
|
|
async function main() {
|
|
const client = await bifrost.login(process.env.CRED_USERNAME, process.env.CRED_PASSWORD)
|
|
}
|
|
|
|
main() |