@jetthai/cuora 1.0.13 → 1.0.14
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/game.js +5 -0
- package/plugin/request.js +1 -0
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.14](https://github.com/jetthai/cuora-module/compare/v1.0.13...v1.0.14) (2021-08-17)
|
|
6
|
+
|
|
5
7
|
### [1.0.13](https://github.com/jetthai/cuora-module/compare/v1.0.12...v1.0.13) (2021-08-16)
|
|
6
8
|
|
|
7
9
|
### [1.0.12](https://github.com/jetthai/cuora-module/compare/v1.0.11...v1.0.12) (2021-08-16)
|
package/package.json
CHANGED
package/plugin/game.js
CHANGED
|
@@ -281,9 +281,14 @@ function createStore({ $request }) {
|
|
|
281
281
|
commit('_setInverseGameMap', rootState.localStorage.gameV2PersistedOption)
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
|
+
// fnc
|
|
284
285
|
async getGameCategory({}, id) {
|
|
285
286
|
return $request.send(api.getGameCategory({ id }))
|
|
286
287
|
},
|
|
288
|
+
// fnc
|
|
289
|
+
async fetchGameMap({}, id) {
|
|
290
|
+
return $request.send(api.getGameMap({ id }))
|
|
291
|
+
},
|
|
287
292
|
async fetchGameList({ state, commit, getters, dispatch, rootState, rootGetters }, id) {
|
|
288
293
|
await dispatch('checkGameListPreset')
|
|
289
294
|
const currentPath = this.$router.history.current.fullPath
|
package/plugin/request.js
CHANGED