libram 0.7.0 → 0.7.1

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/Path.js CHANGED
@@ -57,7 +57,7 @@ export const Paths = {
57
57
  HeavyRains: new Path("Heavy Rains", 19),
58
58
  Picky: new Path("Picky", 21, false, false),
59
59
  Standard: new Path("Standard", 22),
60
- ActuallyEdTheUndying: new Path("Actually Ed the Undying", 23, false, false, false, false, 0, 0, 5, $classes `Ed`),
60
+ ActuallyEdTheUndying: new Path("Actually Ed the Undying", 23, false, false, false, false, 0, 0, 5, $classes `Ed the Undying`),
61
61
  OneCrazyRandomSummer: new Path("One Crazy Random Summer", 24),
62
62
  CommunityService: new Path("Community Service", 25),
63
63
  AvatarOfWestOfLoathing: new Path("Avatar of West of Loathing", 26, false, false, true, true, 10, 10, 10, $classes `Cow Puncher, Snake Oiler, Beanslinger`),
package/dist/ascend.js CHANGED
@@ -162,8 +162,7 @@ function toMoonId(moon, playerClass) {
162
162
  * @param pet From the astral pet store.
163
163
  */
164
164
  export function ascend(path, playerClass, lifestyle, moon, consumable = $item `astral six-pack`, pet = undefined, permSkills = undefined) {
165
- if (path === Path.none ||
166
- playerClass.path !== (path.avatar ? path : Path.none)) {
165
+ if (playerClass.path !== (path.avatar ? path : Path.none)) {
167
166
  throw new AscendError(playerClass);
168
167
  }
169
168
  if (path.id < 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libram",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "JavaScript helper library for KoLmafia",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "eslint-import-resolver-typescript": "^2.5.0",
46
46
  "eslint-plugin-import": "^2.25.4",
47
47
  "eslint-plugin-jest": "^25.2.3",
48
- "eslint-plugin-libram": "^0.2.15",
48
+ "eslint-plugin-libram": "^0.2.17",
49
49
  "husky": "^4.3.6",
50
50
  "java-parser": "^1.4.0",
51
51
  "jest": "^27.1.0",