r3ui-lib 1.2.29 → 1.2.31
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 +20 -0
- package/dist/login.es.js +1246 -1112
- package/dist/login.umd.js +6 -6
- package/dist/r3ui-lib.es.js +3826 -3589
- package/dist/r3ui-lib.umd.js +28 -28
- package/dist/types/components/SsoLoginScreen.vue.d.ts +11 -0
- package/dist/types/components/SsoLoginScreen.vue.d.ts.map +1 -0
- package/dist/types/components/form/CustomInput.vue.d.ts +2 -2
- package/dist/types/components/form/VSelect.vue.d.ts +2 -2
- package/dist/types/components/forms/Flatpickr.vue.d.ts +1 -1
- package/dist/types/components/forms/Flatpickr.vue.d.ts.map +1 -1
- package/dist/types/components/forms/MultiInput.vue.d.ts +1 -1
- package/dist/types/components/forms/MultiInput.vue.d.ts.map +1 -1
- package/dist/types/components/layout/LoginLayoutFrame.vue.d.ts +23 -0
- package/dist/types/components/layout/LoginLayoutFrame.vue.d.ts.map +1 -0
- package/dist/types/login-entry.d.ts +2 -0
- package/dist/types/login-entry.d.ts.map +1 -1
- package/dist/types/main.d.ts +3 -0
- package/dist/types/main.d.ts.map +1 -1
- package/dist/types/utils/auth/exchangePasswordToken.d.ts +15 -0
- package/dist/types/utils/auth/exchangePasswordToken.d.ts.map +1 -0
- package/dist/types/utils/auth/handlePkceCallback.d.ts +28 -0
- package/dist/types/utils/auth/handlePkceCallback.d.ts.map +1 -0
- package/dist/types/utils/auth/runLogoutHandler.d.ts +19 -0
- package/dist/types/utils/auth/runLogoutHandler.d.ts.map +1 -0
- package/dist/types/utils/auth/signInWithSSO.d.ts +2 -0
- package/dist/types/utils/auth/signInWithSSO.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,26 @@
|
|
|
5
5
|
Формат основан на [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
и этот проект придерживается [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.2.31] - 2026-08-31
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- `signInWithSSO` — lock в `sessionStorage` (HMR не сбрасывает), не перезаписывает существующий `pkce_state`, origin вкладки должен совпадать с `NUXT_PUBLIC_ORIGIN`
|
|
13
|
+
- `signInWithSSO` — после успешного callback lock без `pkce_state` cookie сбрасывается; повторный логин стартует новый PKCE (иначе 400 OAuth state is invalid)
|
|
14
|
+
|
|
15
|
+
## [1.2.30] - 2026-08-28
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- `handlePkceCallback` и `exchangePasswordToken` — один PKCE/password token use-case для Nitro
|
|
20
|
+
- `SsoLoginScreen` и `LoginLayoutFrame` в `r3ui-lib/login` — один UI входа вместо копий в приложениях
|
|
21
|
+
- `runLogoutHandler` — один Nitro logout: throw 500, cookies чистятся в `finally`
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- PKCE callback: битый config и не-объект query → 500; ошибка обмена токена сохраняется в `cause`
|
|
26
|
+
- `exchangePasswordToken`: невалидный body → 400, пустой client/token URL → 500, без `return error`
|
|
27
|
+
|
|
8
28
|
## [1.2.29] - 2026-08-28
|
|
9
29
|
|
|
10
30
|
### Fixed
|