pairit 0.1.6 → 0.1.7
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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9528,9 +9528,9 @@ async function login() {
|
|
|
9528
9528
|
});
|
|
9529
9529
|
const redirectUri = `http://127.0.0.1:${port}`;
|
|
9530
9530
|
const targetUrl = `${loginUrl}?cli_redirect_uri=${encodeURIComponent(redirectUri)}`;
|
|
9531
|
-
console.log(
|
|
9531
|
+
console.log(`Opening ${loginUrl} in your browser...`);
|
|
9532
9532
|
await open2(targetUrl);
|
|
9533
|
-
console.log(
|
|
9533
|
+
console.log("Waiting for sign-in to complete...");
|
|
9534
9534
|
const authCode = await new Promise((resolve, reject) => {
|
|
9535
9535
|
const timeout = setTimeout(() => {
|
|
9536
9536
|
server.close();
|
|
@@ -9666,7 +9666,7 @@ async function loadKeytar() {
|
|
|
9666
9666
|
|
|
9667
9667
|
// src/index.ts
|
|
9668
9668
|
var program2 = new Command;
|
|
9669
|
-
program2.name("pairit").description("CLI for Pairit experiment configs").version("0.1.
|
|
9669
|
+
program2.name("pairit").description("CLI for Pairit experiment configs").version("0.1.7");
|
|
9670
9670
|
program2.command("login").description("Login to Pairit Manager").action(async () => {
|
|
9671
9671
|
try {
|
|
9672
9672
|
await login();
|