@wayward/types 2.15.3-beta.dev.20260306.1 → 2.15.3-beta.dev.20260308.1

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.
@@ -80,6 +80,9 @@ export declare abstract class InfoProvider extends EventEmitter.Host<IInfoProvid
80
80
  private static bus?;
81
81
  static multiTextParagraph: string;
82
82
  static create(...translations: TranslationGenerator[]): SimpleInfoProvider;
83
+ static dynamic<const O extends Array<BaseObserver<any>>, const T extends {
84
+ [I in keyof O]: O[I] extends BaseObserver<infer U> ? U : never;
85
+ }>(observers: O, supplier: (...values: T) => InfoProvider | undefined): SimpleInfoProvider;
83
86
  static dynamic<T>(observer: BaseObserver<T>, supplier: (value: T) => InfoProvider | undefined): SimpleInfoProvider;
84
87
  static of(...classes: string[]): SimpleInfoProvider;
85
88
  static header(...classes: string[]): SimpleInfoProvider;
@@ -16,8 +16,9 @@ export declare enum CurseInfoClasses {
16
16
  }
17
17
  export default class CurseInfo extends StatInfo {
18
18
  private readonly curseFactors;
19
+ private readonly curseDisplayChance;
20
+ private readonly curseRatePercent;
19
21
  private readonly curseFactorsExact;
20
- private getCurseRatePercent;
21
22
  hasContent(context: InfoProviderContext): boolean;
22
23
  get(): InfoProvider[];
23
24
  }
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2011-2025 Unlok
3
+ * https://www.unlok.ca
4
+ *
5
+ * Credits & Thanks:
6
+ * https://www.unlok.ca/credits-thanks/
7
+ *
8
+ * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide:
9
+ * https://github.com/WaywardGame/types/wiki
10
+ */
11
+ declare const _default: import("@wayward/game/save/upgrade/UpgradeVersion").IUpgradeVersionDefinition<unknown>;
12
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.15.3-beta.dev.20260306.1",
4
+ "version": "2.15.3-beta.dev.20260308.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",