@trackunit/iris-app-runtime-core 0.3.10 → 0.3.12
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 +2 -2
- package/package.json +3 -3
- package/src/AssetRuntime.d.ts +6 -2
package/index.cjs
CHANGED
|
@@ -50,9 +50,9 @@ const AssetRuntime = {
|
|
|
50
50
|
const api = yield getHostConnector();
|
|
51
51
|
return api.getAssetInfo();
|
|
52
52
|
}),
|
|
53
|
-
gotoAssetHome: (assetId,
|
|
53
|
+
gotoAssetHome: (assetId, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
54
54
|
const api = yield getHostConnector();
|
|
55
|
-
return api.gotoAssetHome(assetId,
|
|
55
|
+
return api.gotoAssetHome(assetId, options);
|
|
56
56
|
}),
|
|
57
57
|
};
|
|
58
58
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app-runtime-core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"type": "commonjs",
|
|
8
8
|
"types": "./src/index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/iris-app-runtime-core-api": "0.3.
|
|
11
|
-
"@trackunit/react-core-contexts-api": "0.2.
|
|
10
|
+
"@trackunit/iris-app-runtime-core-api": "0.3.11",
|
|
11
|
+
"@trackunit/react-core-contexts-api": "0.2.11"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {}
|
|
14
14
|
}
|
package/src/AssetRuntime.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import { AssetInfo } from "@trackunit/iris-app-runtime-core-api";
|
|
1
|
+
import { AssetHomeSubPage, AssetInfo } from "@trackunit/iris-app-runtime-core-api";
|
|
2
2
|
export interface IAssetRuntime {
|
|
3
3
|
getAssetInfo: () => Promise<AssetInfo>;
|
|
4
|
-
gotoAssetHome: (assetId: string,
|
|
4
|
+
gotoAssetHome: (assetId: string, options?: {
|
|
5
|
+
irisAppId?: string;
|
|
6
|
+
extensionId?: string;
|
|
7
|
+
subPage?: AssetHomeSubPage;
|
|
8
|
+
}) => Promise<boolean>;
|
|
5
9
|
}
|
|
6
10
|
export declare const AssetRuntime: IAssetRuntime;
|