@jetthai/cuora 1.1.98 → 1.1.99

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.99](https://github.com/jetthai/cuora-module/compare/v1.1.97...v1.1.99) (2023-05-22)
6
+
5
7
  ### [1.1.98](https://github.com/jetthai/cuora-module/compare/v1.1.97...v1.1.98) (2023-05-18)
6
8
 
7
9
  ### [1.1.97](https://github.com/jetthai/cuora-module/compare/v1.1.96...v1.1.97) (2023-05-16)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.98",
3
+ "version": "1.1.99",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -55,38 +55,11 @@ export default function (request, context) {
55
55
  },
56
56
  ],
57
57
  },
58
- loaded: {
59
- on: {
60
- SET_PROMOTION: {
61
- target: 'debouncing',
62
- actions: 'setPromotion',
63
- },
64
- SELECT_HOUSE_BANK: {
65
- actions: 'setHouseBank',
66
- },
67
- INPUT_AMOUNT: {
68
- target: 'debouncing',
69
- actions: 'inputAmount',
70
- },
71
- },
72
- },
58
+ loaded: {},
73
59
  debouncing: {
74
60
  after: {
75
61
  1000: [{ target: 'calculating', cond: 'isCalculable' }, { target: 'loaded' }],
76
62
  },
77
- on: {
78
- SET_PROMOTION: {
79
- target: 'debouncing',
80
- actions: 'setPromotion',
81
- },
82
- SELECT_HOUSE_BANK: {
83
- actions: 'setHouseBank',
84
- },
85
- INPUT_AMOUNT: {
86
- target: 'debouncing',
87
- actions: 'inputAmount',
88
- },
89
- },
90
63
  },
91
64
  calculating: {
92
65
  invoke: {
@@ -102,17 +75,6 @@ export default function (request, context) {
102
75
  },
103
76
  calculated: {
104
77
  on: {
105
- SET_PROMOTION: {
106
- target: 'debouncing',
107
- actions: 'setPromotion',
108
- },
109
- SELECT_HOUSE_BANK: {
110
- actions: 'setHouseBank',
111
- },
112
- INPUT_AMOUNT: {
113
- target: 'debouncing',
114
- actions: 'inputAmount',
115
- },
116
78
  SELECT_USER_BANK: {
117
79
  actions: 'setUserBank',
118
80
  },
@@ -150,7 +112,17 @@ export default function (request, context) {
150
112
  },
151
113
  on: {
152
114
  SET_PROMOTION: {
115
+ target: 'debouncing',
153
116
  actions: 'setPromotion',
117
+ internal: false,
118
+ },
119
+ INPUT_AMOUNT: {
120
+ target: 'debouncing',
121
+ actions: 'inputAmount',
122
+ internal: false,
123
+ },
124
+ SELECT_HOUSE_BANK: {
125
+ actions: 'setHouseBank',
154
126
  },
155
127
  },
156
128
  },
@@ -23,11 +23,6 @@ import user_sign_up from './user_sign_up.js'
23
23
  import user_reset_password from './user_reset_password.js'
24
24
  import bank_binding from './bank_binding.js'
25
25
  import bank_binding_amb from './bank_binding_amb.js'
26
- import withdraw_fc from './withdraw_fc.js'
27
- import withdraw_vn from './withdraw_vn.js'
28
- import withdraw_vn2 from './withdraw_vn2.js'
29
- import withdraw_crypto from './withdraw_crypto.js'
30
- import withdraw_amb from './withdraw_amb.js'
31
26
  import withdraw from './withdraw/index.js'
32
27
  import deposit from './deposit/index.js'
33
28
  import bonus from './bonus.js'
@@ -43,7 +38,6 @@ export default {
43
38
  auth,
44
39
  welcome,
45
40
  common,
46
- deposit,
47
41
  error,
48
42
  game_favorite_v2,
49
43
  game_search,
@@ -65,11 +59,6 @@ export default {
65
59
  user_reset_password,
66
60
  bank_binding,
67
61
  bank_binding_amb,
68
- withdraw_fc,
69
- withdraw_vn,
70
- withdraw_vn2,
71
- withdraw_crypto,
72
- withdraw_amb,
73
62
  ...deposit,
74
63
  bonus,
75
64
  leaderboard,
@@ -78,5 +67,5 @@ export default {
78
67
  vip_table,
79
68
  promotions,
80
69
  roulette_v2,
81
- withdraw,
70
+ ...withdraw,
82
71
  }
@@ -1,4 +1,17 @@
1
+ import withdraw_fc from './withdraw_fc.js'
2
+ import withdraw_vn from './withdraw_vn.js'
3
+ import withdraw_vn2 from './withdraw_vn2.js'
4
+ import withdraw_crypto from './withdraw_crypto.js'
5
+ import withdraw_amb from './withdraw_amb.js'
1
6
  import crypto_cash from './crypto_cash.js'
2
7
  import manual_cash from './manual_cash.js'
3
8
 
4
- export default { crypto_cash, manual_cash }
9
+ export default {
10
+ withdraw_fc,
11
+ withdraw_vn,
12
+ withdraw_vn2,
13
+ withdraw_crypto,
14
+ withdraw_amb,
15
+ crypto_cash,
16
+ manual_cash,
17
+ }
@@ -1,8 +1,8 @@
1
1
  import { assign, createMachine } from 'xstate'
2
2
  import findLastIndex from 'lodash/findLastIndex.js'
3
- import payment from '../api/payment.js'
4
- import common from '../api/common.js'
5
- import user from '../api/user.js'
3
+ import payment from '../../api/payment.js'
4
+ import common from '../../api/common.js'
5
+ import user from '../../api/user.js'
6
6
 
7
7
  export default function (request) {
8
8
  const { appSecret } = request.config
@@ -1,9 +1,9 @@
1
1
  import { assign, createMachine } from 'xstate'
2
2
  import findLastIndex from 'lodash/findLastIndex.js'
3
- import payment from '../api/payment.js'
4
- import common from '../api/common.js'
5
- import user from '../api/user.js'
6
- import api from '../api/payment.js'
3
+ import payment from '../../api/payment.js'
4
+ import common from '../../api/common.js'
5
+ import user from '../../api/user.js'
6
+ import api from '../../api/payment.js'
7
7
 
8
8
  export default function (request) {
9
9
  const { appSecret } = request.config
@@ -1,5 +1,5 @@
1
1
  import { assign, createMachine } from 'xstate'
2
- import api from '../api/payment.js'
2
+ import api from '../../api/payment.js'
3
3
 
4
4
  export default function (request) {
5
5
  return createMachine(
@@ -1,8 +1,8 @@
1
1
  import { assign, createMachine } from 'xstate'
2
2
  import findLastIndex from 'lodash/findLastIndex.js'
3
- import payment from '../api/payment.js'
4
- import common from '../api/common.js'
5
- import user from '../api/user.js'
3
+ import payment from '../../api/payment.js'
4
+ import common from '../../api/common.js'
5
+ import user from '../../api/user.js'
6
6
 
7
7
  export default function (request) {
8
8
  const { appSecret } = request.config
@@ -1,7 +1,7 @@
1
1
  import { assign, createMachine } from 'xstate'
2
2
  import findLastIndex from 'lodash/findLastIndex.js'
3
- import payment from '../api/payment.js'
4
- import user from '../api/user.js'
3
+ import payment from '../../api/payment.js'
4
+ import user from '../../api/user.js'
5
5
 
6
6
  export default function (request) {
7
7
  const { appSecret } = request.config