@jetthai/cuora 1.1.270-fix-6 → 1.1.270-fix-7

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.1.270-fix-7](https://github.com/jetthai/cuora-module/compare/v1.1.270-fix-6...v1.1.270-fix-7) (2024-06-14)
6
+
5
7
  ### [1.1.270-fix-6](https://github.com/jetthai/cuora-module/compare/v1.1.270-fix-5...v1.1.270-fix-6) (2024-06-05)
6
8
 
7
9
  ### [1.1.270-fix-5](https://github.com/jetthai/cuora-module/compare/v1.1.270-fix-4...v1.1.270-fix-5) (2024-06-05)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.270-fix-6",
3
+ "version": "1.1.270-fix-7",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -136,6 +136,29 @@ export default function (request) {
136
136
  EXIT_GAME: {
137
137
  target: 'disconnect',
138
138
  },
139
+ REFRESH: {
140
+ target: 'refreshing',
141
+ },
142
+ },
143
+ },
144
+ refreshing: {
145
+ invoke: {
146
+ src: 'disconnectGame',
147
+ onDone: {
148
+ target: 'refreshPending',
149
+ actions: 'setGameURL',
150
+ },
151
+ onError: {
152
+ target: 'idle',
153
+ actions: 'setGameURL',
154
+ },
155
+ },
156
+ },
157
+ refreshPending: {
158
+ after: {
159
+ 500: {
160
+ target: 'connecting',
161
+ },
139
162
  },
140
163
  },
141
164
  disconnect: {