@trackunit/iris-app-runtime-core 0.3.135 → 0.3.137

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 CHANGED
@@ -124,10 +124,6 @@ const CurrentUserRuntime = {
124
124
  const api = yield getHostConnector();
125
125
  return api.getCurrentUserContext();
126
126
  }),
127
- getCurrentUserRole: (userIds) => __awaiter(void 0, void 0, void 0, function* () {
128
- const api = yield getHostConnector();
129
- return api.getCurrentUserRole(userIds);
130
- }),
131
127
  };
132
128
 
133
129
  /**
package/index.esm.js CHANGED
@@ -120,10 +120,6 @@ const CurrentUserRuntime = {
120
120
  const api = yield getHostConnector();
121
121
  return api.getCurrentUserContext();
122
122
  }),
123
- getCurrentUserRole: (userIds) => __awaiter(void 0, void 0, void 0, function* () {
124
- const api = yield getHostConnector();
125
- return api.getCurrentUserRole(userIds);
126
- }),
127
123
  };
128
124
 
129
125
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.135",
3
+ "version": "0.3.137",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -1,7 +1,5 @@
1
- import { CurrentUserRole } from "@trackunit/iris-app-runtime-core-api";
2
1
  import { ICurrentUserContext } from "@trackunit/react-core-contexts-api";
3
2
  export interface ICurrentUserRuntime {
4
3
  getCurrentUserContext: () => Promise<ICurrentUserContext>;
5
- getCurrentUserRole: (userIds: string | string[]) => Promise<CurrentUserRole | undefined>;
6
4
  }
7
5
  export declare const CurrentUserRuntime: ICurrentUserRuntime;