@sunbird-cb/utils 1.0.12 → 1.0.13

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.
@@ -3713,14 +3713,10 @@ class EventService {
3713
3713
  subType,
3714
3714
  type: WsEvents.EnumInteractTypes.CLICK,
3715
3715
  id: `${_.camelCase(data.label)}-tab`,
3716
- }, Object.assign({ context: {
3717
- position: data.index,
3718
- } }, object), {
3716
+ }, Object.assign({}, object), {
3719
3717
  pageIdExt: `${_.camelCase(data.label)}-tab`,
3720
3718
  });
3721
- this.raiseCustomImpression(Object.assign({ context: {
3722
- position: data.index,
3723
- } }, object), {
3719
+ this.raiseCustomImpression(Object.assign({}, object), {
3724
3720
  pageIdExt: `${_.camelCase(data.label)}-tab`,
3725
3721
  });
3726
3722
  }
@@ -4042,7 +4038,6 @@ class TelemetryService {
4042
4038
  try {
4043
4039
  const page = this.getPageDetails();
4044
4040
  if (data && data.pageContext) {
4045
- page.pageid = data.pageContext.pageId;
4046
4041
  page.module = data.pageContext.module;
4047
4042
  }
4048
4043
  const edata = {