pinme 2.0.0-beta.20 → 2.0.0-beta.21
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 +1 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1523,7 +1523,7 @@ var import_chalk23 = __toESM(require("chalk"));
|
|
|
1523
1523
|
var import_figlet5 = __toESM(require("figlet"));
|
|
1524
1524
|
|
|
1525
1525
|
// package.json
|
|
1526
|
-
var version = "2.0.0-beta.
|
|
1526
|
+
var version = "2.0.0-beta.21";
|
|
1527
1527
|
|
|
1528
1528
|
// bin/upload.ts
|
|
1529
1529
|
var import_path7 = __toESM(require("path"));
|
|
@@ -7113,14 +7113,6 @@ var ENV_URLS = {
|
|
|
7113
7113
|
};
|
|
7114
7114
|
async function loginCmd(options = {}) {
|
|
7115
7115
|
try {
|
|
7116
|
-
const existingAuth = getAuthConfig2();
|
|
7117
|
-
if (existingAuth) {
|
|
7118
|
-
console.log(import_chalk15.default.yellow("Already logged in"));
|
|
7119
|
-
console.log(import_chalk15.default.gray(` Address: ${existingAuth.address}`));
|
|
7120
|
-
console.log(import_chalk15.default.gray(" To re-login, please run: pinme logout\n"));
|
|
7121
|
-
process.exit(0);
|
|
7122
|
-
return;
|
|
7123
|
-
}
|
|
7124
7116
|
let webBaseUrl;
|
|
7125
7117
|
const env = (options.env || "prod").toLowerCase();
|
|
7126
7118
|
if (ENV_URLS[env]) {
|