Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions src/API1.0/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ const KeyAuthApp = new KeyAuth(
console.log(` Number of keys: ${KeyAuthApp.app_data.numKeys}`);
console.log(` Application Version: ${KeyAuthApp.app_data.version}`);
console.log(` Customer panel link: ${KeyAuthApp.app_data.customerPanelLink}\n`);
await KeyAuthApp.check();
await KeyAuthApp.sleep(1200);
console.log(
` Current Session Validation Status: ${KeyAuthApp.response.message}`
);
console.log(
` Current Session Validation took: ${KeyAuthApp.responseTime}`
);

var username, password, license, email = "";

Expand Down Expand Up @@ -130,13 +122,8 @@ const KeyAuthApp = new KeyAuth(
);
}

KeyAuthApp.check();
console.log(
` Current Session Validation Status: ${KeyAuthApp.response.message}`
);

console.log("\n\n Closing in 10 seconds...");
await KeyAuthApp.sleep(10000);
console.log("\n\n Closing in 5 seconds...");
await KeyAuthApp.sleep(5000);
process.exit(0);

}
Expand Down
19 changes: 3 additions & 16 deletions src/API1.1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ const KeyAuthApp = new KeyAuth(
console.log(` Number of keys: ${KeyAuthApp.app_data.numKeys}`);
console.log(` Application Version: ${KeyAuthApp.app_data.version}`);
console.log(` Customer panel link: ${KeyAuthApp.app_data.customerPanelLink}\n`);
await KeyAuthApp.check();
await KeyAuthApp.sleep(1200);
console.log(
` Current Session Validation Status: ${KeyAuthApp.response.message}`
);
console.log(
` Current Session Validation took: ${KeyAuthApp.responseTime}`
);

var username, password, license, email = "";

Expand Down Expand Up @@ -131,14 +123,9 @@ const KeyAuthApp = new KeyAuth(
}`
);
}

KeyAuthApp.check();
console.log(
` Current Session Validation Status: ${KeyAuthApp.response.message}`
);

console.log("\n\n Closing in 10 seconds...");
await KeyAuthApp.sleep(10000);

console.log("\n\n Closing in 5 seconds...");
await KeyAuthApp.sleep(5000);
process.exit(0);

}
Expand Down