@alwaysmeticulous/api 2.87.0 → 2.92.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.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCas
|
|
|
5
5
|
export { TestRunEnvironment, TestRunGitHubContext, TestRunGitHubPullRequestContext, TestRunGitHubPushContext, TestRunGitHubWorkflowDispatchContext, TestRunGitLabContext, TestRunGitLabMergeRequestContext, TestRunGitLabPushContext, } from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
|
|
6
6
|
export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
|
|
7
7
|
export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
|
|
8
|
-
export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData,
|
|
8
|
+
export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
|
|
9
9
|
export { Replay } from "./replay/replay.types";
|
|
10
10
|
export { ScreenshotAssertionsOptions, ScreenshotAssertionsEnabledOptions, ScreenshottingEnabledOptions, StoryboardOptions, ScreenshotDiffOptions, ElementToIgnore, CSSSelectorToIgnore, } from "./sdk-bundle-api/sdk-to-bundle/screenshotting-options";
|
|
11
11
|
export { NetworkStubbingMode, StubAllRequests, StubNonSSRRequests, NoStubbing, CustomStubbing, RequestFilter, } from "./sdk-bundle-api/sdk-to-bundle/network-stubbing";
|
|
@@ -12,9 +12,18 @@ export interface SessionData {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* Note: the name 'randomEvents' is a misnomer: it should be named 'storage'.
|
|
17
|
+
*/
|
|
15
18
|
randomEvents: {
|
|
16
19
|
localStorage: {
|
|
17
|
-
state:
|
|
20
|
+
state: StorageEntry[];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Only present on recordings since ~Dec 2023
|
|
24
|
+
*/
|
|
25
|
+
sessionStorage?: {
|
|
26
|
+
state: StorageEntry[];
|
|
18
27
|
};
|
|
19
28
|
};
|
|
20
29
|
cookies: Cookie[];
|
|
@@ -40,6 +49,11 @@ export interface Cookie {
|
|
|
40
49
|
value: string;
|
|
41
50
|
domain: string | null;
|
|
42
51
|
expires: number | null;
|
|
52
|
+
path?: string;
|
|
53
|
+
partitioned?: boolean;
|
|
54
|
+
sameSite?: "strict" | "lax" | "none";
|
|
55
|
+
secure?: boolean;
|
|
56
|
+
httpOnly?: boolean;
|
|
43
57
|
}
|
|
44
58
|
export interface UrlHistoryEvent {
|
|
45
59
|
timestamp: number;
|
|
@@ -51,7 +65,7 @@ export interface UrlHistoryEvent {
|
|
|
51
65
|
*/
|
|
52
66
|
urlPattern?: string;
|
|
53
67
|
}
|
|
54
|
-
export type
|
|
68
|
+
export type StorageEntry = {
|
|
55
69
|
key: string;
|
|
56
70
|
value: string;
|
|
57
71
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.92.0",
|
|
4
4
|
"description": "Meticulous API types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"bugs": {
|
|
36
36
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "8e5cfd9d29412105676ac38b252656765224c032"
|
|
39
39
|
}
|