@jetthai/cuora 1.1.336-dev-6 → 1.1.336-dev-8

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.336-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.336-dev-7...v1.1.336-dev-8) (2025-02-03)
6
+
7
+ ### [1.1.336-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.336-dev-6...v1.1.336-dev-7) (2025-01-24)
8
+
5
9
  ### [1.1.336-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.336...v1.1.336-dev-6) (2025-01-24)
6
10
 
7
11
  ### [1.1.336](https://github.com/jetthai/cuora-module/compare/v1.1.335...v1.1.336) (2025-01-14)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.336-dev-6",
3
+ "version": "1.1.336-dev-8",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -128,6 +128,7 @@ export default function (request) {
128
128
  idle: {
129
129
  on: {
130
130
  FETCH_ANNOUNCEMENTS: {
131
+ actions: 'clearAnnouncements',
131
132
  target: 'updating',
132
133
  },
133
134
  },
@@ -276,6 +277,9 @@ export default function (request) {
276
277
  }
277
278
  }
278
279
  }),
280
+ clearAnnouncements: assign((context, event) => {
281
+ return { announcementList: null }
282
+ }),
279
283
  setAnnouncements: assign((context, event) => {
280
284
  const { data } = event.data
281
285
  return { announcementList: { data } }