@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.
@@ -2182,10 +2182,10 @@
2182
2182
  catch (_b) {
2183
2183
  }
2184
2184
  storage$1.removeItem(storageKey$1);
2185
+ window.location.href = '/public/logout';
2185
2186
  return [4, this.http.get('/apis/reset').toPromise()];
2186
2187
  case 1:
2187
2188
  _a.sent();
2188
- window.location.href = '/public/logout';
2189
2189
  return [2];
2190
2190
  }
2191
2191
  });
@@ -4274,14 +4274,10 @@
4274
4274
  subType: subType,
4275
4275
  type: exports.WsEvents.EnumInteractTypes.CLICK,
4276
4276
  id: ___default.camelCase(data.label) + "-tab",
4277
- }, __assign({ context: {
4278
- position: data.index,
4279
- } }, object), {
4277
+ }, __assign({}, object), {
4280
4278
  pageIdExt: ___default.camelCase(data.label) + "-tab",
4281
4279
  });
4282
- this.raiseCustomImpression(__assign({ context: {
4283
- position: data.index,
4284
- } }, object), {
4280
+ this.raiseCustomImpression(__assign({}, object), {
4285
4281
  pageIdExt: ___default.camelCase(data.label) + "-tab",
4286
4282
  });
4287
4283
  };
@@ -4633,7 +4629,6 @@
4633
4629
  try {
4634
4630
  var page = this.getPageDetails();
4635
4631
  if (data && data.pageContext) {
4636
- page.pageid = data.pageContext.pageId;
4637
4632
  page.module = data.pageContext.module;
4638
4633
  }
4639
4634
  var edata = {