@jetthai/cuora 1.1.276 → 1.1.277-dev

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,36 @@
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.277-dev](https://github.com/jetthai/cuora-module/compare/v1.1.270-fix-1...v1.1.277-dev) (2024-06-03)
6
+
7
+ ### [1.1.277](https://github.com/jetthai/cuora-module/compare/v1.1.276...v1.1.277) (2024-05-31)
8
+
9
+ ### [1.1.276](https://github.com/jetthai/cuora-module/compare/v1.1.275...v1.1.276) (2024-05-31)
10
+
11
+ ### [1.1.275](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-6...v1.1.275) (2024-05-30)
12
+
13
+ ### [1.1.273-withdraw-6](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-5...v1.1.273-withdraw-6) (2024-05-29)
14
+
15
+ ### [1.1.273-withdraw-5](https://github.com/jetthai/cuora-module/compare/v1.1.270-fix...v1.1.273-withdraw-5) (2024-05-29)
16
+
17
+ ### [1.1.273-withdraw-4](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-3...v1.1.273-withdraw-4) (2024-05-29)
18
+
19
+ ### [1.1.273-withdraw-3](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-2...v1.1.273-withdraw-3) (2024-05-29)
20
+
21
+ ### [1.1.273-withdraw-2](https://github.com/jetthai/cuora-module/compare/v1.1.274...v1.1.273-withdraw-2) (2024-05-29)
22
+
23
+ ### [1.1.274](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-1...v1.1.274) (2024-05-28)
24
+
25
+ ### [1.1.273-withdraw-1](https://github.com/jetthai/cuora-module/compare/v1.1.273...v1.1.273-withdraw-1) (2024-05-28)
26
+
27
+ ### [1.1.273](https://github.com/jetthai/cuora-module/compare/v1.1.272...v1.1.273) (2024-05-27)
28
+
29
+ ### [1.1.272](https://github.com/jetthai/cuora-module/compare/v1.1.271...v1.1.272) (2024-05-21)
30
+
31
+ ### [1.1.271](https://github.com/jetthai/cuora-module/compare/v1.1.270...v1.1.271) (2024-05-21)
32
+
33
+ ### [1.1.277](https://github.com/jetthai/cuora-module/compare/v1.1.276...v1.1.277) (2024-05-31)
34
+
5
35
  ### [1.1.276](https://github.com/jetthai/cuora-module/compare/v1.1.275...v1.1.276) (2024-05-31)
6
36
 
7
37
  ### [1.1.273-withdraw-6](https://github.com/jetthai/cuora-module/compare/v1.1.273-withdraw-5...v1.1.273-withdraw-6) (2024-05-29)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.276",
3
+ "version": "1.1.277-dev",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -10,7 +10,7 @@ export default function (request) {
10
10
  initial: 'init',
11
11
  context: {
12
12
  tick: 2000,
13
- specifyActivities: [29, 34],
13
+ specifyActivities: [4, 29, 34],
14
14
  activitiesDetailList: [],
15
15
  activityList: [],
16
16
  promotionList: [],
@@ -540,7 +540,7 @@ export default function (request) {
540
540
  const { paymentDetail, currentBank, amount } = context
541
541
  const { method } = paymentDetail?.[0] || {}
542
542
  const { cryptoCurrency } = currentBank || {}
543
- return await request.send(payment.getCryptoDepositExpectedResult({ method, amount, cryptoCurrency }))
543
+ return await request.send(payment.getCryptoWithdrawExpectedResult({ method, amount, cryptoCurrency }))
544
544
  },
545
545
  submitWithdraw: async (context, event) => {
546
546
  const { currentBank, amount } = context