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