@overlayed/app 1.7.0 → 1.8.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.
package/dist/index.d.mts CHANGED
@@ -169,7 +169,7 @@ declare function defineConfig(config: OverlayedConfig): OverlayedConfig;
169
169
  declare const BaseEvent: Type<{
170
170
  game: string;
171
171
  type: string;
172
- creation_time: number;
172
+ creationTime: number;
173
173
  }>;
174
174
  type BaseEvent = typeof BaseEvent.infer; //#endregion
175
175
  //#region src/types.d.ts
@@ -322,7 +322,9 @@ interface FeatureFlagModel {
322
322
  interface GameModel {
323
323
  name: string;
324
324
  identifier: Brand<string, GameModel>;
325
+ /** @deprecated Use `game_module`. Holds the same value as a 0-or-1 element list */
325
326
  modules: string[];
327
+ game_module?: string;
326
328
  executables: string[];
327
329
  allow_dll_injections: boolean;
328
330
  has_render_support: boolean;
@@ -402,80 +404,80 @@ declare function module(): {
402
404
  event: {
403
405
  game: "sand" | "siege" | "tft";
404
406
  type: "module_loaded";
405
- creation_time: number;
407
+ creationTime: number;
406
408
  content: {
407
- game_version: string;
408
- process_hash: string;
409
+ gameVersion: string;
410
+ processHash: string;
409
411
  };
410
412
  } | {
411
413
  game: "sand";
412
414
  type: "logged_in";
413
- creation_time: number;
415
+ creationTime: number;
414
416
  content: {
415
- account_id: string;
416
- display_name: string;
417
- platform_id: string;
418
- playfab_id: string;
417
+ accountId: string;
418
+ displayName: string;
419
+ platformId: string;
420
+ playfabId: string;
419
421
  };
420
422
  } | {
421
423
  game: "siege" | "tft";
422
424
  type: "logged_in";
423
- creation_time: number;
425
+ creationTime: number;
424
426
  content: {
425
- account_id: string;
427
+ accountId: string;
426
428
  };
427
429
  } | {
428
430
  game: "sand" | "siege" | "tft";
429
431
  type: "module_unloaded";
430
- creation_time: number;
432
+ creationTime: number;
431
433
  } | {
432
434
  game: "sand" | "siege" | "tft";
433
435
  type: "unsupported_game_version";
434
- creation_time: number;
436
+ creationTime: number;
435
437
  content: {
436
- game_version: string;
437
- process_hash: string;
438
+ gameVersion: string;
439
+ processHash: string;
438
440
  };
439
441
  };
440
442
  logged_in: {
441
443
  game: "sand";
442
444
  type: "logged_in";
443
- creation_time: number;
445
+ creationTime: number;
444
446
  content: {
445
- account_id: string;
446
- display_name: string;
447
- platform_id: string;
448
- playfab_id: string;
447
+ accountId: string;
448
+ displayName: string;
449
+ platformId: string;
450
+ playfabId: string;
449
451
  };
450
452
  } | {
451
453
  game: "siege" | "tft";
452
454
  type: "logged_in";
453
- creation_time: number;
455
+ creationTime: number;
454
456
  content: {
455
- account_id: string;
457
+ accountId: string;
456
458
  };
457
459
  };
458
460
  module_loaded: {
459
461
  game: "sand" | "siege" | "tft";
460
462
  type: "module_loaded";
461
- creation_time: number;
463
+ creationTime: number;
462
464
  content: {
463
- game_version: string;
464
- process_hash: string;
465
+ gameVersion: string;
466
+ processHash: string;
465
467
  };
466
468
  };
467
469
  module_unloaded: {
468
470
  game: "sand" | "siege" | "tft";
469
471
  type: "module_unloaded";
470
- creation_time: number;
472
+ creationTime: number;
471
473
  };
472
474
  unsupported_game_version: {
473
475
  game: "sand" | "siege" | "tft";
474
476
  type: "unsupported_game_version";
475
- creation_time: number;
477
+ creationTime: number;
476
478
  content: {
477
- game_version: string;
478
- process_hash: string;
479
+ gameVersion: string;
480
+ processHash: string;
479
481
  };
480
482
  };
481
483
  }>;