@maxzima/wa-communicator 1.0.43 → 1.0.44

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.
@@ -7,10 +7,10 @@ export type TAccountTrackerProps = {
7
7
  lintrk?: (action: LintrkActionTypeEnum, options: TLintrkOptions) => void;
8
8
  };
9
9
  export type TAccountTrackerEventParams = {
10
- 'gtm'?: TAccountTrackerGtmEventParamsMapping;
10
+ gtm: TAccountTrackerGtmEventParamsMapping;
11
11
  };
12
12
  export type TAccountTrackerGtmEventParamsMapping = {
13
- [event in GTMEventEnum]: TAccountTrackerGtmEventParams;
13
+ [event in GTMEventEnum]?: TAccountTrackerGtmEventParams;
14
14
  };
15
15
  export type TAccountTrackerGtmEventParams = TAccountTrackerGtmSignUpEventParams | TAccountTrackerGtmSignUpOnlineEventParams | TAccountTrackerGtmVerifyPhoneOnlineEventParams | TAccountTrackerGtmVerifyEmailOnlineEventParams;
16
16
  export type TAccountTrackerGtmSignUpEventParams = {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.43",
2
+ "version": "1.0.44",
3
3
  "name": "@maxzima/wa-communicator",
4
4
  "description": "",
5
5
  "author": "Noname",
@@ -14,11 +14,11 @@ export type TAccountTrackerProps = {
14
14
  }
15
15
 
16
16
  export type TAccountTrackerEventParams = {
17
- 'gtm'?: TAccountTrackerGtmEventParamsMapping;
17
+ gtm: TAccountTrackerGtmEventParamsMapping;
18
18
  }
19
19
 
20
20
  export type TAccountTrackerGtmEventParamsMapping = {
21
- [event in GTMEventEnum]: TAccountTrackerGtmEventParams;
21
+ [event in GTMEventEnum]?: TAccountTrackerGtmEventParams;
22
22
  };
23
23
 
24
24
  export type TAccountTrackerGtmEventParams = TAccountTrackerGtmSignUpEventParams