@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.
- package/bundles/sunbird-cb-utils-v2.umd.js +3 -4
- package/bundles/sunbird-cb-utils-v2.umd.js.map +1 -1
- package/bundles/sunbird-cb-utils-v2.umd.min.js +1 -1
- package/bundles/sunbird-cb-utils-v2.umd.min.js.map +1 -1
- package/esm2015/lib/services/configurations.model.js +2 -1
- package/esm2015/lib/services/telemetry.service.js +3 -5
- package/esm5/lib/services/configurations.model.js +2 -1
- package/esm5/lib/services/telemetry.service.js +3 -5
- package/fesm2015/sunbird-cb-utils-v2.js +3 -4
- package/fesm2015/sunbird-cb-utils-v2.js.map +1 -1
- package/fesm5/sunbird-cb-utils-v2.js +3 -4
- package/fesm5/sunbird-cb-utils-v2.js.map +1 -1
- package/lib/services/configurations.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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.');
|