@jetthai/cuora 1.1.34-1 → 1.1.34-2
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 +2 -0
- package/dist/bundle.mjs +1 -1
- package/package.json +1 -1
- package/src/machine/setting.js +1 -1
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.34-2](https://github.com/jetthai/cuora-module/compare/v1.1.34-1...v1.1.34-2) (2023-01-16)
|
|
6
|
+
|
|
5
7
|
### [1.1.34-1](https://github.com/jetthai/cuora-module/compare/v1.1.34...v1.1.34-1) (2023-01-16)
|
|
6
8
|
|
|
7
9
|
### [1.1.34](https://github.com/jetthai/cuora-module/compare/v1.1.32...v1.1.34) (2023-01-10)
|
package/dist/bundle.mjs
CHANGED
|
@@ -13227,7 +13227,7 @@ function setting () {
|
|
|
13227
13227
|
},
|
|
13228
13228
|
{
|
|
13229
13229
|
actions: {
|
|
13230
|
-
fetchSetting: assign(() => {
|
|
13230
|
+
fetchSetting: assign((context, event) => {
|
|
13231
13231
|
const { musicPlay, soundPlay } = context;
|
|
13232
13232
|
const setting = JSON.parse(localStorage.getItem('setting')) || { sound: soundPlay, music: musicPlay };
|
|
13233
13233
|
return { ...setting }
|
package/package.json
CHANGED
package/src/machine/setting.js
CHANGED
|
@@ -24,7 +24,7 @@ export default function () {
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
actions: {
|
|
27
|
-
fetchSetting: assign(() => {
|
|
27
|
+
fetchSetting: assign((context, event) => {
|
|
28
28
|
const { musicPlay, soundPlay } = context
|
|
29
29
|
const setting = JSON.parse(localStorage.getItem('setting')) || { sound: soundPlay, music: musicPlay }
|
|
30
30
|
return { ...setting }
|