@sunbird-cb/utils-v2 0.0.13 → 0.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.
@@ -4589,6 +4589,7 @@ var NsInstanceConfig;
4589
4589
  IConfig.prototype.websitelanguages;
4590
4590
  IConfig.prototype.profileTimelyNudges;
4591
4591
  IConfig.prototype.npsCategory;
4592
+ IConfig.prototype.compentency;
4592
4593
  }
4593
4594
  function IPortalUrls() { }
4594
4595
  NsInstanceConfig.IPortalUrls = IPortalUrls;
@@ -5834,10 +5835,8 @@ var TelemetryService = (function () {
5834
5835
  pageContext.pageId
5835
5836
  : '',
5836
5837
  duration: 1,
5837
- }, {
5838
- context: __assign({ pdata: __assign({}, this.pData, { id: this.pData.id }) }, (pageContext && pageContext.module ? { env: pageContext.module } : null)),
5839
- object: __assign({}, (data) && data),
5840
- });
5838
+ }, __assign({ context: __assign({ pdata: __assign({}, this.pData, { id: this.pData.id }) }, (pageContext && pageContext.module ? { env: pageContext.module } : null)), object: __assign({}, (data) && data) }, (this.configSvc.userProfile && this.configSvc.userProfile.userId ?
5839
+ null : { actor: { id: 'non-loggedin', type: 'Anonymous User' } })));
5841
5840
  }
5842
5841
  else {
5843
5842
  this.logger.error('Error Initializing Telemetry. Config missing.');