@jetthai/cuora 1.1.311-dev-1 → 1.1.311-dev-2
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 +2 -0
- package/package.json +1 -1
- package/src/api/activity.js +6 -1
- package/src/machine/honor_board.js +1 -1
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.311-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.311-dev-1...v1.1.311-dev-2) (2024-10-25)
|
|
6
|
+
|
|
5
7
|
### [1.1.311-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.311...v1.1.311-dev-1) (2024-10-22)
|
|
6
8
|
|
|
7
9
|
### [1.1.311](https://github.com/jetthai/cuora-module/compare/v1.1.310...v1.1.311) (2024-10-21)
|
package/package.json
CHANGED
package/src/api/activity.js
CHANGED
|
@@ -87,7 +87,12 @@ export default {
|
|
|
87
87
|
exchangeAward,
|
|
88
88
|
},
|
|
89
89
|
}),
|
|
90
|
-
getHonorBroadcast: (
|
|
90
|
+
getHonorBroadcast: ({ isPwa = false, appSecret }) => ({
|
|
91
|
+
url: 'activities/honorBroadcast',
|
|
92
|
+
method: 'get',
|
|
93
|
+
params: { isPwa, appSecret },
|
|
94
|
+
isPublic: true,
|
|
95
|
+
}),
|
|
91
96
|
getInstantRebateCollectTime: () => ({ url: 'activities/rebate/collectTime', method: 'get' }),
|
|
92
97
|
instantRebateEstimate: () => ({ url: 'activities/rebate/estimate', method: 'get' }),
|
|
93
98
|
instantRebateCollect: () => ({ url: 'activities/rebate/collect', method: 'get' }),
|
|
@@ -109,7 +109,7 @@ export default function (request) {
|
|
|
109
109
|
},
|
|
110
110
|
services: {
|
|
111
111
|
fetchHonorBoardList: async (context, event) => {
|
|
112
|
-
const { data } = await request.send(activity.getHonorBroadcast(appSecret))
|
|
112
|
+
const { data } = await request.send(activity.getHonorBroadcast({ isPwa: true, appSecret }))
|
|
113
113
|
return data
|
|
114
114
|
},
|
|
115
115
|
},
|