@wolkabout/commons 0.0.16 → 0.0.17
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.
|
@@ -459,10 +459,7 @@ class FeatureRegistry {
|
|
|
459
459
|
}
|
|
460
460
|
loadExternalFeatures(features) {
|
|
461
461
|
features.forEach((feature) => {
|
|
462
|
-
from(loadRemoteModule(feature.remote, feature.feature)).pipe(map(module => {
|
|
463
|
-
console.log('Received', module);
|
|
464
|
-
return module.default;
|
|
465
|
-
}), catchError((error) => {
|
|
462
|
+
from(loadRemoteModule(feature.remote, feature.feature)).pipe(map(module => module.default), catchError((error) => {
|
|
466
463
|
console.warn("Unable to load: ", feature.remote + '/' + feature.feature, error);
|
|
467
464
|
return of(null);
|
|
468
465
|
})).subscribe((feature) => {
|