@sunbird-cb/utils 1.0.13 → 1.0.15

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.
@@ -3718,6 +3718,7 @@
3718
3718
  if (false) {
3719
3719
  IUserProfile.prototype.userId;
3720
3720
  IUserProfile.prototype.email;
3721
+ IUserProfile.prototype.mobile;
3721
3722
  IUserProfile.prototype.departmentName;
3722
3723
  IUserProfile.prototype.userName;
3723
3724
  IUserProfile.prototype.firstName;
@@ -4642,7 +4643,7 @@
4642
4643
  pdata: __assign({}, this.pData, { id: this.pData.id }),
4643
4644
  env: page.module || (this.telemetryConfig && this.telemetryConfig.env),
4644
4645
  },
4645
- object: __assign({ id: page.objectId }, (data.object)),
4646
+ object: __assign({ id: page.objectId }, ((data) ? data.object : {})),
4646
4647
  };
4647
4648
  $t.impression(edata, config);
4648
4649
  }
@@ -4652,7 +4653,7 @@
4652
4653
  pdata: __assign({}, this.pData, { id: this.pData.id }),
4653
4654
  env: page.module || '',
4654
4655
  },
4655
- object: __assign({}, (data.object)),
4656
+ object: __assign({}, ((data) ? data.object : {})),
4656
4657
  });
4657
4658
  }
4658
4659
  this.previousUrl = page.pageUrl;