@jetthai/cuora 1.1.483 → 1.1.485-dev.0

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.
Files changed (108) hide show
  1. package/.claude/commands/sync-ai-prompts.md +88 -1
  2. package/.claude/settings.local.json +3 -1
  3. package/.github/copilot-instructions.md +19 -10
  4. package/.husky/post-checkout +3 -3
  5. package/.husky/pre-push +1 -1
  6. package/.prettierignore +2 -1
  7. package/AGENTS.md +19 -10
  8. package/AI_PROMPT_SOURCE.md +19 -10
  9. package/CHANGELOG.md +386 -23
  10. package/CLAUDE.md +19 -10
  11. package/GEMINI.md +19 -10
  12. package/docs/my-claude/feat-sharon-JT-1790247240-socket/branch-transfer.md +14 -0
  13. package/docs/my-claude/feat-sharon-JT-1790247240-socket/cash-module-preparation.json +40 -0
  14. package/docs/my-claude/feat-sharon-JT-1790247240-socket/cash-module-verification.md +41 -0
  15. package/docs/my-claude/feat-sharon-JT-1790247240-socket/implementation-ledger.md +87 -0
  16. package/docs/my-claude/feat-sharon-JT-1790247240-socket/module-report.md +73 -0
  17. package/docs/my-claude/feat-sharon-JT-1790247240-socket/plan.md +309 -0
  18. package/docs/my-claude/feat-sharon-JT-1790247240-socket/test-cases.md +245 -0
  19. package/docs/my-claude/feat-sharon-JT-1791180540-onesignal/transfer.md +9 -0
  20. package/e2e/feature-map.md +61 -0
  21. package/package.json +1 -1
  22. package/prepare-for-pr/JT-1776243420.md +85 -0
  23. package/prepare-for-pr/TI-16026/STATE.md +17 -0
  24. package/prepare-for-pr/TI-16026/after-prepare-authorization.md +3 -0
  25. package/prepare-for-pr/TI-16026/analysis.md +38 -0
  26. package/prepare-for-pr/TI-16026/answer-analyze-01.md +1 -0
  27. package/prepare-for-pr/TI-16026/answer-commit-01.md +2 -0
  28. package/prepare-for-pr/TI-16026/answer-commit-02.md +1 -0
  29. package/prepare-for-pr/TI-16026/bundle.json +18 -0
  30. package/prepare-for-pr/TI-16026/checklist.md +39 -0
  31. package/prepare-for-pr/TI-16026/claude-after-model +1 -0
  32. package/prepare-for-pr/TI-16026/claude-commit-session +1 -0
  33. package/prepare-for-pr/TI-16026/claude-harvest-session +1 -0
  34. package/prepare-for-pr/TI-16026/claude-hops/01-analyze.err +1 -0
  35. package/prepare-for-pr/TI-16026/claude-hops/01-analyze.out +2 -0
  36. package/prepare-for-pr/TI-16026/claude-hops/02-analyze.err +1 -0
  37. package/prepare-for-pr/TI-16026/claude-hops/02-analyze.out +4 -0
  38. package/prepare-for-pr/TI-16026/claude-hops/03-dev.err +1 -0
  39. package/prepare-for-pr/TI-16026/claude-hops/03-dev.out +4 -0
  40. package/prepare-for-pr/TI-16026/claude-hops/04-dev.err +1 -0
  41. package/prepare-for-pr/TI-16026/claude-hops/04-dev.out +4 -0
  42. package/prepare-for-pr/TI-16026/claude-hops/05-dev.err +1 -0
  43. package/prepare-for-pr/TI-16026/claude-hops/05-dev.out +3 -0
  44. package/prepare-for-pr/TI-16026/claude-hops/06-after.err +1 -0
  45. package/prepare-for-pr/TI-16026/claude-hops/06-after.out +2 -0
  46. package/prepare-for-pr/TI-16026/claude-hops/07-commit.err +1 -0
  47. package/prepare-for-pr/TI-16026/claude-hops/07-commit.out +2 -0
  48. package/prepare-for-pr/TI-16026/claude-hops/08-commit.err +1 -0
  49. package/prepare-for-pr/TI-16026/claude-hops/08-commit.out +2 -0
  50. package/prepare-for-pr/TI-16026/claude-hops/09-commit.err +1 -0
  51. package/prepare-for-pr/TI-16026/claude-hops/09-commit.out +8 -0
  52. package/prepare-for-pr/TI-16026/claude-hops/10-harvest.err +1 -0
  53. package/prepare-for-pr/TI-16026/claude-hops/10-harvest.out +3 -0
  54. package/prepare-for-pr/TI-16026/commit-note.md +5 -0
  55. package/prepare-for-pr/TI-16026/feature-map.before.md +61 -0
  56. package/prepare-for-pr/TI-16026/harvest-redaction.out +1 -0
  57. package/prepare-for-pr/TI-16026/harvest.md +37 -0
  58. package/prepare-for-pr/TI-16026/lessons.md +5 -0
  59. package/prepare-for-pr/TI-16026/open-questions.md +6 -0
  60. package/prepare-for-pr/TI-16026/publish.md +28 -0
  61. package/prepare-for-pr/TI-16026/review-convergence-response.md +3 -0
  62. package/prepare-for-pr/TI-16026/review-input/scope.md +18 -0
  63. package/prepare-for-pr/TI-16026/review-log.md +57 -0
  64. package/prepare-for-pr/TI-16026/review-notes.md +97 -0
  65. package/prepare-for-pr/TI-16026/review-response-r1.md +7 -0
  66. package/prepare-for-pr/TI-16026/spec-proposal.md +34 -0
  67. package/prepare-for-pr/TI-16026/spec-snapshot.md +291 -0
  68. package/prepare-for-pr/TI-16026/state-log.md +35 -0
  69. package/prepare-for-pr/TI-16026/user-messages/01.md +12 -0
  70. package/prepare-for-pr/TI-16026/user-messages/02.md +20 -0
  71. package/prepare-for-pr/TI-16026/user-messages/03.md +1 -0
  72. package/prepare-for-pr/TI-16026/user-messages/04.md +1 -0
  73. package/prepare-for-pr/TI-16026/user-messages/05.md +1 -0
  74. package/prepare-for-pr/TI-16026/user-messages/06.md +1 -0
  75. package/prepare-for-pr/TI-16026/user-messages/07.md +1 -0
  76. package/prepare-for-pr/TI-16026/user-messages/08.md +1 -0
  77. package/prepare-for-pr/TI-16026/user-messages/09.md +1 -0
  78. package/prepare-for-pr/TI-16026/user-messages/10.md +1 -0
  79. package/prepare-for-pr/TI-16026/user-messages/11.md +1 -0
  80. package/prepare-for-pr/TI-16026/user-messages/12.md +1 -0
  81. package/prepare-for-pr/TI-16026/user-messages/13.md +1 -0
  82. package/prepare-for-pr/TI-16026/user-messages/14.md +1 -0
  83. package/prepare-for-pr/TI-16026/user-messages/15.md +1 -0
  84. package/prepare-for-pr/TI-16026/user-messages/16.md +1 -0
  85. package/prepare-for-pr/TI-16026/user-messages/17.md +1 -0
  86. package/prepare-for-pr/TI-16026/user-messages/18.md +10 -0
  87. package/prepare-for-pr/TI-16026/user-messages/19.md +1 -0
  88. package/prepare-for-pr/TI-16026/user-messages/20.md +1 -0
  89. package/prepare-for-pr/TI-16026/user-messages/21.md +1 -0
  90. package/prepare-for-pr/TI-16026/user-messages/22.md +1 -0
  91. package/prepare-for-pr/TI-16026/user-messages/23.md +8 -0
  92. package/prepare-for-pr/TI-16026/user-question.md +24 -0
  93. package/prepare-for-pr/TI-16026/verify-after.md +15 -0
  94. package/prepare-for-pr/TI-16026.md +408 -0
  95. package/scripts/auto-version.js +1 -0
  96. package/scripts/branch-auto-npm-publish.js +9 -2
  97. package/src/api/payment.js +1 -0
  98. package/src/machine/auth_otp_v3.js +59 -20
  99. package/src/machine/honor_board_cash.js +15 -18
  100. package/src/machine/reward_cash.js +2 -2
  101. package/src/machine/user_sign_up.js +3 -0
  102. package/src/machine/websocket.js +380 -311
  103. package/src/machine/withdraw/withdraw_manual_cash.js +7 -4
  104. package/src/util/constant.js +4 -0
  105. package/src/util/socketPolicy.js +57 -0
  106. package/test/auth_otp_v3.test.js +323 -0
  107. package/test/withdraw_manual_cash.test.js +149 -0
  108. package/tests/websocket.test.mjs +779 -0
@@ -197,7 +197,7 @@ export default function (request, context) {
197
197
  )
198
198
  const getOtherRewardAPI = request.send(
199
199
  activity.getRewardList({
200
- rewardType: 'CASH,FREE,PRIZE',
200
+ rewardType: 'CASH,FREE,PRIZE,GAME',
201
201
  count: 30,
202
202
  appSecret,
203
203
  orderColumn,
@@ -212,7 +212,7 @@ export default function (request, context) {
212
212
  const lang = context.lang
213
213
  const getOtherRewardAPI = request.send(
214
214
  activity.getRewardList({
215
- rewardType: 'CASH,FREE,PRIZE',
215
+ rewardType: 'CASH,FREE,PRIZE,GAME',
216
216
  count: 30,
217
217
  appSecret,
218
218
  orderColumn,
@@ -107,6 +107,7 @@ export default function (request) {
107
107
  return {
108
108
  signUpData: {
109
109
  provider: 'local',
110
+ birthday,
110
111
  ...pickBindData(event.data),
111
112
  birthday,
112
113
  email,
@@ -130,6 +131,7 @@ export default function (request) {
130
131
  return {
131
132
  signUpData: {
132
133
  provider: 'phone',
134
+ birthday,
133
135
  ...pickBindData(event.data),
134
136
  birthday,
135
137
  email,
@@ -152,6 +154,7 @@ export default function (request) {
152
154
  return {
153
155
  signUpData: {
154
156
  provider: 'email',
157
+ birthday,
155
158
  ...pickBindData(event.data),
156
159
  birthday,
157
160
  email,