@jetthai/cuora 1.1.211 → 1.1.212
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.212](https://github.com/jetthai/cuora-module/compare/v1.1.211...v1.1.212) (2023-12-18)
|
|
6
|
+
|
|
5
7
|
### [1.1.211](https://github.com/jetthai/cuora-module/compare/v1.1.210...v1.1.211) (2023-12-13)
|
|
6
8
|
|
|
7
9
|
### [1.1.210](https://github.com/jetthai/cuora-module/compare/v1.1.209...v1.1.210) (2023-12-13)
|
package/package.json
CHANGED
|
@@ -200,35 +200,16 @@ export default function (request) {
|
|
|
200
200
|
},
|
|
201
201
|
services: {
|
|
202
202
|
fetchCollectTime: async (context, event) => {
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
lastEstimateTime: 1701955993,
|
|
206
|
-
diableCollectButton: false,
|
|
207
|
-
}
|
|
208
|
-
// const { data } = await request.send(api.getInstantRebateCollectTime())
|
|
209
|
-
// return data
|
|
203
|
+
const { data } = await request.send(api.getInstantRebateCollectTime())
|
|
204
|
+
return data
|
|
210
205
|
},
|
|
211
206
|
estimate: async (context, event) => {
|
|
212
|
-
// return {
|
|
213
|
-
// "collectAvailable": false,
|
|
214
|
-
// "lastCollectTime": 1702006051,
|
|
215
|
-
// "settlementTime": 1702006051,
|
|
216
|
-
// "validTurnover": "28,943.29",
|
|
217
|
-
// "rebateAmount": "9040",
|
|
218
|
-
// "singleMinimumAmountReceive": 1000,
|
|
219
|
-
// "remainingCount": 0,
|
|
220
|
-
// "dailyRedemptionLimit": 3
|
|
221
|
-
// }
|
|
222
207
|
const { data } = await request.send(api.instantRebateEstimate())
|
|
223
208
|
return data
|
|
224
209
|
},
|
|
225
210
|
claimRebateAmount: async (context, event) => {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
collectAmount: '28,943.29',
|
|
229
|
-
}
|
|
230
|
-
// const { data } = await request.send(api.instantRebateCollect())
|
|
231
|
-
// return data
|
|
211
|
+
const { data } = await request.send(api.instantRebateCollect())
|
|
212
|
+
return data
|
|
232
213
|
},
|
|
233
214
|
},
|
|
234
215
|
}
|