mod-build 4.0.34-beta.2 → 4.0.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.34-beta.2",
3
+ "version": "4.0.34",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -148,7 +148,7 @@ const fetchTcpaFromSitegenie = async (config, tempConfig, pathSubdirectory) => {
148
148
  });
149
149
  };
150
150
 
151
- const getConsentCaptureLanguage = async function(tempConfig) {
151
+ const getConsentCaptureLanguage = async function(config, tempConfig) {
152
152
  await new Promise((resolve) => {
153
153
  consentCaptureAxiosInstance.get(`https://${defaultSettings.nodeEnv}/quote/resources/mod-site/consent-capture/tcpa.json`)
154
154
  .then(async resp => {
@@ -271,7 +271,7 @@ export default async function(config) {
271
271
  await fetchTcpaFromSitegenie(config, tempConfig, pathSubdirectory);
272
272
  }
273
273
  if (!config.consentCapture && !tempConfigCreated) {
274
- await getConsentCaptureLanguage(tempConfig);
274
+ await getConsentCaptureLanguage(config, tempConfig);
275
275
  }
276
276
  }
277
277