Skip to content

Conversation

@m11hauk
Copy link

@m11hauk m11hauk commented May 6, 2025

Rundown of changes:

  • split DCR/DTVR implementations
  • very inconvenient to maintain a single multipurpose codebase
  • some minor configuration/signature breaking changes
  • various fixes/changes to the DCR implementation based on test/prod run with nielsen

- inconvenient to maintain a single multipurpose codebase
- some configuration/signature breaking changes
@changeset-bot
Copy link

changeset-bot bot commented May 6, 2025

🦋 Changeset detected

Latest commit: 9071e1f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@theoplayer/nielsen-connector-web Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

configuration?: NielsenConfiguration
) {
this.nielsenHandler = new NielsenHandler(player, appId, instanceName, options, configuration);
if (configuration?.country === NielsenCountry.US) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously DTVR was the default value but now it changed to DCR. Probably should keep the default to DTVR.

* Returns an appropriate handler specified in the configuration.
*
*/
export function getNielsenHandler(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is not used


Split DCR/DTVR implementations

- inconvenient to maintain a single multipurpose codebase
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These entries should not be part of our changelog as it does not change the behavior of the connector.
Instead I'd mention that they are split indeed and the changes to the configuration object as well as removing updateDCRContentMetadata in favour of the general updateMetadata.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking about it again, maybe it would be better if we could deprecate the updateDCRContentMetadata and enableDCR/enableDTVR instead of removing them already. Then we can give everyone some time to update to the new way. @wjoosen thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants