@jetthai/cuora 1.1.328 → 1.1.329
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/machine/leaderboard.js +3 -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.329](https://github.com/jetthai/cuora-module/compare/v1.1.328...v1.1.329) (2024-12-10)
|
|
6
|
+
|
|
5
7
|
### [1.1.328](https://github.com/jetthai/cuora-module/compare/v1.1.327...v1.1.328) (2024-12-09)
|
|
6
8
|
|
|
7
9
|
### [1.1.327](https://github.com/jetthai/cuora-module/compare/v1.1.326...v1.1.327) (2024-12-04)
|
package/package.json
CHANGED
|
@@ -111,7 +111,9 @@ export default function (request) {
|
|
|
111
111
|
setTimeout(resolve, 1000)
|
|
112
112
|
})
|
|
113
113
|
|
|
114
|
-
const
|
|
114
|
+
const hasToken = request.getToken()
|
|
115
|
+
|
|
116
|
+
const { data } = await request.send(hasToken ? api.getActivityList({ appSecret }) : api.getAllActivityList({ appSecret }))
|
|
115
117
|
return data
|
|
116
118
|
},
|
|
117
119
|
fetchPublicActivityDetail: async (context, event) => {
|