@zksecurity/slack-events 0.1.0 → 0.1.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 CHANGED
@@ -42,7 +42,7 @@ npx @zksecurity/slack-events revoke SUBSCRIPTION_ID
42
42
  ```
43
43
 
44
44
  Credentials are stored with mode `0600` in
45
- `$XDG_CONFIG_HOME/pi-mom/slack-events.json` or `~/.config/pi-mom/slack-events.json`.
45
+ `$XDG_CONFIG_HOME/slack-events/credentials.json` or `~/.config/slack-events/credentials.json`.
46
46
 
47
47
  For existing browser-issued pairing codes, `pair SERVER CODE` is also supported.
48
48
 
package/dist/cli.js CHANGED
@@ -111,7 +111,7 @@ async function request(server, path, options = {}) {
111
111
  }
112
112
  function credentialPath() {
113
113
  const configRoot = process.env.XDG_CONFIG_HOME || join(homedir(), ".config");
114
- return join(configRoot, "pi-mom", "slack-events.json");
114
+ return join(configRoot, "slack-events", "credentials.json");
115
115
  }
116
116
  function writeCredential(credential) {
117
117
  const path = credentialPath();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zksecurity/slack-events",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Pair a terminal with a pi-mom Slack event feed",
5
5
  "type": "module",
6
6
  "bin": { "slack-events": "bin/slack-events.mjs" },