@wayward/types 2.15.5-beta.dev.20260517.1 → 2.15.5-beta.dev.20260524.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.
@@ -46,6 +46,7 @@ import InteractionManager from "@wayward/game/ui/screen/screens/game/util/moveme
46
46
  import type { Direction } from "@wayward/game/utilities/math/Direction";
47
47
  import type Stream from "@wayward/goodstream";
48
48
  import type { Events, IEventEmitter } from "@wayward/utilities/event/EventEmitter";
49
+ import ErrorReporting from "@wayward/utilities/log/ErrorReporting";
49
50
  export declare enum GameScreenClasses {
50
51
  PauseIcon = "pause-icon",
51
52
  PauseIcon_Paused = "pause-icon--paused",
@@ -167,7 +168,7 @@ export default class GameScreen extends Screen {
167
168
  protected onCancel(): boolean;
168
169
  protected create(): void;
169
170
  protected onHide(): void;
170
- private onErrorReported;
171
+ protected onErrorReported(_errorReporting: typeof ErrorReporting, report: ErrorReporting.IReport): void;
171
172
  protected onResize(): void;
172
173
  protected onCloseAllDialogs(): boolean;
173
174
  /**
@@ -35,6 +35,7 @@ declare namespace ErrorReporting {
35
35
  notifyPlayer(report: IReport): any;
36
36
  sendToServer(report: IReport): any;
37
37
  }
38
+ export const event: import("@wayward/utilities/event/EventEmitter").IEventEmitter<typeof ErrorReporting, IEvents>;
38
39
  export class ErrorReport {
39
40
  message?: string;
40
41
  error?: Error;
@@ -61,7 +62,6 @@ declare namespace ErrorReporting {
61
62
  private snapshot;
62
63
  private resolveLogger;
63
64
  }
64
- export const event: import("@wayward/utilities/event/EventEmitter").IEventEmitter<typeof ErrorReporting, IEvents>;
65
65
  type WarningId = ArrayOr<string | Log.SimplifyString>;
66
66
  export function capture(message: string): ErrorReport;
67
67
  export function capture(options: ICaptureOptions): ErrorReport;
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.5-beta.dev.20260517.1",
4
+ "version": "2.15.5-beta.dev.20260524.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",