@trackunit/iris-app-runtime-core 0.0.56-alpha-978fbf7c0.0 → 0.0.56

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.
@@ -0,0 +1,6 @@
1
+ import { DeepLink, SetDeepLink } from "@trackunit/iris-app-runtime-core-api";
2
+ export interface INavigationRuntime {
3
+ getDeepLink: () => Promise<DeepLink>;
4
+ setDeepLink: SetDeepLink;
5
+ }
6
+ export declare const NavigationRuntime: INavigationRuntime;
package/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from "./CurrentUserRuntime";
4
4
  export * from "./CustomFieldRuntime";
5
5
  export * from "./DeveloperSettingsRuntime";
6
6
  export * from "./EnvironmentRuntime";
7
+ export * from "./NavigationRuntime";
7
8
  export * from "./RestRuntime";
8
9
  export * from "./ToastRuntime";
9
10
  export * from "./TokenRuntime";
package/index.js CHANGED
@@ -1324,6 +1324,17 @@ const EnvironmentRuntime = {
1324
1324
  })
1325
1325
  };
1326
1326
 
1327
+ const NavigationRuntime = {
1328
+ getDeepLink: () => __awaiter(void 0, void 0, void 0, function* () {
1329
+ const api = yield getHostConnector();
1330
+ return api.getDeepLink();
1331
+ }),
1332
+ setDeepLink: props => __awaiter(void 0, void 0, void 0, function* () {
1333
+ const api = yield getHostConnector();
1334
+ return api.setDeepLink(props);
1335
+ })
1336
+ };
1337
+
1327
1338
  const RestRuntime = {
1328
1339
  apiHost: "https://API_HOST",
1329
1340
 
@@ -1454,4 +1465,4 @@ const UserSubscriptionRuntime = {
1454
1465
  })
1455
1466
  };
1456
1467
 
1457
- export { AssetRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime };
1468
+ export { AssetRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, NavigationRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.0.56-alpha-978fbf7c0.0",
3
+ "version": "0.0.56",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "UNLICENSED",
6
6
  "module": "./index.js",
@@ -8,8 +8,8 @@
8
8
  "type": "module",
9
9
  "types": "./index.d.ts",
10
10
  "dependencies": {
11
- "@trackunit/iris-app-runtime-core-api": "0.0.54-alpha-978fbf7c0.0",
12
- "@trackunit/react-core-contexts-api": "0.0.52-alpha-978fbf7c0.0"
11
+ "@trackunit/iris-app-runtime-core-api": "0.0.54",
12
+ "@trackunit/react-core-contexts-api": "0.0.51"
13
13
  },
14
14
  "peerDependencies": {}
15
15
  }