@jetthai/cuora 1.1.338-perf-2 → 1.1.338-perf-3

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.338-perf-3](https://github.com/jetthai/cuora-module/compare/v1.1.338-perf-2...v1.1.338-perf-3) (2025-02-12)
6
+
5
7
  ### [1.1.338-perf-2](https://github.com/jetthai/cuora-module/compare/v1.1.338-perf-1...v1.1.338-perf-2) (2025-02-12)
6
8
 
7
9
  ### [1.1.338-perf-1](https://github.com/jetthai/cuora-module/compare/v1.1.338...v1.1.338-perf-1) (2025-02-12)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.338-perf-2",
3
+ "version": "1.1.338-perf-3",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -202,9 +202,10 @@ export default function (request) {
202
202
  actions: ['setSwitch', 'setLang'],
203
203
  },
204
204
  ENTER_GAME_PAUSE: {
205
- actions: ['setIsGame', 'resetContent'],
205
+ actions: ['setIsGame', 'resetContent', 'resetSHA'],
206
206
  },
207
207
  LEAVE_GAME_REFRESH: {
208
+ target: '#game.oldTimer',
208
209
  actions: 'setIsGame',
209
210
  },
210
211
  },
@@ -659,6 +660,16 @@ const oldActions = {
659
660
  optionMap: { ...optionMap, ...event.data },
660
661
  }
661
662
  }),
663
+ resetSHA: assign((context, event) => {
664
+ return {
665
+ sha: {
666
+ status: null,
667
+ },
668
+ isStatusChanged: false,
669
+ statusMap: {},
670
+ optionMap: {},
671
+ }
672
+ }),
662
673
  }
663
674
 
664
675
  const oldGuards = {