@trackunit/iris-app-runtime-core 0.3.39 → 0.3.41

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 CHANGED
@@ -257,6 +257,16 @@ const GlobalSelectionRuntime = {
257
257
  }),
258
258
  };
259
259
 
260
+ const OemBrandingContextRuntime = {
261
+ getOemBrandingContextRuntime: () => __awaiter(void 0, void 0, void 0, function* () {
262
+ const api = yield getHostConnector();
263
+ return {
264
+ getOemImage: api.getOemImage,
265
+ getOemBranding: api.getOemBranding,
266
+ };
267
+ }),
268
+ };
269
+
260
270
  const NavigationRuntime = {
261
271
  setDeepLink: (props) => __awaiter(void 0, void 0, void 0, function* () {
262
272
  const api = yield getHostConnector();
@@ -344,6 +354,7 @@ exports.CustomFieldRuntime = CustomFieldRuntime;
344
354
  exports.EnvironmentRuntime = EnvironmentRuntime;
345
355
  exports.GlobalSelectionRuntime = GlobalSelectionRuntime;
346
356
  exports.NavigationRuntime = NavigationRuntime;
357
+ exports.OemBrandingContextRuntime = OemBrandingContextRuntime;
347
358
  exports.ParamsRuntime = ParamsRuntime;
348
359
  exports.RestRuntime = RestRuntime;
349
360
  exports.SiteRuntime = SiteRuntime;
package/index.js CHANGED
@@ -254,6 +254,16 @@ const GlobalSelectionRuntime = {
254
254
  }),
255
255
  };
256
256
 
257
+ const OemBrandingContextRuntime = {
258
+ getOemBrandingContextRuntime: () => __awaiter(void 0, void 0, void 0, function* () {
259
+ const api = yield getHostConnector();
260
+ return {
261
+ getOemImage: api.getOemImage,
262
+ getOemBranding: api.getOemBranding,
263
+ };
264
+ }),
265
+ };
266
+
257
267
  const NavigationRuntime = {
258
268
  setDeepLink: (props) => __awaiter(void 0, void 0, void 0, function* () {
259
269
  const api = yield getHostConnector();
@@ -333,4 +343,4 @@ const UserSubscriptionRuntime = {
333
343
  }),
334
344
  };
335
345
 
336
- export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue, getDateValue, getHostConnector, getStringValue, setupHostConnector };
346
+ export { AnalyticsContextRuntime, AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, OemBrandingContextRuntime, ParamsRuntime, RestRuntime, SiteRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue, 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.39",
3
+ "version": "0.3.41",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "module": "./index.js",
@@ -8,8 +8,8 @@
8
8
  "type": "module",
9
9
  "types": "./src/index.d.ts",
10
10
  "dependencies": {
11
- "@trackunit/iris-app-runtime-core-api": "0.3.33",
12
- "@trackunit/react-core-contexts-api": "0.2.30"
11
+ "@trackunit/iris-app-runtime-core-api": "0.3.35",
12
+ "@trackunit/react-core-contexts-api": "0.2.32"
13
13
  },
14
14
  "peerDependencies": {}
15
15
  }
@@ -0,0 +1,5 @@
1
+ import { IOemBrandingContext } from "@trackunit/react-core-contexts-api";
2
+ export interface IOemBrandingContextRuntime {
3
+ getOemBrandingContextRuntime: () => Promise<IOemBrandingContext>;
4
+ }
5
+ export declare const OemBrandingContextRuntime: IOemBrandingContextRuntime;
package/src/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from "./CustomFieldRuntime";
7
7
  export * from "./EnvironmentRuntime";
8
8
  export * from "./GlobalSelectionRuntime";
9
9
  export * from "./HostConnector";
10
+ export * from "./IrisOemManifestRuntime";
10
11
  export * from "./NavigationRuntime";
11
12
  export * from "./ParamsRuntime";
12
13
  export * from "./RestRuntime";