@overlayed/app 2.1.0 → 2.3.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.
- package/dist/index.d.mts +29 -8
- package/dist/index.mjs +13 -11
- package/dist/preload.js +1 -1
- package/dist/sand.d.ts +72 -72
- package/dist/siege.d.ts +46 -46
- package/package.json +6 -5
package/dist/index.d.mts
CHANGED
|
@@ -402,6 +402,14 @@ declare function module(): {
|
|
|
402
402
|
readonly key: "universal";
|
|
403
403
|
readonly events: import("arktype").Module<{
|
|
404
404
|
event: {
|
|
405
|
+
game: "sand" | "siege" | "tft";
|
|
406
|
+
type: "module_loaded";
|
|
407
|
+
creationTime: number;
|
|
408
|
+
content: {
|
|
409
|
+
gameVersion: string;
|
|
410
|
+
processHash: string;
|
|
411
|
+
};
|
|
412
|
+
} | {
|
|
405
413
|
game: "sand";
|
|
406
414
|
type: "logged_in";
|
|
407
415
|
creationTime: number;
|
|
@@ -418,14 +426,6 @@ declare function module(): {
|
|
|
418
426
|
content: {
|
|
419
427
|
accountId: string;
|
|
420
428
|
};
|
|
421
|
-
} | {
|
|
422
|
-
game: "sand" | "siege" | "tft";
|
|
423
|
-
type: "module_loaded";
|
|
424
|
-
creationTime: number;
|
|
425
|
-
content: {
|
|
426
|
-
gameVersion: string;
|
|
427
|
-
processHash: string;
|
|
428
|
-
};
|
|
429
429
|
} | {
|
|
430
430
|
game: "sand" | "siege" | "tft";
|
|
431
431
|
type: "module_unloaded";
|
|
@@ -1205,6 +1205,27 @@ interface OverlayedOptions<TModule extends GameModule, TKeybind extends string,
|
|
|
1205
1205
|
* @default true
|
|
1206
1206
|
*/
|
|
1207
1207
|
silent?: boolean;
|
|
1208
|
+
/**
|
|
1209
|
+
* Analytics configuration.
|
|
1210
|
+
*/
|
|
1211
|
+
analytics?: {
|
|
1212
|
+
/**
|
|
1213
|
+
* When true, windows created via `overlay.windows` report Core Web Vitals (LCP, INP, FCP, TTFB, CLS)
|
|
1214
|
+
* as a `web_vitals` event once per page load. Requires the window's preload to import `@overlayed/app/preload`.
|
|
1215
|
+
*
|
|
1216
|
+
* When false, no metrics are collected in the renderer and the main process does not listen for them.
|
|
1217
|
+
*
|
|
1218
|
+
* @default true
|
|
1219
|
+
*/
|
|
1220
|
+
webVitals?: boolean;
|
|
1221
|
+
/**
|
|
1222
|
+
* When true, app crashes are reported to Overlayed: window and process crashes, uncaught main-process
|
|
1223
|
+
* exceptions, and sessions that ended unexpectedly. When false, crash reporting is turned off.
|
|
1224
|
+
*
|
|
1225
|
+
* @default true
|
|
1226
|
+
*/
|
|
1227
|
+
crashes?: boolean;
|
|
1228
|
+
};
|
|
1208
1229
|
/**
|
|
1209
1230
|
* A record of feature flag names to their default values.
|
|
1210
1231
|
*
|