@jetthai/cuora 1.1.311-dev-1 → 1.1.311-dev-4
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 +6 -0
- package/package.json +1 -1
- package/src/api/activity.js +6 -1
- package/src/lib/fingerprint.js +2405 -2464
- package/src/machine/auth.js +2 -1
- package/src/machine/honor_board.js +1 -1
package/src/machine/auth.js
CHANGED
|
@@ -416,7 +416,7 @@ export default function (request) {
|
|
|
416
416
|
const { provider, channel, subchannel, fc } = event.data
|
|
417
417
|
const deviceTokenEnable = context.siteConfig?.dtVerify === '1'
|
|
418
418
|
|
|
419
|
-
await getDeviceToken({
|
|
419
|
+
const dt = await getDeviceToken({
|
|
420
420
|
fpToken,
|
|
421
421
|
sentry,
|
|
422
422
|
hosts: request.hosts,
|
|
@@ -456,6 +456,7 @@ export default function (request) {
|
|
|
456
456
|
provider,
|
|
457
457
|
redirectURI: `${window.location.protocol}//${window.location.host}${context.base}`,
|
|
458
458
|
...referralObj,
|
|
459
|
+
dt,
|
|
459
460
|
platform: 'pwa',
|
|
460
461
|
fc,
|
|
461
462
|
}).toString()
|
|
@@ -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
|
},
|