@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
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
@@ -209,6 +209,7 @@ export default (ctx, inject) => {
209
209
  apiURL: process.env.API_URL,
210
210
  apiVersion: process.env.API_VERSION,
211
211
  clientId: process.env.CLIENT_ID,
212
+ imageUrl: process.env.IMAGE_URL,
212
213
  product: 'pwa',
213
214
  version: 'v<%= options.version %>',
214
215
  })