@jetthai/cuora 1.1.314-tg → 1.1.314-tg-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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/machine/auth.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.314-tg-2](https://github.com/jetthai/cuora-module/compare/v1.1.314-tg-1...v1.1.314-tg-2) (2024-10-31)
|
|
6
|
+
|
|
7
|
+
### [1.1.314-tg-1](https://github.com/jetthai/cuora-module/compare/v1.1.314-tg...v1.1.314-tg-1) (2024-10-31)
|
|
8
|
+
|
|
5
9
|
### [1.1.314-tg](https://github.com/jetthai/cuora-module/compare/v1.1.314...v1.1.314-tg) (2024-10-31)
|
|
6
10
|
|
|
7
11
|
### [1.1.314](https://github.com/jetthai/cuora-module/compare/v1.1.313...v1.1.314) (2024-10-29)
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -274,7 +274,7 @@ export default function (request) {
|
|
|
274
274
|
},
|
|
275
275
|
LOGIN_TELEGRAM: {
|
|
276
276
|
target: '.authentication',
|
|
277
|
-
actions:
|
|
277
|
+
actions: 'setLoginTelegram',
|
|
278
278
|
},
|
|
279
279
|
SET_PLAY: {
|
|
280
280
|
actions: 'setPlay',
|
|
@@ -359,10 +359,12 @@ export default function (request) {
|
|
|
359
359
|
}
|
|
360
360
|
}),
|
|
361
361
|
setLoginTelegram: assign((context, event) => {
|
|
362
|
-
const { additionalUserInfo } = event.data
|
|
362
|
+
const { loginType, additionalUserInfo } = event.data
|
|
363
|
+
console.log('Machine Auth', event.data)
|
|
363
364
|
return {
|
|
364
365
|
loginData: {
|
|
365
366
|
provider: 'telegram',
|
|
367
|
+
loginType,
|
|
366
368
|
additionalUserInfo,
|
|
367
369
|
},
|
|
368
370
|
}
|