That would suggest that
twitch.configuration.set('broadcaster', '1', JSON.stringify(array1));
failed for some reason.
is the user, using the view that is trying to .set the broadcaster?
You can also bind an error handler to help debug/trace the issue
You can also check what is in the config service via
- Developer rig - End of support for the Twitch Developer Rig - Announcements - Twitch Developer Forums
- My Developer rig (if above rig not behaving) - GitHub - BarryCarlyon/twitch_extension_tools: Tools for Twitch Developers to assist them working on a Twitch Extension
- Or the API - Reference | Twitch Developers
Also worth noting that the config is not populated/changed after a set on the same page until you reload the page. (Or your write code to do that, and onChanged is only called once during page load and never again)
So when I’m config setting via the API I push the same config out over pubsub to update running instances