@sunbird-cb/utils 1.0.14 → 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 +2 -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/telemetry.service.js +3 -3
- package/esm5/lib/services/telemetry.service.js +3 -3
- package/fesm2015/sunbird-cb-utils.js +2 -2
- package/fesm2015/sunbird-cb-utils.js.map +1 -1
- package/fesm5/sunbird-cb-utils.js +2 -2
- package/fesm5/sunbird-cb-utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -4643,7 +4643,7 @@
|
|
|
4643
4643
|
pdata: __assign({}, this.pData, { id: this.pData.id }),
|
|
4644
4644
|
env: page.module || (this.telemetryConfig && this.telemetryConfig.env),
|
|
4645
4645
|
},
|
|
4646
|
-
object: __assign({ id: page.objectId }, (data.object)),
|
|
4646
|
+
object: __assign({ id: page.objectId }, ((data) ? data.object : {})),
|
|
4647
4647
|
};
|
|
4648
4648
|
$t.impression(edata, config);
|
|
4649
4649
|
}
|
|
@@ -4653,7 +4653,7 @@
|
|
|
4653
4653
|
pdata: __assign({}, this.pData, { id: this.pData.id }),
|
|
4654
4654
|
env: page.module || '',
|
|
4655
4655
|
},
|
|
4656
|
-
object: __assign({}, (data.object)),
|
|
4656
|
+
object: __assign({}, ((data) ? data.object : {})),
|
|
4657
4657
|
});
|
|
4658
4658
|
}
|
|
4659
4659
|
this.previousUrl = page.pageUrl;
|