[OW 166.1.7] passing empty array as requiredHighlights to capture API now errors

Issue Description:
To indicate what automatic highlights a user wants to capture, we use the feature names in an Array. If they desire no automatic highlights, this array will be empty. So long it worked fine, but now it happens that replays capturing can not be turned on at all if passing in an empty array.
The error is not highlights feature set from the call to overwolf.media.replays.turnOn.
The issue is that manually creating replays with that API then also fails.

Can you reproduce it (exact steps to reproduce):

  1. start game with auto highlight events
  2. paste this snippet into console
overwolf.media.replays.turnOn({
	settings: {
		video: {}
	},
	highlights: {
		enable: true,
		requiredHighlights: []
	}
}, (results)=>{
	console.warn(results)
})

overwolf.media.replays.onHighlightsCaptured.addListener((res)=>{
	console.warn('Highlight received:')
	console.warn(res)
})

Impact for my app: mid - not too many users have ALL events disabled
Do you currently have a workaround?
explicitely preventing setting up highlights recording if the required features are not set.
But this wasn’t needed in earlier releases!

Hi, and thanks for the feedback.

We will check the issue and we will update you here.

Thanks.