super-page-runtime 2.0.61 → 2.0.63

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.
@@ -866,6 +866,11 @@ function downloadTemplateFunc(params) {
866
866
  if (token) {
867
867
  param += "&JWT=" + token;
868
868
  }
869
+ let runCurrentRoleKey = "_RUN_CURRENT_ROLE";
870
+ const currentRole = getSessionCache(runCurrentRoleKey);
871
+ if (currentRole) {
872
+ param += "&" + runCurrentRoleKey + "=" + currentRole;
873
+ }
869
874
  if (configureBase) {
870
875
  const isPermission = configureBase.isPermission === void 0 || configureBase.isPermission === "true" || configureBase.isPermission;
871
876
  param += "&isPermission=" + isPermission;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.0.61",
3
+ "version": "2.0.63",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",