@anura-gate/watcher-jira 0.2.1 → 0.2.2

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/lib/oauth.js +1 -1
  2. package/package.json +1 -1
package/lib/oauth.js CHANGED
@@ -53,7 +53,7 @@ const TOKEN_FILE = path.join(TOKEN_DIR, "jira-oauth.json");
53
53
  * @param {number} [opts.port] — Local callback port (0 = random)
54
54
  * @returns {Promise<OAuthResult>}
55
55
  */
56
- async function authorize({ clientId, clientSecret, port = 0 }) {
56
+ async function authorize({ clientId, clientSecret, port = 9876 }) {
57
57
  const state = crypto.randomBytes(16).toString("hex");
58
58
 
59
59
  // Start local server to receive the callback
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anura-gate/watcher-jira",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "GATE Watcher — Self-hosted Jira event monitor with OAuth 2.0. Credentials never leave your machine.",
5
5
  "main": "index.js",
6
6
  "bin": {