@trackunit/iris-app-runtime-core 0.3.0 → 0.3.1
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.
- package/index.js +9 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1126,9 +1126,17 @@ const setupHostConnector = subscribedMethods => {
|
|
|
1126
1126
|
onTokenChanged: () => {},
|
|
1127
1127
|
onAssetSortingStateChanged: () => {}
|
|
1128
1128
|
}, subscribedMethods);
|
|
1129
|
-
|
|
1129
|
+
const connection = connectToParent({
|
|
1130
1130
|
methods
|
|
1131
1131
|
});
|
|
1132
|
+
connectToParent({
|
|
1133
|
+
methods
|
|
1134
|
+
}).promise.catch(err => {
|
|
1135
|
+
// TODO consider how to handle this catch
|
|
1136
|
+
// eslint-disable-next-line no-console
|
|
1137
|
+
console.log(err);
|
|
1138
|
+
});
|
|
1139
|
+
return connection;
|
|
1132
1140
|
};
|
|
1133
1141
|
const hostConnector = setupHostConnector({});
|
|
1134
1142
|
const getHostConnector = () => {
|