@sunbird-cb/utils-v2 0.0.14 → 0.0.16
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 +2 -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/telemetry.service.js +3 -5
- package/esm5/lib/services/telemetry.service.js +3 -5
- package/fesm2015/sunbird-cb-utils-v2.js +2 -4
- package/fesm2015/sunbird-cb-utils-v2.js.map +1 -1
- package/fesm5/sunbird-cb-utils-v2.js +2 -4
- package/fesm5/sunbird-cb-utils-v2.js.map +1 -1
- package/package.json +1 -1
|
@@ -5835,10 +5835,8 @@ var TelemetryService = (function () {
|
|
|
5835
5835
|
pageContext.pageId
|
|
5836
5836
|
: '',
|
|
5837
5837
|
duration: 1,
|
|
5838
|
-
}, {
|
|
5839
|
-
|
|
5840
|
-
object: __assign({}, (data) && data),
|
|
5841
|
-
});
|
|
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: '', type: 'AnonymousUser' } })));
|
|
5842
5840
|
}
|
|
5843
5841
|
else {
|
|
5844
5842
|
this.logger.error('Error Initializing Telemetry. Config missing.');
|