@sunbird-cb/consumption 0.0.38 → 0.0.40

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.
@@ -3917,6 +3917,7 @@
3917
3917
  _this.telemtryResponse = new core.EventEmitter();
3918
3918
  _this.providerId = '';
3919
3919
  _this.emitViewAll = false;
3920
+ _this.channnelName = '';
3920
3921
  _this.id = "ws-strip-miltiple_" + Math.random();
3921
3922
  _this.stripsResultDataMap = {};
3922
3923
  _this.stripsKeyOrder = [];
@@ -4856,6 +4857,22 @@
4856
4857
  },
4857
4858
  }
4858
4859
  : null;
4860
+ /** @type {?} */
4861
+ var proccesedResult = [];
4862
+ if (results && results.response && results.response.certifications) {
4863
+ results.response.certifications.map((/**
4864
+ * @param {?} result
4865
+ * @return {?}
4866
+ */
4867
+ function (result) {
4868
+ if (result.source === _this.channnelName) {
4869
+ proccesedResult.push(result);
4870
+ }
4871
+ }));
4872
+ }
4873
+ if (proccesedResult.length) {
4874
+ results = { response: { certifications: proccesedResult } };
4875
+ }
4859
4876
  resolve({ results: results, viewMoreUrl: viewMoreUrl });
4860
4877
  }), (/**
4861
4878
  * @param {?} error
@@ -6230,6 +6247,7 @@
6230
6247
  telemtryResponse: [{ type: core.Output }],
6231
6248
  providerId: [{ type: core.Input }],
6232
6249
  emitViewAll: [{ type: core.Input }],
6250
+ channnelName: [{ type: core.Input }],
6233
6251
  id: [{ type: core.HostBinding, args: ['id',] }]
6234
6252
  };
6235
6253
  return ContentStripWithTabsLibComponent;
@@ -6248,6 +6266,8 @@
6248
6266
  /** @type {?} */
6249
6267
  ContentStripWithTabsLibComponent.prototype.emitViewAll;
6250
6268
  /** @type {?} */
6269
+ ContentStripWithTabsLibComponent.prototype.channnelName;
6270
+ /** @type {?} */
6251
6271
  ContentStripWithTabsLibComponent.prototype.id;
6252
6272
  /** @type {?} */
6253
6273
  ContentStripWithTabsLibComponent.prototype.stripsResultDataMap;