@jetthai/cuora 1.0.120 → 1.0.122
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 +3 -3
- package/src/machine/index.js +2 -0
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.0.122](https://github.com/jetthai/cuora-module/compare/v1.0.121...v1.0.122) (2022-05-23)
|
|
6
|
+
|
|
7
|
+
### [1.0.121](https://github.com/jetthai/cuora-module/compare/v1.0.120...v1.0.121) (2022-05-23)
|
|
8
|
+
|
|
5
9
|
### [1.0.120](https://github.com/jetthai/cuora-module/compare/v1.0.119...v1.0.120) (2022-05-23)
|
|
6
10
|
|
|
7
11
|
### [1.0.119](https://github.com/jetthai/cuora-module/compare/v1.0.118...v1.0.119) (2022-05-22)
|
package/package.json
CHANGED
package/src/machine/auth.js
CHANGED
|
@@ -251,14 +251,14 @@ export default function (request) {
|
|
|
251
251
|
}),
|
|
252
252
|
setAccount: assign((context, event) => {
|
|
253
253
|
if (context.loginData.phone) {
|
|
254
|
-
cookies.set(accountPhoneKey, context.loginData.phone
|
|
254
|
+
cookies.set(accountPhoneKey, `0${context.loginData.phone}`, {
|
|
255
255
|
path: '/',
|
|
256
|
-
maxAge: 60 * 60 * 24,
|
|
256
|
+
maxAge: 60 * 60 * 24 * 7,
|
|
257
257
|
})
|
|
258
258
|
} else if (context.loginData.email) {
|
|
259
259
|
cookies.set(accountEmailKey, context.loginData.email, {
|
|
260
260
|
path: '/',
|
|
261
|
-
maxAge: 60 * 60 * 24,
|
|
261
|
+
maxAge: 60 * 60 * 24 * 7,
|
|
262
262
|
})
|
|
263
263
|
}
|
|
264
264
|
}),
|
package/src/machine/index.js
CHANGED
|
@@ -11,6 +11,7 @@ import game_hot_new from './game_hot_new'
|
|
|
11
11
|
import inbox from './inbox'
|
|
12
12
|
import merge from './merge'
|
|
13
13
|
import payment_data from './payment_data'
|
|
14
|
+
import reward_fc from './reward_fc'
|
|
14
15
|
import reward from './reward'
|
|
15
16
|
import setting from './setting'
|
|
16
17
|
import side from './side'
|
|
@@ -43,6 +44,7 @@ export default {
|
|
|
43
44
|
merge,
|
|
44
45
|
payment_data,
|
|
45
46
|
reward,
|
|
47
|
+
reward_fc,
|
|
46
48
|
setting,
|
|
47
49
|
side,
|
|
48
50
|
side_v2,
|