@4site/engrid-scripts 0.20.6 → 0.20.7

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.
@@ -20,7 +20,8 @@ export class OptInLadder {
20
20
  }
21
21
  runAsParent() {
22
22
  this.logger.log("Running as Parent");
23
- if (ENGrid.getPageNumber() === ENGrid.getPageCount()) {
23
+ if (ENGrid.getPageNumber() > 1 &&
24
+ ENGrid.getPageNumber() === ENGrid.getPageCount()) {
24
25
  // We are on the Thank You Page as a Parent
25
26
  // Check autoinject iFrame
26
27
  const optInLadderOptions = ENGrid.getOption("OptInLadder");
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AppVersion = "0.20.6";
1
+ export declare const AppVersion = "0.20.7";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const AppVersion = "0.20.6";
1
+ export const AppVersion = "0.20.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4site/engrid-scripts",
3
- "version": "0.20.6",
3
+ "version": "0.20.7",
4
4
  "description": "Scripts for the ENGRID Project",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  "strongly-typed-events": "^2.0.9"
26
26
  },
27
27
  "homepage": "https://github.com/4site-interactive-studios/engrid#readme",
28
- "gitHead": "b07efd7689177105b2f3136bf8dce785d8d580eb",
28
+ "gitHead": "59fc625241f8d30e7419018f1c4faf3c36f19291",
29
29
  "devDependencies": {
30
30
  "nodemon": "^2.0.20"
31
31
  }