Skip to content

v0.10.0

Compare
Choose a tag to compare
@uetchy uetchy released this 12 Sep 10:37
· 146 commits to master since this release
  • Support legacy pageId session (append SESSION_ID to Credentials)

chatActions

  • .remove will use homebrew pb params

chat

  • .fetch will attempt to switch an API endpoint to the replay chat if failed to fetch chats from the live chat. Explicitly set isLive option true or false when instiantiating Masterchat to disable this behavior.
    • if unset,
      • live -> OK
      • archive -> first request fails, then try fetching replay chat -> OK
    • if set true:
      • live -> OK
      • archive -> throw DisabledChatError
    • if set false:
      • live -> throw DisabledChatError
      • archive -> OK
  • Supported .fetch overloading
    • .fetch(options?: FetchChatOptions)
    • .fetch(token: string, options?: FetchChatOptions)
  • Renamed SucceededChatResponse -> ChatResponse
  • Dropped ignoreReplayTimeout option from .iterate

extra

  • credential-fetcher now supports parsing legacy session id