@wolkabout/commons 0.0.6 → 0.0.7

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.
@@ -430,7 +430,7 @@ class FeatureRegistry {
430
430
  this._features.next([...this._features.value, feature]);
431
431
  }
432
432
  loadExternalFeatures(features) {
433
- forkJoin(features.map(externalFeature => from(loadRemoteModule(externalFeature.remote, externalFeature.exposedModule)).pipe(map(module => module.feature), catchError(() => of(null))))).pipe(map(list => list.filter((x) => x !== null))).subscribe((externalFeatures) => {
433
+ forkJoin(features.map(externalFeature => from(loadRemoteModule(externalFeature.remote, externalFeature.exposedModule)).pipe(map(module => module.default), catchError(() => of(null))))).pipe(map(list => list.filter((x) => x !== null))).subscribe((externalFeatures) => {
434
434
  externalFeatures.forEach(feature => this.registerFeature(feature));
435
435
  });
436
436
  }