@rian8337/osu-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-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 current 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
  */