Extensions change
Please provide an eventsub topic that notifies when the extensions active on a channel change.
The payload should match what https://dev.twitch.tv/docs/api/reference#get-user-active-extensions outputs.
For a broadcaster tool we generally wouldn't need to know what the change was. Just what the current config with.
This would save two payloads (for an extension changing from panel 1 to panel 2)
It would be useful to know what changed but less important.
So add a "was_changed" boolean to the relevant record.
So
"component": {
"1": {
"active": true,
"id": "lqnf3zxk0rv0g7gq92mtmnirjz2cjj",
"version": "0.0.1",
"name": "Dev Experience Test",
"x": 0,
"y": 0
},
"2": {
"active": false
}
}
becomes
"component": {
"1": {
"active": false,
"was_changed": true
},
"2": {
"active": true,
"id": "lqnf3zxk0rv0g7gq92mtmnirjz2cjj",
"version": "0.0.1",
"name": "Dev Experience Test",
"x": 0,
"y": 0,
"was_changed": true
}
}
In this example both componet slots are marked "dirty". And in this example we swapped which slot the component extension was active in.
1
vote
BarryCarlyon
shared this idea