@trackunit/iris-app-runtime-core 0.0.47-alpha-4849.1 → 0.0.49
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/ToastRuntime.d.ts +4 -0
- package/index.d.ts +1 -0
- package/index.js +11 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1310,6 +1310,16 @@ const RestRuntime = {
|
|
|
1310
1310
|
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
|
+
const ToastRuntime = {
|
|
1314
|
+
addToast(toast) {
|
|
1315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1316
|
+
const api = yield getHostConnector();
|
|
1317
|
+
return api.addToast(toast);
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
};
|
|
1322
|
+
|
|
1313
1323
|
const TokenRuntime = {
|
|
1314
1324
|
getTokenContext: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1315
1325
|
const api = yield getHostConnector();
|
|
@@ -1324,4 +1334,4 @@ const UserSubscriptionRuntime = {
|
|
|
1324
1334
|
})
|
|
1325
1335
|
};
|
|
1326
1336
|
|
|
1327
|
-
export { AssetRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, RestRuntime, TokenRuntime, UserSubscriptionRuntime };
|
|
1337
|
+
export { AssetRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, 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.
|
|
3
|
+
"version": "0.0.49",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "MIT",
|
|
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.
|
|
12
|
-
"@trackunit/react-core-contexts-api": "0.0.
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "0.0.47",
|
|
12
|
+
"@trackunit/react-core-contexts-api": "0.0.45"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {}
|
|
15
15
|
}
|