mod-build 4.0.88 → 4.0.89-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,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.0.89
4
+
5
+ - Updated the `${apiDomain}utils/vendor-display-name` API to use `publicKey=` as the param to grab the branded display name (which is needed for QMP2.0)
6
+
3
7
  ## 4.0.88
4
8
 
5
9
  - Added `grab-code-review-rules` task to fetch ROVO code review rules from quote-modernize-com on every `npm run serve`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.88",
3
+ "version": "4.0.89-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -231,8 +231,7 @@ const getConsentCaptureLanguage = async function(config, tempConfig) {
231
231
  if (brandedSiteIdentifiers.data[websiteName] && (brandedSiteIdentifiers.data[websiteName].vendorPublicIdentifier || brandedSiteIdentifiers.data[websiteName][companyName] && brandedSiteIdentifiers.data[websiteName][companyName].vendorPublicIdentifier)) {
232
232
  const vendorPublicIdentifier = brandedSiteIdentifiers.data[websiteName][companyName] ? brandedSiteIdentifiers.data[websiteName][companyName].vendorPublicIdentifier : brandedSiteIdentifiers.data[websiteName].vendorPublicIdentifier;
233
233
 
234
- apiUrl = `${apiDomain}utils/vendor-display-name?vendorKeys=${vendorPublicIdentifier}`;
235
-
234
+ apiUrl = `${apiDomain}utils/vendor-display-name?publicKey=${vendorPublicIdentifier}`;
236
235
  const getBrandedDisplayName = await axios.get(apiUrl);
237
236
  if (getBrandedDisplayName.status !== 200) {
238
237
  throw new Error(`${resp.status}: Error while getting branded display name from HS Form Service`);