@jetthai/cuora 1.0.11 → 1.0.12

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 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.12](https://github.com/jetthai/cuora-module/compare/v1.0.11...v1.0.12) (2021-08-16)
6
+
5
7
  ### [1.0.11](https://github.com/jetthai/cuora-module/compare/v1.0.10...v1.0.11) (2021-08-13)
6
8
 
7
9
  ### [1.0.10](https://github.com/jetthai/cuora-module/compare/v1.0.9...v1.0.10) (2021-08-13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/plugin/game.js CHANGED
@@ -281,6 +281,9 @@ function createStore({ $request }) {
281
281
  commit('_setInverseGameMap', rootState.localStorage.gameV2PersistedOption)
282
282
  }
283
283
  },
284
+ async getGameCategory(id) {
285
+ return $request.send(api.getGameCategory({ id }))
286
+ },
284
287
  async fetchGameList({ state, commit, getters, dispatch, rootState, rootGetters }, id) {
285
288
  await dispatch('checkGameListPreset')
286
289
  const currentPath = this.$router.history.current.fullPath