@dendotdev/grunt 1.0.7 → 1.0.9

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
@@ -1733,18 +1733,6 @@ var SettingsModule = class extends ModuleBase {
1733
1733
  constructor(client) {
1734
1734
  super(client, HALO_CORE_ENDPOINTS.SETTINGS_ORIGIN);
1735
1735
  }
1736
- /**
1737
- * Get the clearance level for the current player.
1738
- *
1739
- * Returns feature flags and flight IDs the player has access to.
1740
- *
1741
- * @returns Flighted feature flags
1742
- */
1743
- getClearanceLevel() {
1744
- return this.get("/hi/clearance", {
1745
- useSpartanToken: true
1746
- });
1747
- }
1748
1736
  /**
1749
1737
  * Get a list of features enabled for a given flight.
1750
1738
  *
@@ -1753,7 +1741,9 @@ var SettingsModule = class extends ModuleBase {
1753
1741
  */
1754
1742
  getFlightedFeatureFlags(flightId) {
1755
1743
  this.assertNotEmpty(flightId, "flightId");
1756
- return this.get(`/featureflags/hi?flight=${flightId}`);
1744
+ return this.get(`/featureflags/hi?flight=${flightId}`, {
1745
+ useClearance: true
1746
+ });
1757
1747
  }
1758
1748
  /**
1759
1749
  * Get the currently active clearance.
@@ -1818,7 +1808,8 @@ var SettingsModule = class extends ModuleBase {
1818
1808
  this.assertNotEmpty(buildNumber, "buildNumber");
1819
1809
  this.assertNotEmpty(release, "release");
1820
1810
  return this.get(
1821
- `/oban/flight-configurations/titles/hi/audiences/${audience}/players/xuid(${player})/active?sandbox=${sandbox}&build=${buildNumber}&release=${release}`
1811
+ `/oban/flight-configurations/titles/hi/audiences/${audience}/players/xuid(${player})/active?sandbox=${sandbox}&build=${buildNumber}&release=${release}`,
1812
+ { useClearance: true }
1822
1813
  );
1823
1814
  }
1824
1815
  /**