@tap-payments/auth-jsconnect 2.4.50-test → 2.4.51-test

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.
@@ -577,18 +577,20 @@ export type IndividualDataVerification = {
577
577
  relation: string;
578
578
  status: string;
579
579
  };
580
- export type DataLayer = {
580
+ export interface CommonDataLayer {
581
581
  event: string;
582
+ }
583
+ export interface DataLayer extends CommonDataLayer {
582
584
  event_category: string;
583
585
  event_action: string;
584
586
  event_label?: string;
585
587
  event_value?: number | string;
586
588
  event_noninteraction?: number;
587
- };
588
- export type CountryTrackingData = {
589
+ }
590
+ export interface CountryTrackingData extends CommonDataLayer {
589
591
  website_country?: string;
590
- };
591
- export type LeadIdentificationData = {
592
+ }
593
+ export interface LeadIdentificationData extends CommonDataLayer {
592
594
  lead_ID?: string;
593
- };
595
+ }
594
596
  export {};
@@ -58,6 +58,7 @@ var Connect = memo(function (props) {
58
58
  event_value: (_b = data.businessCountry) === null || _b === void 0 ? void 0 : _b.iso2
59
59
  });
60
60
  sendCustomDimension({
61
+ event: 'PageView',
61
62
  website_country: (_c = data.businessCountry) === null || _c === void 0 ? void 0 : _c.iso2
62
63
  });
63
64
  }
@@ -22,6 +22,7 @@ var ThankYou = function (_a) {
22
22
  event_value: id
23
23
  });
24
24
  sendCustomDimension({
25
+ event: 'PageView',
25
26
  lead_ID: id
26
27
  });
27
28
  }, []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.4.50-test",
3
+ "version": "2.4.51-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",