@jetthai/cuora 1.1.393-dev-7 → 1.1.394-dev-1

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,19 +2,9 @@
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.393-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-6...v1.1.393-dev-7) (2025-11-04)
5
+ ### [1.1.394-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.394...v1.1.394-dev-1) (2025-11-10)
6
6
 
7
- ### [1.1.393-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-5...v1.1.393-dev-6) (2025-10-31)
8
-
9
- ### [1.1.393-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-4...v1.1.393-dev-5) (2025-10-31)
10
-
11
- ### [1.1.393-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-3...v1.1.393-dev-4) (2025-10-31)
12
-
13
- ### [1.1.393-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-2...v1.1.393-dev-3) (2025-10-31)
14
-
15
- ### [1.1.393-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.393-dev-1...v1.1.393-dev-2) (2025-10-30)
16
-
17
- ### [1.1.393-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.393...v1.1.393-dev-1) (2025-10-23)
7
+ ### [1.1.394](https://github.com/jetthai/cuora-module/compare/v1.1.393...v1.1.394) (2025-11-04)
18
8
 
19
9
  ### [1.1.393](https://github.com/jetthai/cuora-module/compare/v1.1.392...v1.1.393) (2025-10-17)
20
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.393-dev-7",
3
+ "version": "1.1.394-dev-1",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -67,20 +67,16 @@ export default function (request) {
67
67
  },
68
68
  },
69
69
  resetDebounce: {
70
- entry: 'logResetDebounce',
71
70
  always: 'debouncing',
72
71
  },
73
72
  debouncing: {
74
- entry: 'logEnterDebouncing',
75
- exit: 'logExitDebouncing',
76
73
  after: {
77
- 700: {
74
+ 500: {
78
75
  target: 'fetchingTagsByKeyword',
79
76
  },
80
77
  },
81
78
  },
82
79
  fetchingTagsByKeyword: {
83
- entry: 'logFetchingTagsByKeyword',
84
80
  invoke: {
85
81
  src: 'fetchTags',
86
82
  onDone: {
@@ -284,58 +280,6 @@ export default function (request) {
284
280
  lang: event.data.lang,
285
281
  }
286
282
  }),
287
- logResetDebounce: (context, event) => {
288
- const now = new Date()
289
- console.log('[Debounce] Reset triggered', {
290
- keyword: context.keyword,
291
- time:
292
- now.toLocaleTimeString('en-US', { hour12: false, hour: '2-digit', minute: '2-digit', second: '2-digit' }) +
293
- '.' +
294
- now.getMilliseconds().toString().padStart(3, '0'),
295
- message: '🔄 Timer will be reset',
296
- })
297
- },
298
- logEnterDebouncing: (context, event) => {
299
- const now = new Date()
300
- const futureTime = new Date(Date.now() + 500)
301
- console.log('[Debounce] Enter debouncing state - timer started', {
302
- keyword: context.keyword,
303
- time:
304
- now.toLocaleTimeString('en-US', { hour12: false, hour: '2-digit', minute: '2-digit', second: '2-digit' }) +
305
- '.' +
306
- now.getMilliseconds().toString().padStart(3, '0'),
307
- timer: '⏱️ 500ms countdown started',
308
- willFetchAt:
309
- futureTime.toLocaleTimeString('en-US', { hour12: false, hour: '2-digit', minute: '2-digit', second: '2-digit' }) +
310
- '.' +
311
- futureTime.getMilliseconds().toString().padStart(3, '0'),
312
- })
313
- },
314
- logExitDebouncing: (context, event) => {
315
- const now = new Date()
316
- console.log('[Debounce] Exit debouncing state', {
317
- keyword: context.keyword,
318
- time:
319
- now.toLocaleTimeString('en-US', { hour12: false, hour: '2-digit', minute: '2-digit', second: '2-digit' }) +
320
- '.' +
321
- now.getMilliseconds().toString().padStart(3, '0'),
322
- reason:
323
- event.type === 'xstate.after(500)#game_search_cash.debouncing'
324
- ? '✅ Timer completed (500ms elapsed)'
325
- : '❌ Timer interrupted by new input',
326
- })
327
- },
328
- logFetchingTagsByKeyword: (context, event) => {
329
- const now = new Date()
330
- console.log('[Debounce] Fetching tags by keyword', {
331
- keyword: context.keyword,
332
- time:
333
- now.toLocaleTimeString('en-US', { hour12: false, hour: '2-digit', minute: '2-digit', second: '2-digit' }) +
334
- '.' +
335
- now.getMilliseconds().toString().padStart(3, '0'),
336
- action: '🔍 Fetching tags for the current keyword',
337
- })
338
- },
339
283
  },
340
284
  guards: {
341
285
  hasMainTags: (context, event) => {