@jetthai/cuora 1.0.5 → 1.0.6
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 +2 -0
- package/package.json +1 -1
- package/plugin/core.js +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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.6](https://github.com/jetthai/cuora-module/compare/v1.0.5...v1.0.6) (2021-08-09)
|
|
6
|
+
|
|
5
7
|
### [1.0.5](https://github.com/jetthai/cuora-module/compare/v1.0.4...v1.0.5) (2021-08-09)
|
|
6
8
|
|
|
7
9
|
### [1.0.4](https://github.com/jetthai/cuora-module/compare/v1.0.3...v1.0.4) (2021-08-09)
|
package/package.json
CHANGED
package/plugin/core.js
CHANGED
|
@@ -20,16 +20,16 @@ function createStore({ $request, $ignoreErrorRequest, $loadingRequest, $updateSo
|
|
|
20
20
|
namespaced: true,
|
|
21
21
|
state: () => ({
|
|
22
22
|
config: {
|
|
23
|
-
name: process.env.NAME,
|
|
23
|
+
// name: process.env.NAME,
|
|
24
24
|
clientId: process.env.CLIENT_ID,
|
|
25
25
|
clientSecret: process.env.CLIENT_SECRET,
|
|
26
26
|
version: process.env.API_VERSION,
|
|
27
27
|
serviceUrl: process.env.API_URL,
|
|
28
|
-
officialUrl: process.env.OFFICIAL_URL,
|
|
29
|
-
clientURL: process.env.CLIENT_URL,
|
|
30
|
-
pool: process.env.POOL,
|
|
31
|
-
operationMode: process.env.OPERATION_MODE,
|
|
32
|
-
regions: process.env.REGIONS.split(','),
|
|
28
|
+
// officialUrl: process.env.OFFICIAL_URL,
|
|
29
|
+
// clientURL: process.env.CLIENT_URL,
|
|
30
|
+
// pool: process.env.POOL,
|
|
31
|
+
// operationMode: process.env.OPERATION_MODE,
|
|
32
|
+
// regions: process.env.REGIONS.split(','),
|
|
33
33
|
imageUrl: process.env.IMAGE_URL,
|
|
34
34
|
},
|
|
35
35
|
authorized: false,
|
|
@@ -345,12 +345,12 @@ function createStore({ $request, $ignoreErrorRequest, $loadingRequest, $updateSo
|
|
|
345
345
|
try {
|
|
346
346
|
commit('setLoading', true)
|
|
347
347
|
// if ($cookie.getToken()) {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
348
|
+
await dispatch('fetchUserInfo')
|
|
349
|
+
commit('setAuthorized', true)
|
|
350
|
+
dispatch('game/examineGame', null, { root: true })
|
|
351
|
+
dispatch('refreshData')
|
|
352
|
+
dispatch('keepAlive')
|
|
353
|
+
return true
|
|
354
354
|
// } else {
|
|
355
355
|
// return false
|
|
356
356
|
// }
|