mod-build 4.0.62 → 4.0.63-beta.2

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.63
4
+
5
+ - Calling modalytics.initHeapVwo after creating `window._vwo_campaignData`.
6
+
3
7
  ## 4.0.62
4
8
 
5
9
  - Applying merging of default trade questions and default form config on all the `steps` objects found.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.62",
3
+ "version": "4.0.63-beta.2",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -10,6 +10,9 @@
10
10
  n: variationName
11
11
  }
12
12
  }
13
+ if (window.Modalytics && typeof window.Modalytics.initHeapVwo === 'function' && !window.heapVwoinited) {
14
+ window.Modalytics.initHeapVwo();
15
+ }
13
16
  if (variationId != 1 && window.addVwoTestAttribute) {
14
17
  // Control is assigned variation ID 1 - variations receive incremented IDs starting from 2
15
18
  const adjustedVariationId = variationId - 1;