mod-build 4.0.39 → 4.0.40-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 4.0.40
2
+
3
+ - Added `&filters[includeInactive]=1` to `getConsentCaptureLanguage` to get the `profileId` for inactive profiles to keep this flow happy!
4
+
1
5
  ## 4.0.39
2
6
 
3
7
  - Added the E-Sign Consent modal to be grabbed as part of the `grab-cdn` task.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.39",
3
+ "version": "4.0.40-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -220,7 +220,7 @@ const getConsentCaptureLanguage = async function(config, tempConfig) {
220
220
  } else {
221
221
  const vendorKey = findVendorKey(config),
222
222
  profileApiDomain = 'https://api.modernize.com/',
223
- profileApiUrl = `${profileApiDomain}v1/client-profiles/profiles?filters[matches][]=${vendorKey},QMP`;
223
+ profileApiUrl = `${profileApiDomain}v1/client-profiles/profiles?filters[matches][]=${vendorKey},QMP&filters[includeInactive]=1`;
224
224
 
225
225
  if (vendorKey !== null) {
226
226
  const getBrandedProfileId = await axios.get(profileApiUrl);