@dendotdev/grunt 1.0.5 → 1.0.6
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/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1205,9 +1205,10 @@ var EconomyModule = class extends ModuleBase {
|
|
|
1205
1205
|
throw new Error("playerIds cannot be empty");
|
|
1206
1206
|
}
|
|
1207
1207
|
this.assertNotEmpty(careerPathId, "careerPathId");
|
|
1208
|
-
const
|
|
1208
|
+
const formattedPlayerList = playerIds.map((id) => `xuid(${id})`).join(",");
|
|
1209
1209
|
return this.get(
|
|
1210
|
-
`/hi/careerranks/${careerPathId}
|
|
1210
|
+
`/hi/careerranks/${careerPathId}?players=${formattedPlayerList}`,
|
|
1211
|
+
{ useClearance: true }
|
|
1211
1212
|
);
|
|
1212
1213
|
}
|
|
1213
1214
|
};
|
|
@@ -1325,7 +1326,10 @@ var GameCmsModule = class extends ModuleBase {
|
|
|
1325
1326
|
*/
|
|
1326
1327
|
getCareerRanks(careerPathId) {
|
|
1327
1328
|
this.assertNotEmpty(careerPathId, "careerPathId");
|
|
1328
|
-
return this.get(
|
|
1329
|
+
return this.get(
|
|
1330
|
+
`/hi/Progression/file/RewardTracks/CareerRanks/${careerPathId}.json`,
|
|
1331
|
+
{ useClearance: true }
|
|
1332
|
+
);
|
|
1329
1333
|
}
|
|
1330
1334
|
/**
|
|
1331
1335
|
* Get the season calendar.
|