@trackunit/iris-app-runtime-core 1.8.86 → 1.8.88
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 +12 -0
- package/index.esm.js +12 -1
- package/package.json +2 -2
- package/src/FeatureFlagRuntime.d.ts +6 -0
- package/src/index.d.ts +1 -0
package/index.cjs.js
CHANGED
|
@@ -361,6 +361,17 @@ const ExportDataRuntime = {
|
|
|
361
361
|
},
|
|
362
362
|
};
|
|
363
363
|
|
|
364
|
+
/**
|
|
365
|
+
* This is the runtime API for getting internal featureflags only meant for internal use.
|
|
366
|
+
* DO NOT use for external apps.
|
|
367
|
+
*/
|
|
368
|
+
const FeatureFlagRuntime = {
|
|
369
|
+
getFeatureFlags: async () => {
|
|
370
|
+
const api = await getHostConnector();
|
|
371
|
+
return api.getFeatureFlags();
|
|
372
|
+
},
|
|
373
|
+
};
|
|
374
|
+
|
|
364
375
|
const ModalDialogRuntime = {
|
|
365
376
|
async openModal() {
|
|
366
377
|
const scrollX = window.scrollX || 0;
|
|
@@ -633,6 +644,7 @@ exports.CustomersFilterBarRuntime = CustomersFilterBarRuntime;
|
|
|
633
644
|
exports.EnvironmentRuntime = EnvironmentRuntime;
|
|
634
645
|
exports.EventRuntime = EventRuntime;
|
|
635
646
|
exports.ExportDataRuntime = ExportDataRuntime;
|
|
647
|
+
exports.FeatureFlagRuntime = FeatureFlagRuntime;
|
|
636
648
|
exports.ModalDialogRuntime = ModalDialogRuntime;
|
|
637
649
|
exports.NavigationRuntime = NavigationRuntime;
|
|
638
650
|
exports.OemBrandingRuntime = OemBrandingRuntime;
|
package/index.esm.js
CHANGED
|
@@ -359,6 +359,17 @@ const ExportDataRuntime = {
|
|
|
359
359
|
},
|
|
360
360
|
};
|
|
361
361
|
|
|
362
|
+
/**
|
|
363
|
+
* This is the runtime API for getting internal featureflags only meant for internal use.
|
|
364
|
+
* DO NOT use for external apps.
|
|
365
|
+
*/
|
|
366
|
+
const FeatureFlagRuntime = {
|
|
367
|
+
getFeatureFlags: async () => {
|
|
368
|
+
const api = await getHostConnector();
|
|
369
|
+
return api.getFeatureFlags();
|
|
370
|
+
},
|
|
371
|
+
};
|
|
372
|
+
|
|
362
373
|
const ModalDialogRuntime = {
|
|
363
374
|
async openModal() {
|
|
364
375
|
const scrollX = window.scrollX || 0;
|
|
@@ -619,4 +630,4 @@ const WidgetConfigRuntime = {
|
|
|
619
630
|
},
|
|
620
631
|
};
|
|
621
632
|
|
|
622
|
-
export { AnalyticsRuntime, AssetRuntime, AssetSortingRuntime, AssetsFilterBarRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomerRuntime, CustomersFilterBarRuntime, EnvironmentRuntime, EventRuntime, ExportDataRuntime, ModalDialogRuntime, NavigationRuntime, OemBrandingRuntime, ParamsRuntime, RestRuntime, RouterRuntime, SiteRuntime, SitesFilterBarRuntime, ThemeCssRuntime, TimeRangeRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, WidgetConfigRuntime, getCustomFieldValueForDisplayInUI, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, isValidCustomFieldValue, setupHostConnector };
|
|
633
|
+
export { AnalyticsRuntime, AssetRuntime, AssetSortingRuntime, AssetsFilterBarRuntime, ConfirmationDialogRuntime, CurrentUserPreferenceRuntime, CurrentUserRuntime, CustomerRuntime, CustomersFilterBarRuntime, EnvironmentRuntime, EventRuntime, ExportDataRuntime, FeatureFlagRuntime, ModalDialogRuntime, NavigationRuntime, OemBrandingRuntime, ParamsRuntime, RestRuntime, RouterRuntime, SiteRuntime, SitesFilterBarRuntime, ThemeCssRuntime, TimeRangeRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, WidgetConfigRuntime, getCustomFieldValueForDisplayInUI, getCustomFieldValueToSaveFromRawValue, getDateValue, getHostConnector, getStringValue, isValidCustomFieldValue, setupHostConnector };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app-runtime-core",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.88",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"penpal": "^6.2.2",
|
|
11
|
-
"@trackunit/iris-app-runtime-core-api": "1.7.
|
|
11
|
+
"@trackunit/iris-app-runtime-core-api": "1.7.88"
|
|
12
12
|
},
|
|
13
13
|
"module": "./index.esm.js",
|
|
14
14
|
"main": "./index.cjs.js",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FeatureFlagRuntimeApi } from "@trackunit/iris-app-runtime-core-api";
|
|
2
|
+
/**
|
|
3
|
+
* This is the runtime API for getting internal featureflags only meant for internal use.
|
|
4
|
+
* DO NOT use for external apps.
|
|
5
|
+
*/
|
|
6
|
+
export declare const FeatureFlagRuntime: FeatureFlagRuntimeApi;
|
package/src/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from "./CustomFieldRuntime";
|
|
|
12
12
|
export * from "./EnvironmentRuntime";
|
|
13
13
|
export * from "./EventRuntime";
|
|
14
14
|
export * from "./ExportDataRuntime";
|
|
15
|
+
export * from "./FeatureFlagRuntime";
|
|
15
16
|
export * from "./HostConnector";
|
|
16
17
|
export * from "./ModalDialogRuntime";
|
|
17
18
|
export * from "./NavigationRuntime";
|