@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.
Files changed (2) hide show
  1. package/index.js +9 -1
  2. 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
- return connectToParent({
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 = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",