@scm-js/plugin-api 1.28.0 → 1.29.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 (2) hide show
  1. package/index.d.ts +5 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -477,10 +477,10 @@ declare const ScoreType: {
477
477
  readonly Custom: 7;
478
478
  };
479
479
  declare const UnitClass: {
480
- readonly Any: 228;
481
- readonly Men: 229;
482
- readonly Buildings: 230;
483
- readonly Factories: 231;
480
+ readonly Any: 229;
481
+ readonly Men: 230;
482
+ readonly Buildings: 231;
483
+ readonly Factories: 232;
484
484
  };
485
485
  declare const ConditionFlag: {
486
486
  /** Game bookkeeping. */
@@ -3811,7 +3811,7 @@ export interface NamedValue {
3811
3811
  * the editor's own tables — the same names StarEdit shows.
3812
3812
  */
3813
3813
  export interface NamesApi {
3814
- /** StarEdit's name for a units.dat id; `Any unit` / `Men` / `Buildings` / `Factories` for the trigger classes 228–231. */
3814
+ /** StarEdit's name for a units.dat id; `Any unit` / `Men` / `Buildings` / `Factories` for the trigger classes 229–232 (228 is the game's `None`). */
3815
3815
  unit(id: number): string;
3816
3816
  units(): NamedValue[];
3817
3817
  upgrade(id: number): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-js/plugin-api",
3
- "version": "1.28.0",
3
+ "version": "1.29.0",
4
4
  "description": "Type declarations for the scmJS plugin API",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",