- Renamed to @mixer/interactive-node
- Added 4023 -> 4027 Error Code Classes
- Disable reconnection logic on 4027
- Added channelGroups to participants (#100)
- Added broadcast event support (#101)
- Added anonymous property to participant (#102)
- Added participant queries (#102)
- Added screen control properties for sending mouse up and mouse down events (#103)
- Update screen control properties for move events and move throttle.
- Added move and mousedown events to screen control (#99)
- Added screen control (#98)
- Added textbox control (#96)
- Added label control (#96)
- Added additional properties to button control (#96)
- Fix example building
- Fix a small typo in one of the examples (#93)
- Fix websocket authentication when used in browsers (#95)
- Add world update methods (#94)
- Adjust prettier config to Mixer standard and did a pass
- Fixed a couple of housekeeping issues
- Client will now use a round robin strategy when it encounters issues with an interactive server it is trying to connect to (#92)
- Add sharecode support (#86). Thanks @JohnyCilohokla.
- Update package.json links (#90). Thanks @metaa
- Add keyboard events to buttons (#88)
- Added tooltip properties to buttons.
- Removed Etags, these are no longer needed see mixer/developers#160 for more information.
- Authentication changes, we now use stream access keys to connect to interactive for Mixer.com
- Added a list of frontend grid sizes
gridLayoutSizes
(#71) - Improved typings for control metadata (#82)
- Added
State.getGroups()
,State.getParticipants()
andState.getScenes()
(#78) - Internal project cleanup
- Fixed some re-branding issues (#51 #52 #55)
- Thanks @alfw, @kateract !
- Add an initial state to the socket (#56)
- Add a singular form of
createScenes
calledcreateScene
which can be used for tidier use cases (#62)- Thanks @metaa !
- Added
synchronizeState
which will retrieveScenes
andGroups
from the server (#57)- Can be used in the place of two calls to
synchronizeScenes
andsynchronizeGroups
- Can be used in the place of two calls to
- Added an
update
method toButton
andJoystick
which allows batch updates (#65) - Added the ability to specify a custom discovery url for internal Mixer developments (#69)
With some awesome community contributions we've now added the following features:
- Added
setCost
to Buttons thanks @kateract - Added methods to manipulate scenes and groups
createGroups
updateGroups
createScenes
updateParticipants
synchronizeGroups
getGroups
This release includes some minor breaking changes:
- Minor refactor of IGroup* interfaces to align with I, IData, IDataArray pattern used elsewhere.
For interactive 2 its important to always retrieve a list of servers from our API before connecting. This used to be up to the implementer. With 1.0.0 we're placing this responsibility inside the client. This should make getting up and running easier.
client.open
now returns a Promise, which resolves when the connection is open. You should move all logic that previously assumed the connection would open immediately into a promise chain attached to client.open
.
All of the examples have been updated to reflect this change.
This fixes several protocol issues with our initial implementation.
- Correct updateControls structure to allow cool downs and text setting.
- Added ETags to participants
- Fixes State.getControl breaking when there are multiple scenes
- Make .gitignore to ignore all .js files in /examples/
- correct disabled in participants.