diff --git a/index.js b/index.js index 3cea7351f..882f2e1e3 100644 --- a/index.js +++ b/index.js @@ -892,6 +892,9 @@ const createClient = (profile, userAgent, opt = {}) => { const disableSubscription = _setSubscriptionStatus.bind(null, 'EXPIRED') const enableSubscription = _setSubscriptionStatus.bind(null, 'ACTIVE') + // todo: subscribeToJourneysInterval + // https://gist.github.com/derhuerst/d267ac179e49e927d38daa1a4bdf7760#file-6-subscriptions-http-L81-L132 + const subscribeToJourney = async (userId, channelIds, journeyRefreshToken, opt = {}) => { if (!isNonEmptyString(userId)) { throw new TypeError('userId must be a non-empty string') diff --git a/parse/journey.js b/parse/journey.js index 8b5efdedf..5f7fa1938 100644 --- a/parse/journey.js +++ b/parse/journey.js @@ -1,6 +1,6 @@ import {findRemarks} from './find-remarks.js' -// todo: c.conSubscr (e.g. `F`) +// todo: c.conSubscr (e.g. `F`, `U`) – is this journey subscribed to? // todo: c.trfRes x vbb-parse-ticket // todo: c.sotRating, c.isSotCon, c.sotCtxt // todo: c.showARSLink