@jetthai/cuora 1.1.209 → 1.1.211

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,10 @@
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.211](https://github.com/jetthai/cuora-module/compare/v1.1.210...v1.1.211) (2023-12-13)
6
+
7
+ ### [1.1.210](https://github.com/jetthai/cuora-module/compare/v1.1.209...v1.1.210) (2023-12-13)
8
+
5
9
  ### [1.1.209](https://github.com/jetthai/cuora-module/compare/v1.1.208...v1.1.209) (2023-12-11)
6
10
 
7
11
  ### [1.1.208](https://github.com/jetthai/cuora-module/compare/v1.1.207...v1.1.208) (2023-11-23)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.209",
3
+ "version": "1.1.211",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -89,25 +89,6 @@ export default function (request) {
89
89
  calculateWalletMode = '0',
90
90
  } = context.activityDetail || {}
91
91
 
92
- const copiedData = JSON.parse(JSON.stringify(conditions))
93
- // 活動剛開未達任何等級的狀態
94
- copiedData.unshift({
95
- depositLimit: '-',
96
- lowestReward: '-',
97
- rebatePercentage: [
98
- {
99
- gameTypeId: [],
100
- gameTypeName: '-',
101
- rebate: '-',
102
- },
103
- ],
104
- rebatePercentageSetting: '-',
105
- rewardType: conditions?.[0]?.rewardType,
106
- title: 'PLASTIC',
107
- turnoverLimit: '-',
108
- withdrawRule: conditions?.[0]?.withdrawRule,
109
- })
110
-
111
92
  let nextDepositLimit = '0'
112
93
  let nextTurnoverLimit = '0'
113
94
  let currentTurnover = '0'
@@ -127,7 +108,7 @@ export default function (request) {
127
108
 
128
109
  return {
129
110
  rebateType,
130
- conditions: copiedData,
111
+ conditions,
131
112
  currentReachLevel,
132
113
  nextReachLevel,
133
114
  lastPeriod,