@jetthai/cuora 1.1.203 → 1.1.204

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.204](https://github.com/jetthai/cuora-module/compare/v1.1.203...v1.1.204) (2023-11-15)
6
+
5
7
  ### [1.1.203](https://github.com/jetthai/cuora-module/compare/v1.1.202...v1.1.203) (2023-11-14)
6
8
 
7
9
  ### [1.1.202](https://github.com/jetthai/cuora-module/compare/v1.1.201...v1.1.202) (2023-11-09)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.203",
3
+ "version": "1.1.204",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -87,8 +87,27 @@ export default function (request) {
87
87
  calculateWalletMode = '0',
88
88
  } = context.activityDetail || {}
89
89
 
90
+ const copiedData = JSON.parse(JSON.stringify(conditions))
91
+ // 活動剛開未達任何等級的狀態
92
+ copiedData.unshift({
93
+ depositLimit: '-',
94
+ lowestReward: '-',
95
+ rebatePercentage: [
96
+ {
97
+ gameTypeId: [],
98
+ gameTypeName: '-',
99
+ rebate: '-',
100
+ },
101
+ ],
102
+ rebatePercentageSetting: '-',
103
+ rewardType: '',
104
+ title: 'PLASTIC',
105
+ turnoverLimit: '-',
106
+ withdrawRule: '',
107
+ })
108
+
90
109
  return {
91
- conditions,
110
+ conditions: copiedData,
92
111
  currentReachLevel,
93
112
  nextReachLevel,
94
113
  lastPeriod,