@jetthai/cuora 1.0.14 → 1.0.16

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,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.16](https://github.com/jetthai/cuora-module/compare/v1.0.15...v1.0.16) (2021-08-17)
6
+
7
+ ### [1.0.15](https://github.com/jetthai/cuora-module/compare/v1.0.14...v1.0.15) (2021-08-17)
8
+
5
9
  ### [1.0.14](https://github.com/jetthai/cuora-module/compare/v1.0.13...v1.0.14) (2021-08-17)
6
10
 
7
11
  ### [1.0.13](https://github.com/jetthai/cuora-module/compare/v1.0.12...v1.0.13) (2021-08-16)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/plugin/game.js CHANGED
@@ -287,7 +287,7 @@ function createStore({ $request }) {
287
287
  },
288
288
  // fnc
289
289
  async fetchGameMap({}, id) {
290
- return $request.send(api.getGameMap({ id }))
290
+ return $request.send(api.getGameMap(id))
291
291
  },
292
292
  async fetchGameList({ state, commit, getters, dispatch, rootState, rootGetters }, id) {
293
293
  await dispatch('checkGameListPreset')
package/plugin/request.js CHANGED
@@ -3,10 +3,11 @@ import Cookies from 'universal-cookie'
3
3
  import urljoin from 'url-join'
4
4
 
5
5
  class CuoraConfig {
6
- constructor({ apiURL, apiVersion, clientId, product, version }) {
6
+ constructor({ apiURL, apiVersion, clientId, imageUrl, product, version }) {
7
7
  this._apiURL = apiURL
8
8
  this._apiVersion = apiVersion
9
9
  this._clientId = clientId
10
+ this.imageUrl = imageUrl
10
11
  this.product = product
11
12
  this.version = version
12
13
  this.fullURL = urljoin(this._apiURL, this._apiVersion, this._clientId)