@4site/engrid-scripts 0.21.1 → 0.21.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.
package/dist/engrid.d.ts CHANGED
@@ -17,7 +17,7 @@ export declare abstract class ENGrid {
17
17
  static getPageID(): any;
18
18
  static getClientID(): any;
19
19
  static getDataCenter(): "us" | "ca";
20
- static getPageType(): "DONATION" | "ECARD" | "SURVEY" | "EMAILTOTARGET" | "ADVOCACY" | "SUBSCRIBEFORM" | "SUPPORTERHUB" | "UNSUBSCRIBE" | "TWEETPAGE" | "UNKNOWN";
20
+ static getPageType(): "DONATION" | "ECARD" | "SURVEY" | "EMAILTOTARGET" | "ADVOCACY" | "SUBSCRIBEFORM" | "EVENT" | "SUPPORTERHUB" | "UNSUBSCRIBE" | "TWEETPAGE" | "UNKNOWN";
21
21
  static setBodyData(dataName: string, value: string | boolean): void;
22
22
  static getBodyData(dataName: string): string | null;
23
23
  static hasBodyData(dataName: string): boolean;
package/dist/engrid.js CHANGED
@@ -212,6 +212,9 @@ export class ENGrid {
212
212
  case "emailsubscribeform":
213
213
  return "SUBSCRIBEFORM";
214
214
  break;
215
+ case "event":
216
+ return "EVENT";
217
+ break;
215
218
  case "supporterhub":
216
219
  return "SUPPORTERHUB";
217
220
  break;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AppVersion = "0.21.1";
1
+ export declare const AppVersion = "0.21.3";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const AppVersion = "0.21.1";
1
+ export const AppVersion = "0.21.3";
package/dist/vgs.js CHANGED
@@ -156,7 +156,6 @@ export class VGS {
156
156
  autoComplete: "cc-exp",
157
157
  validations: ["required", "validCardExpirationDate"],
158
158
  css: styles,
159
- yearLength: 2,
160
159
  },
161
160
  };
162
161
  // Deep merge the default options with the options set in the theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4site/engrid-scripts",
3
- "version": "0.21.1",
3
+ "version": "0.21.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": "48904431e4ba0db76c4673afc6c9177b7c21623b",
28
+ "gitHead": "b08a21c0b98b990da83331fd9cb01480a7c6f349",
29
29
  "devDependencies": {
30
30
  "nodemon": "^2.0.20"
31
31
  }