@alwaysmeticulous/api 2.285.0 → 2.285.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.ts
CHANGED
|
@@ -13,7 +13,7 @@ export * from "./sdk-bundle-api/sdk-to-bundle/event-source-data";
|
|
|
13
13
|
export { StreamingFetchChunk, StreamingFetchResponseData, } from "./sdk-bundle-api/sdk-to-bundle/streaming-fetch-data";
|
|
14
14
|
export { Replay } from "./replay/replay.types";
|
|
15
15
|
export { ScreenshotAssertionsOptions, ScreenshotAssertionsEnabledOptions, ScreenshottingEnabledOptions, StoryboardOptions, ScreenshotDiffOptions, ElementToIgnore, CSSSelectorToIgnore, } from "./sdk-bundle-api/sdk-to-bundle/screenshotting-options";
|
|
16
|
-
export { NetworkStubbingMode, StubAllRequests, StubNonSSRRequests, NoStubbing, CustomStubbing, RequestFilter, CustomTransformation, CustomTransformationWhere, } from "./sdk-bundle-api/sdk-to-bundle/network-stubbing";
|
|
16
|
+
export { NetworkStubbingMode, StubAllRequests, StubNonSSRRequests, PassthroughAppRequests, NoStubbing, CustomStubbing, RequestFilter, CustomTransformation, CustomTransformationWhere, } from "./sdk-bundle-api/sdk-to-bundle/network-stubbing";
|
|
17
17
|
export { ConsoleMessageWithStackTracePointer, VirtualTimeChange, MeticulousConsoleMessage, ApplicationConsoleMessage, ConsoleMessageCoreData, ConsoleMessageType, ConsoleMessageLocation, } from "./sdk-bundle-api/bundle-to-sdk/console-message";
|
|
18
18
|
export { InjectableRequestHeader, StaticHeaderValue, DynamicHeaderValue, AllRequests, AppUrlRequestsOnly, CustomRequests, } from "./sdk-bundle-api/sdk-to-bundle/header-injection";
|
|
19
19
|
export { ConsoleErrorDivergenceIndicator, Divergence, DivergenceConsoleError, DivergenceIndicator, InitialNavigationDivergenceIndicator, NetworkActivityDivergenceIndicator, ScreenshotDivergenceIdentifier, UrlChangeEventDivergenceIndicator, UserEventDivergenceIndicator, } from "./sdk-bundle-api/bundle-to-sdk/replay-divergence";
|
package/dist/project.types.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export interface Project {
|
|
|
32
32
|
externalHostsToConsiderAppRelated?: string[];
|
|
33
33
|
disableSourceMapLoading?: boolean;
|
|
34
34
|
assumeSourceMapEnabledForAllFiles?: boolean;
|
|
35
|
+
enableUploadedAssetRelevantSessions?: boolean;
|
|
35
36
|
};
|
|
36
37
|
experimentValues: Record<string, string>;
|
|
37
38
|
}
|
|
@@ -85,6 +85,7 @@ export interface TestRunDataLocations {
|
|
|
85
85
|
coverageStatsPr: S3Location;
|
|
86
86
|
coverageReplaysByFile?: S3Location;
|
|
87
87
|
coverageReplaysByFileUnmapped?: S3Location;
|
|
88
|
+
coverageReplaysByFileUnmappedWithRanges?: S3Location;
|
|
88
89
|
coverageScreenshotReplaysByFile?: S3Location;
|
|
89
90
|
coverageScreenshotReplaysByFileUnmapped?: S3Location;
|
|
90
91
|
coverageByReplayPr?: S3Location;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type NetworkStubbingMode = StubAllRequests | StubNonSSRRequests | CustomStubbing;
|
|
1
|
+
export type NetworkStubbingMode = StubAllRequests | StubNonSSRRequests | CustomStubbing | PassthroughAppRequests;
|
|
2
2
|
interface NetworkStubbingBase {
|
|
3
3
|
/**
|
|
4
4
|
* When looking for a request to use as a stub, these transformations will be applied to the request first.
|
|
@@ -28,6 +28,13 @@ export interface StubAllRequests extends NetworkStubbingBase {
|
|
|
28
28
|
export interface StubNonSSRRequests extends NetworkStubbingBase {
|
|
29
29
|
type: "stub-non-ssr-requests";
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Passes through all requests that originate from the app, and only stubs
|
|
33
|
+
* requests that were recorded in the session (e.g. calls to third party services).
|
|
34
|
+
*/
|
|
35
|
+
export interface PassthroughAppRequests extends NetworkStubbingBase {
|
|
36
|
+
type: "passthrough-app-requests";
|
|
37
|
+
}
|
|
31
38
|
export interface CustomStubbing extends NetworkStubbingBase {
|
|
32
39
|
type: "custom-stubbing";
|
|
33
40
|
requestsToNotStub: RequestFilter[];
|