@jetthai/cuora 1.1.229 → 1.1.231

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.1.231](https://github.com/jetthai/cuora-module/compare/v1.1.230...v1.1.231) (2024-03-05)
6
+
7
+ ### [1.1.230](https://github.com/jetthai/cuora-module/compare/v1.1.229...v1.1.230) (2024-03-01)
8
+
5
9
  ### [1.1.229](https://github.com/jetthai/cuora-module/compare/v1.1.228...v1.1.229) (2024-02-26)
6
10
 
7
11
  ### [1.1.228](https://github.com/jetthai/cuora-module/compare/v1.1.227...v1.1.228) (2024-02-26)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.229",
3
+ "version": "1.1.231",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -94,6 +94,11 @@ export default function (request) {
94
94
  },
95
95
  },
96
96
  },
97
+ on: {
98
+ SET_TOTAL_POINTS: {
99
+ actions: 'setTotalPoints',
100
+ },
101
+ },
97
102
  },
98
103
  {
99
104
  actions: {
@@ -134,6 +139,11 @@ export default function (request) {
134
139
  subtractPoints: 0,
135
140
  }
136
141
  }),
142
+ setTotalPoints: assign((context, event) => {
143
+ return {
144
+ totalPoints: event.data,
145
+ }
146
+ }),
137
147
  },
138
148
  guards: {
139
149
  settlable: (context, event) => {
@@ -13,7 +13,7 @@ export const GAME_TYPE_LIST = [
13
13
  { typeId: 'EGAME', name: 'E-Game', gameTypeMappingId: 10 },
14
14
  { typeId: 'BONUS', name: 'Bonus', gameTypeMappingId: 11 },
15
15
  { typeId: 'BALL', name: 'Ball', gameTypeMappingId: 12 },
16
- { typeId: 'STOCK', name: 'Stock', gameTypeMappingId: 13 },
16
+ { typeId: 'PACHINKO', name: 'Pachinko', gameTypeMappingId: 13 },
17
17
  { typeId: 'GRAPH', name: 'Graph', gameTypeMappingId: 14 },
18
18
  { typeId: 'TURBO', name: 'Turbo', gameTypeMappingId: 15 },
19
19
  { typeId: 'SPORT', name: 'Sports', gameTypeMappingId: 16 },