keycloakify 11.11.0 → 11.11.2

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/README.md CHANGED
@@ -135,6 +135,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
135
135
  </tr>
136
136
  <tr>
137
137
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/rgrosjean"><img src="https://avatars.githubusercontent.com/u/39985706?v=4?s=100" width="100px;" alt="rgrosjean"/><br /><sub><b>rgrosjean</b></sub></a><br /><a href="https://github.com/keycloakify/keycloakify/commits?author=rgrosjean" title="Code">💻</a> <a href="https://github.com/keycloakify/keycloakify/commits?author=rgrosjean" title="Tests">⚠️</a></td>
138
+ <td align="center" valign="top" width="14.28%"><a href="http://about.me/lleir"><img src="https://avatars.githubusercontent.com/u/34919?v=4?s=100" width="100px;" alt="Lleïr Borràs Metje"/><br /><sub><b>Lleïr Borràs Metje</b></sub></a><br /><a href="https://github.com/keycloakify/keycloakify/issues?q=author%3Alleirborras" title="Bug reports">🐛</a></td>
138
139
  </tr>
139
140
  </tbody>
140
141
  </table>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.11.0",
3
+ "version": "11.11.2",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -184,6 +184,9 @@ function decodeHtmlEntities(htmlStr){
184
184
  </#if>
185
185
 
186
186
  <#if stringified?starts_with("org.keycloak.")>
187
+ <#if stringified?starts_with("org.keycloak.models.OTPPolicy") >
188
+ <#break>
189
+ </#if>
187
190
  <#list ["models", "services", "authentication", "quarkus.runtime", "transaction", "connections", "utils.ClosingStream"] as namespacePortion>
188
191
  <#if stringified?starts_with("org.keycloak." + namespacePortion)>
189
192
  <#return abort>
@@ -198,6 +201,17 @@ function decodeHtmlEntities(htmlStr){
198
201
  <#-- Catch realm internal representation -->
199
202
  <#list [1] as __>
200
203
 
204
+ <#--
205
+ In the Account SPA, the realm object is actually passed and used...
206
+ We cherry pick what we use in it in the exclusion section.
207
+ -->
208
+ <#if (
209
+ xKeycloakify.pageId == "index.ftl" &&
210
+ xKeycloakify.themeType == "account"
211
+ )>
212
+ <#break>
213
+ </#if>
214
+
201
215
  <#if !stringified?matches("^[0-9a-fA-F\\-]{36}@[0-9a-f]+$")>
202
216
  <#break>
203
217
  </#if>