keycloakify 4.2.10 → 4.2.11

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### **4.2.11** (2021-12-07)
2
+
3
+
4
+
1
5
  ### **4.2.10** (2021-11-12)
2
6
 
3
7
  - Export an exaustive list of KcLanguageTag
package/README.md CHANGED
@@ -77,6 +77,7 @@ If you already have a Keycloak custom theme, it can be easily ported to Keycloak
77
77
  - [Implement context persistence (optional)](#implement-context-persistence-optional)
78
78
  - [Kickstart video](#kickstart-video)
79
79
  - [About the errors related to `objectToJson` in Keycloak logs.](#about-the-errors-related-to-objecttojson-in-keycloak-logs)
80
+ - [The pages take too long to load ?](#the-pages-take-too-long-to-load-)
80
81
  - [Adding custom message (to `i18n/useKcMessage.tsx`)](#adding-custom-message-to-i18nusekcmessagetsx)
81
82
  - [Email domain whitelist](#email-domain-whitelist)
82
83
  - [Changelog highlights](#changelog-highlights)
@@ -461,6 +462,10 @@ To [converts the `.ftl` values into a JavaScript object](https://github.com/Inse
461
462
  without making assumptions on the `.data_model` we have to do things that throws.
462
463
  It's all-right because every statement that can fail is inside an `<#attempt><#recorver>` block but it results in errors being printed to the logs.
463
464
 
465
+ # The pages take too long to load ?
466
+
467
+ The problem of templates taking a long time to load only happens in the test environment, when you have a console logging all the above-mentioned `.ftl` warnings in real time. Logging all those warnings is what takes time. Once in production page load is way faster.
468
+
464
469
  # Adding custom message (to `i18n/useKcMessage.tsx`)
465
470
 
466
471
  You can reproduce [this approach](https://github.com/garronej/keycloakify-demo-app/blob/main/src/kcMessagesExtension.ts)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "4.2.10",
3
+ "version": "4.2.11",
4
4
  "description": "Keycloak theme generator for Reacts app",
5
5
  "repository": {
6
6
  "type": "git",
@@ -321,7 +321,7 @@
321
321
  "@emotion/react": "^11.4.1",
322
322
  "powerhooks": "^0.10.0",
323
323
  "react": "^16.8.0 || ^17.0.0",
324
- "tss-react": "^1.1.0"
324
+ "tss-react": "^1.1.0 || ^3.0.0"
325
325
  },
326
326
  "devDependencies": {
327
327
  "@emotion/react": "^11.4.1",
@@ -335,7 +335,7 @@
335
335
  "properties-parser": "^0.3.1",
336
336
  "react": "^17.0.1",
337
337
  "rimraf": "^3.0.2",
338
- "tss-react": "^1.1.0",
338
+ "tss-react": "^3.0.0",
339
339
  "typescript": "^4.2.3"
340
340
  },
341
341
  "dependencies": {