kolmafia 5.28147.0 → 5.28148.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 +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- // v5.28147.0
2
- // Generated by KoLmafia r28147 with type generator v5
1
+ // v5.28148.0
2
+ // Generated by KoLmafia r28148 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;
@@ -188,6 +188,7 @@ export function gametimeToInt(): number;
188
188
  export function getAllProperties(filterValue: string, globalValue: boolean): { [key: string]: boolean };
189
189
  export function getAutoAttack(): number;
190
190
  export function getAutumnatonLocations(): Location[];
191
+ export function getAvatar(): string[];
191
192
  export function getCampground(): { [item: string]: number };
192
193
  export function getCcsAction(index: number): string;
193
194
  export function getChateau(): { [item: string]: number };
@@ -231,6 +232,7 @@ export function getShopLog(): string[];
231
232
  export function getStackTrace(): { file: string; name: string; line: number; }[];
232
233
  export function getStash(): { [item: string]: number };
233
234
  export function getStorage(): { [item: string]: number };
235
+ export function getTitle(): string;
234
236
  export function getVersion(): string;
235
237
  export function getWorkshed(): Item;
236
238
  export function getZapWand(): Item;
package/index.js CHANGED
@@ -140,6 +140,7 @@ module.exports.gametimeToInt = function gametimeToInt() { throw new Error(`Canno
140
140
  module.exports.getAllProperties = function getAllProperties() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
141
141
  module.exports.getAutoAttack = function getAutoAttack() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
142
142
  module.exports.getAutumnatonLocations = function getAutumnatonLocations() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
143
+ module.exports.getAvatar = function getAvatar() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
143
144
  module.exports.getCampground = function getCampground() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
144
145
  module.exports.getCcsAction = function getCcsAction() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
145
146
  module.exports.getChateau = function getChateau() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
@@ -183,6 +184,7 @@ module.exports.getShopLog = function getShopLog() { throw new Error(`Cannot acce
183
184
  module.exports.getStackTrace = function getStackTrace() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
184
185
  module.exports.getStash = function getStash() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
185
186
  module.exports.getStorage = function getStorage() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
187
+ module.exports.getTitle = function getTitle() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
186
188
  module.exports.getVersion = function getVersion() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
187
189
  module.exports.getWorkshed = function getWorkshed() { throw new Error(`Cannot access the KoLmafia standard library from a normal JavaScript context.`); };
188
190
  module.exports.getZapWand = function getZapWand() { 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.28147.0",
3
+ "version": "5.28148.0",
4
4
  "description": "Typings for the KoLmafia JS standard library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",