@jetthai/cuora 1.1.336-dev-2 → 1.1.336-dev-4
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,12 @@
|
|
|
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-4](https://github.com/jetthai/cuora-module/compare/v1.1.336-dev-3...v1.1.336-dev-4) (2025-01-16)
|
|
6
|
+
|
|
7
|
+
### [1.1.336-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.336-dev-2...v1.1.336-dev-3) (2025-01-16)
|
|
8
|
+
|
|
9
|
+
### [1.1.336](https://github.com/jetthai/cuora-module/compare/v1.1.333-dev-8...v1.1.336) (2025-01-14)
|
|
10
|
+
|
|
5
11
|
### [1.1.336-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.336-dev-1...v1.1.336-dev-2) (2025-01-15)
|
|
6
12
|
|
|
7
13
|
### [1.1.336-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.333-dev-8...v1.1.336-dev-1) (2025-01-15)
|
package/package.json
CHANGED
package/src/machine/inbox.js
CHANGED
|
@@ -344,9 +344,9 @@ export default function (request) {
|
|
|
344
344
|
const isCustomerReply = data[0]?.from === 'SYSTEM'
|
|
345
345
|
let combindedContent = ''
|
|
346
346
|
if (isCustomerReply) {
|
|
347
|
-
combindedContent =
|
|
347
|
+
combindedContent = data[0]?.content || '' + '\n' + data[1]?.content || ''
|
|
348
348
|
} else {
|
|
349
|
-
combindedContent =
|
|
349
|
+
combindedContent = `${data[0]?.content || ''}`
|
|
350
350
|
}
|
|
351
351
|
return {
|
|
352
352
|
messageDetail: data,
|
|
@@ -135,11 +135,11 @@ export default function (request) {
|
|
|
135
135
|
invoke: {
|
|
136
136
|
src: 'convertFreeCredit',
|
|
137
137
|
onDone: [
|
|
138
|
-
{
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
},
|
|
138
|
+
// {
|
|
139
|
+
// target: '#withdraw_manual.otp',
|
|
140
|
+
// actions: 'setOtp',
|
|
141
|
+
// cond: 'isOtpRequired',
|
|
142
|
+
// },
|
|
143
143
|
{ target: 'converted' },
|
|
144
144
|
],
|
|
145
145
|
onError: {
|
|
@@ -148,10 +148,10 @@ export default function (request) {
|
|
|
148
148
|
},
|
|
149
149
|
},
|
|
150
150
|
converted: {
|
|
151
|
-
always: [
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
],
|
|
151
|
+
// always: [
|
|
152
|
+
// { target: '#withdraw_manual.cash.unbound', cond: 'isBankNotBound' },
|
|
153
|
+
// { target: '#withdraw_manual.cash.withdrawable', cond: 'hasAttachmentType' },
|
|
154
|
+
// ],
|
|
155
155
|
},
|
|
156
156
|
},
|
|
157
157
|
},
|
|
@@ -107,11 +107,11 @@ export default function (request) {
|
|
|
107
107
|
invoke: {
|
|
108
108
|
src: 'convertFreeCredit',
|
|
109
109
|
onDone: [
|
|
110
|
-
{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
},
|
|
110
|
+
// {
|
|
111
|
+
// target: '#withdraw_vn.otp',
|
|
112
|
+
// actions: 'setOtp',
|
|
113
|
+
// cond: 'isOtpRequired',
|
|
114
|
+
// },
|
|
115
115
|
{ target: 'converted' },
|
|
116
116
|
],
|
|
117
117
|
onError: {
|
|
@@ -120,10 +120,10 @@ export default function (request) {
|
|
|
120
120
|
},
|
|
121
121
|
},
|
|
122
122
|
converted: {
|
|
123
|
-
always: [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
],
|
|
123
|
+
// always: [
|
|
124
|
+
// { target: '#withdraw_vn.cash.unbound', cond: 'isBankNotBound' },
|
|
125
|
+
// { target: '#withdraw_vn.cash.withdrawable', cond: 'hasAttachmentType' },
|
|
126
|
+
// ],
|
|
127
127
|
},
|
|
128
128
|
},
|
|
129
129
|
},
|