@4site/engrid-scripts 0.24.2 → 0.24.3

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.
@@ -148,6 +148,7 @@ export interface Options {
148
148
  editText: string;
149
149
  anchor: string;
150
150
  placement: "beforebegin" | "afterbegin" | "beforeend" | "afterend";
151
+ showPhoneNumber?: boolean;
151
152
  };
152
153
  };
153
154
  OptInLadder?: false | {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AppVersion = "0.24.2";
1
+ export declare const AppVersion = "0.24.3";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const AppVersion = "0.24.2";
1
+ export const AppVersion = "0.24.3";
@@ -100,7 +100,7 @@ export class WelcomeBack {
100
100
  ${this.supporterDetails["firstName"]} ${this.supporterDetails["lastName"]}
101
101
  <br>
102
102
  ${this.supporterDetails["emailAddress"]}
103
- ${this.supporterDetails["mobilePhone"]
103
+ ${this.supporterDetails["mobilePhone"] && options.showPhoneNumber
104
104
  ? `<br>${this.supporterDetails["mobilePhone"]}`
105
105
  : ""}
106
106
  </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4site/engrid-scripts",
3
- "version": "0.24.2",
3
+ "version": "0.24.3",
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": "194597168e8ecb8a919e4b838cd8aaa71952575f",
28
+ "gitHead": "6f807e8e6ad0b1fcf0b6d3f72de44cc93cdd2fe1",
29
29
  "devDependencies": {
30
30
  "nodemon": "^2.0.20"
31
31
  }