sim 2.1.8-preview.96.1 → 2.1.8-preview.97.1
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/README.md +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ sim login
|
|
|
36
36
|
The CLI opens Sim in your browser, asks you to approve the requested access,
|
|
37
37
|
and receives the one-time authorization code on a loopback callback. It stores
|
|
38
38
|
a short-lived OAuth login that renews automatically and can be revoked under
|
|
39
|
-
**Settings → Authorized apps**. Choose a default workspace afterward with
|
|
39
|
+
**Settings → General → Authorized apps**. Choose a default workspace afterward with
|
|
40
40
|
`sim configure --set-workspace <id>`.
|
|
41
41
|
|
|
42
42
|
Use `sim login --no-browser` to print the OAuth URL without opening it. The
|
package/dist/index.js
CHANGED
|
@@ -14024,13 +14024,13 @@ Waiting for you to approve in the browser…`));
|
|
|
14024
14024
|
try {
|
|
14025
14025
|
await revokeToken(profile.endpoint, tokens.refreshToken);
|
|
14026
14026
|
} catch (revocationError) {
|
|
14027
|
-
console.log(source_default.yellow(`Could not revoke the uncommitted login (${safeOneLine(getErrorMessage(revocationError))}). Revoke Sim CLI in Settings → Authorized apps.`));
|
|
14027
|
+
console.log(source_default.yellow(`Could not revoke the uncommitted login (${safeOneLine(getErrorMessage(revocationError))}). Revoke Sim CLI in Settings → General → Authorized apps.`));
|
|
14028
14028
|
}
|
|
14029
14029
|
throw error;
|
|
14030
14030
|
}
|
|
14031
14031
|
console.log(source_default.green(`
|
|
14032
14032
|
✓ Logged in. Login stored in ${credentialsPath()}`));
|
|
14033
|
-
console.log(source_default.dim(grantsWriteAccess(tokens.scope) ? " Renews itself; revoke it any time in Settings → Authorized apps, or with: sim logout" : " Read-only login — commands that change anything will be refused."));
|
|
14033
|
+
console.log(source_default.dim(grantsWriteAccess(tokens.scope) ? " Renews itself; revoke it any time in Settings → General → Authorized apps, or with: sim logout" : " Read-only login — commands that change anything will be refused."));
|
|
14034
14034
|
if (!profile.workspaceId) {
|
|
14035
14035
|
console.log(source_default.dim(" No default workspace. Set one with: sim configure --set-workspace <id>"));
|
|
14036
14036
|
}
|
|
@@ -14155,7 +14155,7 @@ async function revokeStoredOAuth(credential) {
|
|
|
14155
14155
|
await revokeToken(endpoint, credential.refreshToken);
|
|
14156
14156
|
console.log(source_default.dim(" Signed out of Sim; every token from this login was revoked."));
|
|
14157
14157
|
} catch (error) {
|
|
14158
|
-
console.log(source_default.yellow(` Could not revoke the login on ${displayEndpoint} (${safeOneLine(getErrorMessage(error))}). Revoke it in Settings → Authorized apps.`));
|
|
14158
|
+
console.log(source_default.yellow(` Could not revoke the login on ${displayEndpoint} (${safeOneLine(getErrorMessage(error))}). Revoke it in Settings → General → Authorized apps.`));
|
|
14159
14159
|
}
|
|
14160
14160
|
}
|
|
14161
14161
|
function logoutCommand() {
|