@egovernments/digit-ui-module-core 1.9.21-cms → 1.9.23-cms
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 +12 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
## [1.9.23-cms] [05-MAY-2026]
|
|
3
|
+
- **Feature**: Added country code support for mobile numbers in citizen Login flow and UserProfile.
|
|
4
|
+
- **Refactor**: Updated CitizenSideBar and StaticCitizenSideBar to correctly reflect and handle profile updates with country codes.
|
|
5
|
+
|
|
6
|
+
## [1.9.22-cms] [14-APR-2026]
|
|
7
|
+
- **Refactor**: Simplified citizen login preferred language save flow.
|
|
8
|
+
- Removed the `/user-preference/v1/_search` pre-fetch call on OTP success — no longer fetches existing preferences before upsert.
|
|
9
|
+
- Removed `LANGUAGE_CHANGE_KEY` (`Citizen.locale.changed`) sessionStorage flag tracking from `Login/index.js`, `ChangeLanguage.js`, and citizen `LanguageSelection.js`.
|
|
10
|
+
- `saveUserPreferences` now directly reads the currently active language (`Digit.StoreData.getCurrentLanguage()` with localStorage fallbacks) and saves it via `_upsert`.
|
|
11
|
+
- Removed redundant `auth-token` header overrides from `CustomService.getResponse` calls inside `saveUserPreferences`.
|
|
12
|
+
- Removed debug `console.log(moduleName, "moduleName")`.
|
|
13
|
+
|
|
2
14
|
## [1.9.21-cms] [13-APR-2026]
|
|
3
15
|
- **Fix**: Updated citizen OTP preference save flow to change preferred language only when the user explicitly changes language locally.
|
|
4
16
|
- Added a lightweight local language-change flag across citizen language selectors.
|