@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.
- package/cli/github.mjs +2 -3
- 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.
|
|
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
|