@alwaysmeticulous/api 2.30.1 → 2.32.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.
|
@@ -32,6 +32,31 @@ export interface FatalErrorTimelineEntry extends GenericReplayTimelineEntry {
|
|
|
32
32
|
stack: string | null;
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Timed out waiting for something but continued anyway. This means the replay was still successful, but may be flakey.
|
|
37
|
+
*/
|
|
38
|
+
export interface TimeoutTimelineEntry extends GenericReplayTimelineEntry {
|
|
39
|
+
kind: "timeoutError";
|
|
40
|
+
data: {
|
|
41
|
+
timeoutInMs: number;
|
|
42
|
+
message: string | null;
|
|
43
|
+
stack: string | null;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export interface FontsTimeoutTimelineEntry extends TimeoutTimelineEntry {
|
|
47
|
+
data: {
|
|
48
|
+
waitedFor: "fonts";
|
|
49
|
+
} & TimeoutTimelineEntry["data"];
|
|
50
|
+
}
|
|
51
|
+
export interface NetworkResponsesTimeoutTimelineEntry extends TimeoutTimelineEntry {
|
|
52
|
+
data: {
|
|
53
|
+
waitedFor: "network-responses";
|
|
54
|
+
/**
|
|
55
|
+
* The urls we timed out waiting for.
|
|
56
|
+
*/
|
|
57
|
+
urls?: string[];
|
|
58
|
+
} & TimeoutTimelineEntry["data"];
|
|
59
|
+
}
|
|
35
60
|
export interface UrlChangeTimelineEntry extends GenericReplayTimelineEntry {
|
|
36
61
|
kind: "urlChange";
|
|
37
62
|
data: {
|
|
@@ -68,6 +93,6 @@ export interface JsReplaySimulateEvent {
|
|
|
68
93
|
userEvent: ReplayableEvent;
|
|
69
94
|
result: "success" | "failed" | "unknownEvent";
|
|
70
95
|
}
|
|
71
|
-
export type ReplayTimelineEntry = ErrorTimelineEntry | FatalErrorTimelineEntry | UrlChangeTimelineEntry | PollyTimelineEntry | JsReplayTimelineEntry;
|
|
96
|
+
export type ReplayTimelineEntry = ErrorTimelineEntry | FatalErrorTimelineEntry | FontsTimeoutTimelineEntry | NetworkResponsesTimeoutTimelineEntry | UrlChangeTimelineEntry | PollyTimelineEntry | JsReplayTimelineEntry;
|
|
72
97
|
export type ReplayTimelineData = ReplayTimelineEntry[];
|
|
73
98
|
export {};
|
|
@@ -24,6 +24,7 @@ export interface SessionData {
|
|
|
24
24
|
datetime_first_payload: string;
|
|
25
25
|
hostname: string;
|
|
26
26
|
abandoned: boolean;
|
|
27
|
+
applicationSpecificData?: ApplicationSpecificData;
|
|
27
28
|
}
|
|
28
29
|
export interface WindowData {
|
|
29
30
|
startUrl: string;
|
|
@@ -50,3 +51,14 @@ export type LocalStorageEntry = {
|
|
|
50
51
|
key: string;
|
|
51
52
|
value: string;
|
|
52
53
|
};
|
|
54
|
+
export interface ApplicationSpecificData {
|
|
55
|
+
nextJs?: {
|
|
56
|
+
props?: Record<string, unknown>;
|
|
57
|
+
page?: string;
|
|
58
|
+
query?: Record<string, string>;
|
|
59
|
+
buildId?: string;
|
|
60
|
+
isFallback?: boolean;
|
|
61
|
+
gsp?: boolean;
|
|
62
|
+
scriptLoader?: Record<string, unknown>;
|
|
63
|
+
};
|
|
64
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.32.0",
|
|
4
4
|
"description": "Meticulous API types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "af5dfd9ad6fcfff55c9fe36df17233d9455b538b"
|
|
38
38
|
}
|