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