kolmafia 5.29287.0 → 5.29290.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.29287.0
2
- // Generated by KoLmafia r29287 with type generator v5
1
+ // v5.29290.0
2
+ // Generated by KoLmafia r29290 with type generator v5
3
3
  export type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
4
4
  export type ModifierValueType = "boolean" | "multinumeric" | "multistring" | "none" | "numeric" | "string";
5
5
  export type CombatFilter = string | ((round: number, monster: Monster, text: string) => string);
@@ -548,6 +548,8 @@ export function pocketPoem(pocket: number): { [key: number]: string };
548
548
  export function pocketScrap(pocket: number): { [key: number]: string };
549
549
  export function pocketStats(pocket: number): { [stat: string]: number };
550
550
  export function poemPockets(): { [key: number]: number };
551
+ export function portableLaughingStockDrops(maxFights: number): { [key: number]: Item };
552
+ export function portableLaughingStockDrops(cls: Class, path: Path, day: number, minFights: number, maxFights: number): { [key: number]: Item };
551
553
  export function potentialPockets(monster: Monster): { [key: number]: number };
552
554
  export function potentialPockets(effect: Effect): { [key: number]: number };
553
555
  export function potentialPockets(item: Item): { [key: number]: number };
package/index.js CHANGED
@@ -434,6 +434,7 @@ module.exports.pocketPoem = function pocketPoem() { throw new Error(`Cannot acce
434
434
  module.exports.pocketScrap = function pocketScrap() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
435
435
  module.exports.pocketStats = function pocketStats() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
436
436
  module.exports.poemPockets = function poemPockets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
437
+ module.exports.portableLaughingStockDrops = function portableLaughingStockDrops() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
437
438
  module.exports.potentialPockets = function potentialPockets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
438
439
  module.exports.preValidateAdventure = function preValidateAdventure() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
439
440
  module.exports.prepareForAdventure = function prepareForAdventure() { 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.29287.0",
3
+ "version": "5.29290.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",