@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.
@@ -4798,6 +4798,7 @@
4798
4798
  IConfig.prototype.websitelanguages;
4799
4799
  IConfig.prototype.profileTimelyNudges;
4800
4800
  IConfig.prototype.npsCategory;
4801
+ IConfig.prototype.compentency;
4801
4802
  }
4802
4803
  function IPortalUrls() { }
4803
4804
  NsInstanceConfig.IPortalUrls = IPortalUrls;
@@ -6043,10 +6044,8 @@
6043
6044
  pageContext.pageId
6044
6045
  : '',
6045
6046
  duration: 1,
6046
- }, {
6047
- context: __assign({ pdata: __assign({}, this.pData, { id: this.pData.id }) }, (pageContext && pageContext.module ? { env: pageContext.module } : null)),
6048
- object: __assign({}, (data) && data),
6049
- });
6047
+ }, __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 ?
6048
+ null : { actor: { id: 'non-loggedin', type: 'Anonymous User' } })));
6050
6049
  }
6051
6050
  else {
6052
6051
  this.logger.error('Error Initializing Telemetry. Config missing.');