@alwaysmeticulous/sdk-bundles-api 2.250.4 → 2.250.5
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
|
@@ -10,5 +10,5 @@ export { InProgressTestRun } from "./replay-orchestrator/bundle-to-sdk/execute-s
|
|
|
10
10
|
export { InProgressTestRunChunk, ExecuteTestRunChunkResult, TestRunChunkExecution, } from "./replay-orchestrator/bundle-to-sdk/execute-scheduled-test-run-chunk";
|
|
11
11
|
export { ReplayAndStoreResultsResult, ReplayExecution, BeforeUserEventResult, IndexedReplayableEvent, } from "./replay-orchestrator/bundle-to-sdk/execute-replay";
|
|
12
12
|
export { ScreenshotDiffData } from "./replay-orchestrator/bundle-to-sdk/execute-replay";
|
|
13
|
-
export { MeticulousPublicApi } from "./window-api/public-window-api";
|
|
13
|
+
export { MeticulousPublicApi, InitialNavigationResponse, } from "./window-api/public-window-api";
|
|
14
14
|
export { MeticulousPrivateApi } from "./window-api/private-window-api";
|
|
@@ -186,6 +186,14 @@ export interface MeticulousPublicRecordApi {
|
|
|
186
186
|
recordCustomEvent(type: string, serializedData: string): {
|
|
187
187
|
success: boolean;
|
|
188
188
|
};
|
|
189
|
+
/**
|
|
190
|
+
* Record the initial navigation for this session. This is used to bypass certain types
|
|
191
|
+
* of server-side rendering (SSR) when running Meticulous. It is unlikely you will need
|
|
192
|
+
* to call this method unless you have been directed to do so by Meticulous support.
|
|
193
|
+
*/
|
|
194
|
+
recordInitialNavigationResponse(har: InitialNavigationResponse): {
|
|
195
|
+
success: boolean;
|
|
196
|
+
};
|
|
189
197
|
/**
|
|
190
198
|
* Provides a link to view the session in the Meticulous UI. This link
|
|
191
199
|
* is of course only accessible by users with access to the Meticulous project.
|
|
@@ -198,6 +206,20 @@ export interface MeticulousPublicRecordApi {
|
|
|
198
206
|
*/
|
|
199
207
|
flush(): Promise<void>;
|
|
200
208
|
}
|
|
209
|
+
export interface InitialNavigationResponse {
|
|
210
|
+
/**
|
|
211
|
+
* The status code of the initial navigation response.
|
|
212
|
+
*/
|
|
213
|
+
status: number;
|
|
214
|
+
/**
|
|
215
|
+
* The headers of the initial navigation response.
|
|
216
|
+
*/
|
|
217
|
+
headers: Record<string, string>;
|
|
218
|
+
/**
|
|
219
|
+
* The body of the initial navigation response.
|
|
220
|
+
*/
|
|
221
|
+
body: string;
|
|
222
|
+
}
|
|
201
223
|
export interface MeticulousPublicContextApi {
|
|
202
224
|
/**
|
|
203
225
|
* Call this method to record the value of a feature flag. If this method is called multiple times
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/sdk-bundles-api",
|
|
3
|
-
"version": "2.250.
|
|
3
|
+
"version": "2.250.5",
|
|
4
4
|
"description": "Meticulous common types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"bugs": {
|
|
39
39
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "aab594372aa74bc697ee00465266868b7d7a670c"
|
|
42
42
|
}
|