@sunbird-cb/utils 1.0.11 → 1.0.13
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 -8
- 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/auth-keycloak.service.js +2 -2
- package/esm2015/lib/services/event.service.js +3 -7
- package/esm2015/lib/services/telemetry.service.js +1 -2
- package/esm5/lib/services/auth-keycloak.service.js +2 -2
- package/esm5/lib/services/event.service.js +3 -7
- package/esm5/lib/services/telemetry.service.js +1 -2
- package/fesm2015/sunbird-cb-utils.js +3 -8
- package/fesm2015/sunbird-cb-utils.js.map +1 -1
- package/fesm5/sunbird-cb-utils.js +3 -8
- package/fesm5/sunbird-cb-utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -1972,10 +1972,10 @@ var AuthKeycloakService = (function () {
|
|
|
1972
1972
|
catch (_b) {
|
|
1973
1973
|
}
|
|
1974
1974
|
storage$1.removeItem(storageKey$1);
|
|
1975
|
+
window.location.href = '/public/logout';
|
|
1975
1976
|
return [4, this.http.get('/apis/reset').toPromise()];
|
|
1976
1977
|
case 1:
|
|
1977
1978
|
_a.sent();
|
|
1978
|
-
window.location.href = '/public/logout';
|
|
1979
1979
|
return [2];
|
|
1980
1980
|
}
|
|
1981
1981
|
});
|
|
@@ -4064,14 +4064,10 @@ var EventService = (function () {
|
|
|
4064
4064
|
subType: subType,
|
|
4065
4065
|
type: WsEvents.EnumInteractTypes.CLICK,
|
|
4066
4066
|
id: _.camelCase(data.label) + "-tab",
|
|
4067
|
-
}, __assign({
|
|
4068
|
-
position: data.index,
|
|
4069
|
-
} }, object), {
|
|
4067
|
+
}, __assign({}, object), {
|
|
4070
4068
|
pageIdExt: _.camelCase(data.label) + "-tab",
|
|
4071
4069
|
});
|
|
4072
|
-
this.raiseCustomImpression(__assign({
|
|
4073
|
-
position: data.index,
|
|
4074
|
-
} }, object), {
|
|
4070
|
+
this.raiseCustomImpression(__assign({}, object), {
|
|
4075
4071
|
pageIdExt: _.camelCase(data.label) + "-tab",
|
|
4076
4072
|
});
|
|
4077
4073
|
};
|
|
@@ -4423,7 +4419,6 @@ var TelemetryService = (function () {
|
|
|
4423
4419
|
try {
|
|
4424
4420
|
var page = this.getPageDetails();
|
|
4425
4421
|
if (data && data.pageContext) {
|
|
4426
|
-
page.pageid = data.pageContext.pageId;
|
|
4427
4422
|
page.module = data.pageContext.module;
|
|
4428
4423
|
}
|
|
4429
4424
|
var edata = {
|