gh-manager-cli 1.24.2 → 1.24.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.24.3](https://github.com/wiiiimm/gh-manager-cli/compare/v1.24.2...v1.24.3) (2025-09-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * clear all settings including org context on logout ([3a30b02](https://github.com/wiiiimm/gh-manager-cli/commit/3a30b0246d410b14bf9d9b5681904660cf7cc80f))
7
+
1
8
  ## [1.24.2](https://github.com/wiiiimm/gh-manager-cli/compare/v1.24.1...v1.24.2) (2025-09-05)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var require_package = __commonJS({
31
31
  "package.json"(exports, module) {
32
32
  module.exports = {
33
33
  name: "gh-manager-cli",
34
- version: "1.24.2",
34
+ version: "1.24.3",
35
35
  private: false,
36
36
  description: "Interactive CLI to manage your GitHub repos (personal) with Ink",
37
37
  license: "MIT",
@@ -207,6 +207,9 @@ function clearStoredToken() {
207
207
  const { token, tokenVersion, tokenSource, ...rest } = existing;
208
208
  writeConfig({ ...rest });
209
209
  }
210
+ function clearAllSettings() {
211
+ writeConfig({});
212
+ }
210
213
  function getTokenSource() {
211
214
  const cfg = readConfig();
212
215
  return cfg.tokenSource || "pat";
@@ -3476,7 +3479,7 @@ function App({ initialOrgSlug: initialOrgSlug2, inlineToken: inlineToken2, inlin
3476
3479
  tokenOrigin: sessionTokenOrigin
3477
3480
  });
3478
3481
  try {
3479
- clearStoredToken();
3482
+ clearAllSettings();
3480
3483
  } catch {
3481
3484
  }
3482
3485
  setRateLimitReset(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gh-manager-cli",
3
- "version": "1.24.2",
3
+ "version": "1.24.3",
4
4
  "private": false,
5
5
  "description": "Interactive CLI to manage your GitHub repos (personal) with Ink",
6
6
  "license": "MIT",