@slates/cli 1.0.0-rc.10 → 1.0.0-rc.12
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/package.json +3 -3
- package/src/commands/auth.ts +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slates/cli",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.12",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@inquirer/prompts": "^7.4.0",
|
|
28
|
-
"@slates/client": "1.0.0-rc.
|
|
28
|
+
"@slates/client": "1.0.0-rc.13",
|
|
29
29
|
"@slates/oauth-microsoft": "1.0.0-rc.5",
|
|
30
|
-
"@slates/profiles": "1.0.0-rc.
|
|
30
|
+
"@slates/profiles": "1.0.0-rc.11",
|
|
31
31
|
"sade": "^1.8.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
package/src/commands/auth.ts
CHANGED
|
@@ -388,12 +388,12 @@ let runAuthSetup = async (opts: AuthSetupOptions): Promise<SlatesStoredAuth> =>
|
|
|
388
388
|
return stored;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
391
|
+
let authOutput = await client.getAuthOutput({
|
|
392
|
+
authenticationMethodId: authMethod.id,
|
|
393
|
+
input: authInput
|
|
394
|
+
});
|
|
395
|
+
output = authOutput.output;
|
|
396
|
+
scopes = authOutput.scopes ?? scopes;
|
|
397
397
|
|
|
398
398
|
let profileInfo = authMethod.capabilities.getProfile?.enabled
|
|
399
399
|
? await client.getAuthProfile({
|