@trackunit/iris-app-runtime-core 0.3.116-alpha-bc5b0fcd90.0 → 0.3.116

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.cjs.js CHANGED
@@ -39,7 +39,7 @@ const doNothingByDefault = () => { };
39
39
  */
40
40
  const setupHostConnector = (subscribedMethods) => {
41
41
  var _a;
42
- const methods = Object.assign({ onGlobalSelectionChanged: doNothingByDefault, onFilterBarValuesChanged: doNothingByDefault, onTokenChanged: doNothingByDefault, onAssetSortingStateChanged: doNothingByDefault }, subscribedMethods);
42
+ const methods = Object.assign({ onFilterBarValuesChanged: doNothingByDefault, onTokenChanged: doNothingByDefault, onAssetSortingStateChanged: doNothingByDefault }, subscribedMethods);
43
43
  const connection = penpal.connectToParent({ methods });
44
44
  (_a = connection.promise) === null || _a === void 0 ? void 0 : _a.catch(err => {
45
45
  // TODO consider how to handle this catch
@@ -297,13 +297,6 @@ const FilterBarRuntime = {
297
297
  }),
298
298
  };
299
299
 
300
- const GlobalSelectionRuntime = {
301
- getGlobalSelection: () => __awaiter(void 0, void 0, void 0, function* () {
302
- const api = yield getHostConnector();
303
- return api.getGlobalSelectionContext();
304
- }),
305
- };
306
-
307
300
  const OemBrandingContextRuntime = {
308
301
  getOemBrandingContextRuntime: () => __awaiter(void 0, void 0, void 0, function* () {
309
302
  const api = yield getHostConnector();
@@ -419,7 +412,6 @@ exports.CustomFieldRuntime = CustomFieldRuntime;
419
412
  exports.EnvironmentRuntime = EnvironmentRuntime;
420
413
  exports.EventRuntime = EventRuntime;
421
414
  exports.FilterBarRuntime = FilterBarRuntime;
422
- exports.GlobalSelectionRuntime = GlobalSelectionRuntime;
423
415
  exports.NavigationRuntime = NavigationRuntime;
424
416
  exports.OemBrandingContextRuntime = OemBrandingContextRuntime;
425
417
  exports.ParamsRuntime = ParamsRuntime;
package/index.esm.js CHANGED
@@ -35,7 +35,7 @@ const doNothingByDefault = () => { };
35
35
  */
36
36
  const setupHostConnector = (subscribedMethods) => {
37
37
  var _a;
38
- const methods = Object.assign({ onGlobalSelectionChanged: doNothingByDefault, onFilterBarValuesChanged: doNothingByDefault, onTokenChanged: doNothingByDefault, onAssetSortingStateChanged: doNothingByDefault }, subscribedMethods);
38
+ const methods = Object.assign({ onFilterBarValuesChanged: doNothingByDefault, onTokenChanged: doNothingByDefault, onAssetSortingStateChanged: doNothingByDefault }, subscribedMethods);
39
39
  const connection = connectToParent({ methods });
40
40
  (_a = connection.promise) === null || _a === void 0 ? void 0 : _a.catch(err => {
41
41
  // TODO consider how to handle this catch
@@ -293,13 +293,6 @@ const FilterBarRuntime = {
293
293
  }),
294
294
  };
295
295
 
296
- const GlobalSelectionRuntime = {
297
- getGlobalSelection: () => __awaiter(void 0, void 0, void 0, function* () {
298
- const api = yield getHostConnector();
299
- return api.getGlobalSelectionContext();
300
- }),
301
- };
302
-
303
296
  const OemBrandingContextRuntime = {
304
297
  getOemBrandingContextRuntime: () => __awaiter(void 0, void 0, void 0, function* () {
305
298
  const api = yield getHostConnector();
@@ -406,4 +399,4 @@ const UserSubscriptionRuntime = {
406
399
  }),
407
400
  };
408
401
 
409
- export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, EventRuntime, FilterBarRuntime, GlobalSelectionRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
402
+ export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, EventRuntime, FilterBarRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.116-alpha-bc5b0fcd90.0",
3
+ "version": "0.3.116",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
package/src/index.d.ts CHANGED
@@ -8,7 +8,6 @@ export * from "./CustomFieldRuntime";
8
8
  export * from "./EnvironmentRuntime";
9
9
  export * from "./EventRuntime";
10
10
  export * from "./FilterBarRuntime";
11
- export * from "./GlobalSelectionRuntime";
12
11
  export * from "./HostConnector";
13
12
  export * from "./IrisOemManifestRuntime";
14
13
  export * from "./NavigationRuntime";
@@ -1,5 +0,0 @@
1
- import { IGlobalSelectionContext } from "@trackunit/react-core-contexts-api";
2
- export interface IGlobalSelectionRuntime {
3
- getGlobalSelection: () => Promise<IGlobalSelectionContext>;
4
- }
5
- export declare const GlobalSelectionRuntime: IGlobalSelectionRuntime;