@contrail/cli 3.5.7-alpha.30ba14d → 3.5.7-alpha.4f4573d

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 CHANGED
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
17
17
  $ contrail COMMAND
18
18
  running command...
19
19
  $ contrail (--version)
20
- @contrail/cli/3.5.7-alpha.30ba14d linux-x64 node-v24.22.1
20
+ @contrail/cli/3.5.7-alpha.4f4573d linux-x64 node-v24.22.1
21
21
  $ contrail --help [COMMAND]
22
22
  USAGE
23
23
  $ contrail COMMAND
@@ -172,8 +172,9 @@ async function signInWithStoredTokens() {
172
172
  }
173
173
  logger_1.default.debug('access token rejected, refreshing it...');
174
174
  await refreshAccessToken();
175
+ await (0, sdk_1.getCurrentUser)();
175
176
  }
176
- return refreshCurrentUserOrg();
177
+ return returnAndStoreConfig(sdk_1.Auth.config);
177
178
  }
178
179
  async function refreshCurrentUserOrg() {
179
180
  logger_1.default.debug('refreshing current user org...');
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.5.7-alpha.30ba14d",
2
+ "version": "3.5.7-alpha.4f4573d",
3
3
  "commands": {
4
4
  "app:create": {
5
5
  "id": "app:create",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/cli",
3
- "version": "3.5.7-alpha.30ba14d",
3
+ "version": "3.5.7-alpha.4f4573d",
4
4
  "description": "VibeIQ's Contrail Platform CLI.",
5
5
  "bin": {
6
6
  "contrail-cli": "./bin/run",