@dendotdev/grunt 1.0.6 → 1.0.8

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.mjs CHANGED
@@ -1194,20 +1194,17 @@ var EconomyModule = class extends ModuleBase {
1194
1194
  );
1195
1195
  }
1196
1196
  /**
1197
- * Get career rank for players.
1197
+ * Get career rank for a player.
1198
1198
  *
1199
- * @param playerIds - List of player XUIDs
1199
+ * @param player - Player's numeric XUID
1200
1200
  * @param careerPathId - Career path identifier
1201
- * @returns Career rank results
1201
+ * @returns Reward track with career rank progress
1202
1202
  */
1203
- getPlayerCareerRank(playerIds, careerPathId) {
1204
- if (!playerIds.length) {
1205
- throw new Error("playerIds cannot be empty");
1206
- }
1203
+ getPlayerCareerRank(player, careerPathId) {
1204
+ this.assertNotEmpty(player, "player");
1207
1205
  this.assertNotEmpty(careerPathId, "careerPathId");
1208
- const formattedPlayerList = playerIds.map((id) => `xuid(${id})`).join(",");
1209
1206
  return this.get(
1210
- `/hi/careerranks/${careerPathId}?players=${formattedPlayerList}`,
1207
+ `/hi/players/xuid(${player})/rewardtracks/careerranks/${careerPathId}`,
1211
1208
  { useClearance: true }
1212
1209
  );
1213
1210
  }
@@ -1736,18 +1733,6 @@ var SettingsModule = class extends ModuleBase {
1736
1733
  constructor(client) {
1737
1734
  super(client, HALO_CORE_ENDPOINTS.SETTINGS_ORIGIN);
1738
1735
  }
1739
- /**
1740
- * Get the clearance level for the current player.
1741
- *
1742
- * Returns feature flags and flight IDs the player has access to.
1743
- *
1744
- * @returns Flighted feature flags
1745
- */
1746
- getClearanceLevel() {
1747
- return this.get("/hi/clearance", {
1748
- useSpartanToken: true
1749
- });
1750
- }
1751
1736
  /**
1752
1737
  * Get a list of features enabled for a given flight.
1753
1738
  *