kolmafia 5.29327.0 → 5.29329.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 +3 -2
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.29327.0
2
- // Generated by KoLmafia r29327 with type generator v5
1
+ // v5.29329.0
2
+ // Generated by KoLmafia r29329 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);
@@ -26,6 +26,7 @@ export function autosell(item: Item, count: number): boolean;
26
26
  export function autosell(count: number, item: Item): boolean;
27
27
  export function autosellPrice(item: Item): number;
28
28
  export function availableAmount(item: Item): number;
29
+ export function availableChoiceExtras(): { [key: number]: { decision: number; extras: { [key: string]: string }; extras_joined: string; label: string; } };
29
30
  export function availableChoiceOptions(spoilers?: boolean): { [key: number]: string };
30
31
  export function availableChoiceSelectInputs(decision: number): { [key: string]: { [key: string]: string } };
31
32
  export function availableChoiceTextInputs(decision: number): { [key: string]: string };
package/index.js CHANGED
@@ -15,6 +15,7 @@ module.exports.attack = function attack() { throw new Error(`Cannot access the K
15
15
  module.exports.autosell = function autosell() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
16
16
  module.exports.autosellPrice = function autosellPrice() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
17
17
  module.exports.availableAmount = function availableAmount() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
18
+ module.exports.availableChoiceExtras = function availableChoiceExtras() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
18
19
  module.exports.availableChoiceOptions = function availableChoiceOptions() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
19
20
  module.exports.availableChoiceSelectInputs = function availableChoiceSelectInputs() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
20
21
  module.exports.availableChoiceTextInputs = function availableChoiceTextInputs() { 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.29327.0",
3
+ "version": "5.29329.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",