Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Apr 24, 2023
1 parent e45d93f commit 049019d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion parse/journey.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 049019d

Please sign in to comment.