Skip to content

src/config.ts

14 lines · 585 B · TypeScript
Raw
/**
 * Archive needs the ADP token and device private key in readable form. While
 * this is false, Connect discards both and `./license` refuses. Change it only
 * through a reviewed commit that the owner promotes on the locked package.
 */
export const ARCHIVE_ENABLED = false

/** Package secrets. Package code never reads their values. */
export const ACCESS_TOKEN_SECRET = 'audible-access-token'
export const REFRESH_TOKEN_SECRET = 'audible-refresh-token'

/** Package storage keys. */
export const DEVICE_KEY = 'device-v1'
export const ARCHIVE_SIGNING_KEY = 'archive-signing-v1'