@rian8337/osu-rebalance-difficulty-calculator 4.0.0-beta.55 → 4.0.0-beta.57

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rian8337/osu-rebalance-difficulty-calculator",
3
- "version": "4.0.0-beta.55",
3
+ "version": "4.0.0-beta.57",
4
4
  "description": "A module for calculating osu!standard beatmap difficulty and performance value with respect to the latest osu!lazer difficulty and performance algorithm.",
5
5
  "keywords": [
6
6
  "osu",
@@ -33,10 +33,10 @@
33
33
  "url": "https://github.com/Rian8337/osu-droid-module/issues"
34
34
  },
35
35
  "dependencies": {
36
- "@rian8337/osu-base": "^4.0.0-beta.55"
36
+ "@rian8337/osu-base": "^4.0.0-beta.56"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "f653b9f0de6a0b0c6d8176b223352cbf24a97640"
41
+ "gitHead": "a7bb2156c8c1d5efd061c3c12df32e029956d8a6"
42
42
  }
@@ -73,7 +73,7 @@ interface IDifficultyAttributes {
73
73
  /**
74
74
  * Represents difficulty attributes that can be cached.
75
75
  */
76
- type CacheableDifficultyAttributes<T extends IDifficultyAttributes> = Omit<T, "mods"> & {
76
+ type CacheableDifficultyAttributes<T extends IDifficultyAttributes> = Omit<T, "mods" | "toCacheableAttributes"> & {
77
77
  /**
78
78
  * The mods which were applied to the beatmap.
79
79
  */
@@ -104,7 +104,7 @@ declare abstract class DifficultyAttributes implements IDifficultyAttributes {
104
104
  *
105
105
  * @returns The cacheable attributes.
106
106
  */
107
- toCacheableAttributes(): CacheableDifficultyAttributes<IDifficultyAttributes>;
107
+ toCacheableAttributes(): CacheableDifficultyAttributes<this>;
108
108
  /**
109
109
  * Returns a string representation of the difficulty attributes.
110
110
  */
@@ -1032,7 +1032,7 @@ declare abstract class PerformanceCalculator<T extends IDifficultyAttributes> {
1032
1032
  /**
1033
1033
  * A performance points calculator that calculates performance points for osu!droid gamemode.
1034
1034
  */
1035
- declare class DroidPerformanceCalculator extends PerformanceCalculator<DroidDifficultyAttributes> {
1035
+ declare class DroidPerformanceCalculator extends PerformanceCalculator<IDroidDifficultyAttributes> {
1036
1036
  /**
1037
1037
  * The aim performance value.
1038
1038
  */
@@ -1490,7 +1490,7 @@ declare abstract class OsuFlashlightEvaluator {
1490
1490
  /**
1491
1491
  * A performance points calculator that calculates performance points for osu!standard gamemode.
1492
1492
  */
1493
- declare class OsuPerformanceCalculator extends PerformanceCalculator<OsuDifficultyAttributes> {
1493
+ declare class OsuPerformanceCalculator extends PerformanceCalculator<IOsuDifficultyAttributes> {
1494
1494
  /**
1495
1495
  * The aim performance value.
1496
1496
  */