@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.
- package/bundles/sunbird-cb-utils.umd.js +3 -2
- package/bundles/sunbird-cb-utils.umd.js.map +1 -1
- package/bundles/sunbird-cb-utils.umd.min.js +1 -1
- package/bundles/sunbird-cb-utils.umd.min.js.map +1 -1
- package/esm2015/lib/services/configurations.model.js +2 -1
- package/esm2015/lib/services/telemetry.service.js +3 -3
- package/esm5/lib/services/configurations.model.js +2 -1
- package/esm5/lib/services/telemetry.service.js +3 -3
- package/fesm2015/sunbird-cb-utils.js +3 -2
- package/fesm2015/sunbird-cb-utils.js.map +1 -1
- package/fesm5/sunbird-cb-utils.js +3 -2
- package/fesm5/sunbird-cb-utils.js.map +1 -1
- package/lib/services/configurations.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3508,6 +3508,7 @@ var NsUser;
|
|
|
3508
3508
|
if (false) {
|
|
3509
3509
|
IUserProfile.prototype.userId;
|
|
3510
3510
|
IUserProfile.prototype.email;
|
|
3511
|
+
IUserProfile.prototype.mobile;
|
|
3511
3512
|
IUserProfile.prototype.departmentName;
|
|
3512
3513
|
IUserProfile.prototype.userName;
|
|
3513
3514
|
IUserProfile.prototype.firstName;
|
|
@@ -4432,7 +4433,7 @@ var TelemetryService = (function () {
|
|
|
4432
4433
|
pdata: __assign({}, this.pData, { id: this.pData.id }),
|
|
4433
4434
|
env: page.module || (this.telemetryConfig && this.telemetryConfig.env),
|
|
4434
4435
|
},
|
|
4435
|
-
object: __assign({ id: page.objectId }, (data.object)),
|
|
4436
|
+
object: __assign({ id: page.objectId }, ((data) ? data.object : {})),
|
|
4436
4437
|
};
|
|
4437
4438
|
$t.impression(edata, config);
|
|
4438
4439
|
}
|
|
@@ -4442,7 +4443,7 @@ var TelemetryService = (function () {
|
|
|
4442
4443
|
pdata: __assign({}, this.pData, { id: this.pData.id }),
|
|
4443
4444
|
env: page.module || '',
|
|
4444
4445
|
},
|
|
4445
|
-
object: __assign({}, (data.object)),
|
|
4446
|
+
object: __assign({}, ((data) ? data.object : {})),
|
|
4446
4447
|
});
|
|
4447
4448
|
}
|
|
4448
4449
|
this.previousUrl = page.pageUrl;
|