@odyn-app/api 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/cli/github.mjs +2 -3
  2. package/package.json +1 -1
package/cli/github.mjs CHANGED
@@ -17,10 +17,9 @@ const API = 'https://api.github.com'
17
17
  /**
18
18
  * Odyn's GitHub sign-in app (New-Genre's "Odyn extensions" OAuth app, with
19
19
  * device sign-in switched on). Device sign-in — a short code you type on
20
- * github.com — needs no secret, so the id is safe to ship. Empty until the
21
- * app exists; until then `gh auth login` or `GITHUB_TOKEN` is used.
20
+ * github.com — needs no secret, so the id is safe to ship.
22
21
  */
23
- const ODYN_GITHUB_CLIENT_ID = ''
22
+ const ODYN_GITHUB_CLIENT_ID = 'Ov23lipXr50lgj85CbN5'
24
23
  const GITHUB_CLIENT_ID = process.env.ODYN_GITHUB_CLIENT_ID?.trim() || ODYN_GITHUB_CLIENT_ID
25
24
  const TOKEN_FILE = join(homedir(), '.config', 'odyn-extension', 'github.json')
26
25
  const FORK_READY_ATTEMPTS = 20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odyn-app/api",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "The public building kit for Odyn extensions.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/New-Genre/odyn-extensions",