@sprucelabs/spruce-heartwood-utils 16.14.4 → 16.14.5
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.
|
@@ -63,7 +63,7 @@ class RemoteViewControllerFactoryImpl {
|
|
|
63
63
|
source = yield this.fetchFromUrl(sourceUrl);
|
|
64
64
|
}
|
|
65
65
|
const importer = ViewControllerImporter.Importer();
|
|
66
|
-
const skillViews = importer.import(source);
|
|
66
|
+
const { controllers: skillViews } = importer.import(source);
|
|
67
67
|
skillViews.forEach((sv) => {
|
|
68
68
|
sv.id = `${namespace}.${sv.id}`;
|
|
69
69
|
});
|
|
@@ -54,7 +54,7 @@ class RemoteViewControllerFactoryImpl {
|
|
|
54
54
|
source = await this.fetchFromUrl(sourceUrl);
|
|
55
55
|
}
|
|
56
56
|
const importer = heartwood_view_controllers_1.ViewControllerImporter.Importer();
|
|
57
|
-
const skillViews = importer.import(source);
|
|
57
|
+
const { controllers: skillViews } = importer.import(source);
|
|
58
58
|
skillViews.forEach((sv) => {
|
|
59
59
|
sv.id = `${namespace}.${sv.id}`;
|
|
60
60
|
});
|