@nocios/crudify-ui 3.0.14 → 3.0.16
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/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1147,10 +1147,11 @@ function SessionProvider({ children, options = {}, config: propConfig }) {
|
|
|
1147
1147
|
env = cookieEnv;
|
|
1148
1148
|
}
|
|
1149
1149
|
if (cookieAppName) {
|
|
1150
|
-
appName = cookieAppName;
|
|
1150
|
+
appName = decodeURIComponent(cookieAppName);
|
|
1151
1151
|
}
|
|
1152
1152
|
if (cookieLoginActions) {
|
|
1153
|
-
|
|
1153
|
+
const decodedActions = decodeURIComponent(cookieLoginActions);
|
|
1154
|
+
loginActions = decodedActions.split(",").map((s) => s.trim()).filter(Boolean);
|
|
1154
1155
|
}
|
|
1155
1156
|
}
|
|
1156
1157
|
console.log("\u{1F50D} SessionProvider - Configuration Detection:");
|
package/dist/index.mjs
CHANGED
|
@@ -1081,10 +1081,11 @@ function SessionProvider({ children, options = {}, config: propConfig }) {
|
|
|
1081
1081
|
env = cookieEnv;
|
|
1082
1082
|
}
|
|
1083
1083
|
if (cookieAppName) {
|
|
1084
|
-
appName = cookieAppName;
|
|
1084
|
+
appName = decodeURIComponent(cookieAppName);
|
|
1085
1085
|
}
|
|
1086
1086
|
if (cookieLoginActions) {
|
|
1087
|
-
|
|
1087
|
+
const decodedActions = decodeURIComponent(cookieLoginActions);
|
|
1088
|
+
loginActions = decodedActions.split(",").map((s) => s.trim()).filter(Boolean);
|
|
1088
1089
|
}
|
|
1089
1090
|
}
|
|
1090
1091
|
console.log("\u{1F50D} SessionProvider - Configuration Detection:");
|