-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
import { connect, authenticate } from 'league-connect'
const credentials = await authenticate()
const ws = await connect(credentials)
ws.subscribe('/lol-chat/v1/conversations/active', (data, event) => {
// data: deseralized json object from the event payload
// event: the entire event (see EventResponse<T>)
})
installed "league-connect" via npm, I copy pasted this and got "ws.subscribe is not a function", the same goes with ws.on(...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed