slkcli 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/auth.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slkcli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Slack CLI for macOS, so your agents can read and send messages",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/auth.js CHANGED
@@ -43,10 +43,10 @@ const TOKEN_CACHE = join(CACHE_DIR, "token-cache.json");
43
43
  let cachedCreds = null;
44
44
 
45
45
  function getKeychainKey() {
46
- // Mac App Store Slack uses account "Slack App Store Key", direct download uses "Slack"
46
+ // Mac App Store Slack uses account "Slack App Store Key", direct download uses "Slack" or "Slack Key"
47
47
  const accounts = SLACK_DIR === SLACK_DIR_APPSTORE
48
- ? ["Slack App Store Key", "Slack"]
49
- : ["Slack", "Slack App Store Key"];
48
+ ? ["Slack App Store Key", "Slack Key", "Slack"]
49
+ : ["Slack Key", "Slack", "Slack App Store Key"];
50
50
 
51
51
  for (const account of accounts) {
52
52
  try {