scm-spain / boros-CMP

GDPR CMP (Consent Managment Provider) implementation
MIT License
5 stars 1 forks source link

Fix the CMP_VERSION assigned on build process #68

Closed alextremp closed 5 years ago

alextremp commented 5 years ago

Description

Actually, the cmpVersion stored in the consent strings are "0" due to a bad implementation of the defined property that should be replaced in the build process.

The README description tells the intention of having the project's major number as the used cmpVersion number. This PR fixes that, creating a new "internal" property that is automatically filled via babel-plugin, being:

Solves ticket/s

Expected behavior

Review steps

Sample decoded consent after the fix:

Further considerations

Memetized description

mandatory