@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 +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
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/
|
|
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, "
|
|
114
|
+
return join(configRoot, "slack-events", "credentials.json");
|
|
115
115
|
}
|
|
116
116
|
function writeCredential(credential) {
|
|
117
117
|
const path = credentialPath();
|