@jetthai/cuora 1.1.449 → 1.1.450
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 +6 -0
- package/package.json +1 -1
- package/src/machine/auth.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.1.450](https://github.com/jetthai/cuora-module/compare/v1.1.449...v1.1.450) (2026-07-21)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **auth:** setUserInfo 於 uid_site 存在時才呼叫 sentry.setUser ([cc9cc79](https://github.com/jetthai/cuora-module/commit/cc9cc79fd6a9ede0d1bb59279e5454116338e869))
|
|
10
|
+
|
|
5
11
|
### [1.1.449](https://github.com/jetthai/cuora-module/compare/v1.1.448...v1.1.449) (2026-07-19)
|
|
6
12
|
|
|
7
13
|
### Bug Fixes
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -525,7 +525,9 @@ export default function (request) {
|
|
|
525
525
|
window.location.href = redirectURL
|
|
526
526
|
},
|
|
527
527
|
setUserInfo: assign((context, event) => {
|
|
528
|
-
|
|
528
|
+
if (event.data?.uid_site) {
|
|
529
|
+
sentry?.setUser({ id: event.data.uid_site })
|
|
530
|
+
}
|
|
529
531
|
return {
|
|
530
532
|
userInfo: event.data,
|
|
531
533
|
}
|