File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 99* Feat: Squad - Replace Valve protocol with EOS protocol (By @k3ithos #731 )
1010* Feat: Clive Barker's Undying - Added support (By @dgibbs64 #733 )
1111* Chore: Update ` iconv-lite ` from ` 0.6.3 ` to ` 0.7.0 ` (#737 )
12+ * Fix: ASA - change EOS usage (#739 , thanks @mze9412 )
1213
1314## 5.3.1
1415* Fix: HTTP requests would end up making more retries than needed due to got's internal retry mechanism (#690 , thanks @RattleSN4K3 )
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default class asa extends Epic {
88 this . clientId = 'xyza7891muomRmynIIHaJB9COBKkwj6n'
99 this . clientSecret = 'PP5UGxysEieNfSrEicaD1N2Bb3TdXuD7xHYcsdUHZ7s'
1010 this . deploymentId = 'ad9a8feffb3b4b2ca315546f038c3ae2'
11+ this . wildcardMatchmaking = true
1112 }
1213
1314 async run ( state ) {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export default class Epic extends Core {
1616 this . deploymentId = null
1717 this . epicApi = 'https://api.epicgames.dev'
1818 this . authByExternalToken = false // Some games require a client access token to POST to the matchmaking endpoint.
19+ this . wildcardMatchmaking = false
1920
2021 this . deviceIdAccessToken = null
2122 this . accessToken = null
@@ -96,7 +97,11 @@ export default class Epic extends Core {
9697 }
9798
9899 async queryInfo ( state ) {
99- const url = `${ this . epicApi } /matchmaking/v1/${ this . deploymentId } /filter`
100+ let baseUrl = this . epicApi
101+ if ( this . wildcardMatchmaking ) {
102+ baseUrl = `${ baseUrl } /wildcard`
103+ }
104+ const url = `${ baseUrl } /matchmaking/v1/${ this . deploymentId } /filter`
100105 const body = {
101106 criteria : [
102107 {
You can’t perform that action at this time.
0 commit comments