kolmafia 5.28345.0 → 5.28347.0

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.
Files changed (3) hide show
  1. package/index.d.ts +4 -2
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.28345.0
2
- // Generated by KoLmafia r28345 with type generator v5
1
+ // v5.28347.0
2
+ // Generated by KoLmafia r28347 with type generator v5
3
3
  type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
4
4
  type ModifierValueType = "boolean" | "none" | "numeric" | "string";
5
5
  export function abort(string?: string): never;
@@ -558,7 +558,9 @@ export function sausageGoblinChance(): number;
558
558
  export function scrapPockets(): { [key: number]: number };
559
559
  export function sell(master: Coinmaster, countValue: number, itemValue: Item): boolean;
560
560
  export function sellPrice(master: Coinmaster, item: Item): number;
561
+ export function sellPrice(master: Coinmaster, skill: Skill): number;
561
562
  export function sellsItem(master: Coinmaster, item: Item): boolean;
563
+ export function sellsSkill(master: Coinmaster, skill: Skill): boolean;
562
564
  export function sendFax(): void;
563
565
  export function sessionLogs(dayCount: number): string[];
564
566
  export function sessionLogs(player: string, dayCount: number): string[];
package/index.js CHANGED
@@ -447,6 +447,7 @@ module.exports.scrapPockets = function scrapPockets() { throw new Error(`Cannot
447
447
  module.exports.sell = function sell() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
448
448
  module.exports.sellPrice = function sellPrice() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
449
449
  module.exports.sellsItem = function sellsItem() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
450
+ module.exports.sellsSkill = function sellsSkill() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
450
451
  module.exports.sendFax = function sendFax() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
451
452
  module.exports.sessionLogs = function sessionLogs() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
452
453
  module.exports.setAutoAttack = function setAutoAttack() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kolmafia",
3
- "version": "5.28345.0",
3
+ "version": "5.28347.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",