kolmafia 5.29094.0 → 5.29100.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 +2 -0
  3. package/package.json +5 -2
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.29094.0
2
- // Generated by KoLmafia r29094 with type generator v5
1
+ // v5.29100.0
2
+ // Generated by KoLmafia r29100 with type generator v5
3
3
  type Environment = "indoor" | "none" | "outdoor" | "underground" | "underwater" | "unknown";
4
4
  type ModifierValueType = "boolean" | "multinumeric" | "multistring" | "none" | "numeric" | "string";
5
5
  export function abort(string?: string): never;
@@ -101,6 +101,7 @@ export function creatableTurns(itemId: Item, count?: number): number;
101
101
  export function creatableTurns(itemId: Item, count: number, freeCrafting?: boolean): number;
102
102
  export function create(item: Item, count?: number): boolean;
103
103
  export function create(count: number, item: Item): boolean;
104
+ export function cupOf13sTier(item: Item): number;
104
105
  export function currentHitStat(): Stat;
105
106
  export function currentMaximizerScore(evaluationString: string): number;
106
107
  export function currentMcd(): number;
@@ -276,6 +277,7 @@ export function haveShop(): boolean;
276
277
  export function haveSkill(skill: Skill): boolean;
277
278
  export function heartstoneMiddleLetter(monster?: Monster): string;
278
279
  export function heartstoneMiddleLetter(monster: string): string;
280
+ export function heartstoneStringLength(string: string): number;
279
281
  export function hedgeMaze(goal: string): boolean;
280
282
  export function heist(item: Item): boolean;
281
283
  export function heist(num: number, item: Item): boolean;
package/index.js CHANGED
@@ -68,6 +68,7 @@ module.exports.craftType = function craftType() { throw new Error(`Cannot access
68
68
  module.exports.creatableAmount = function creatableAmount() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
69
69
  module.exports.creatableTurns = function creatableTurns() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
70
70
  module.exports.create = function create() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
71
+ module.exports.cupOf13sTier = function cupOf13sTier() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
71
72
  module.exports.currentHitStat = function currentHitStat() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
72
73
  module.exports.currentMaximizerScore = function currentMaximizerScore() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
73
74
  module.exports.currentMcd = function currentMcd() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
@@ -222,6 +223,7 @@ module.exports.haveServant = function haveServant() { throw new Error(`Cannot ac
222
223
  module.exports.haveShop = function haveShop() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
223
224
  module.exports.haveSkill = function haveSkill() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
224
225
  module.exports.heartstoneMiddleLetter = function heartstoneMiddleLetter() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
226
+ module.exports.heartstoneStringLength = function heartstoneStringLength() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
225
227
  module.exports.hedgeMaze = function hedgeMaze() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
226
228
  module.exports.heist = function heist() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
227
229
  module.exports.heistTargets = function heistTargets() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "kolmafia",
3
- "version": "5.29094.0",
3
+ "version": "5.29100.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
- "repository": "https://github.com/kolmafia/kolmafia",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/kolmafia/kolmafia.git"
10
+ },
8
11
  "author": "KoLmafia Team",
9
12
  "license": "MIT",
10
13
  "private": false,