@alwaysmeticulous/sdk-bundles-api
Advanced tools
Comparing version 2.42.0 to 2.42.1
@@ -5,5 +5,5 @@ export { RecordConfig, RecordSettings, RecordState } from "./record"; | ||
export { BootstrapReplayUserInteractionsFn, BootstrapReplayUserInteractionsOptions, OnReplayTimelineEventFn, ReplayUserInteractionsFn, ReplayUserInteractionsOptions, VirtualTimeOptions, InstallVirtualEventLoopOpts, SetupReplayNetworkStubbingFn, NetworkStubbingOptions, BrowserContextSeedingOptions, SetupBrowserContextSeedingFn, ScreenshottingOptions, } from "./replay/sdk-to-bundle"; | ||
export { ReplayAndStoreResultsOptions, ReplayTarget, SnapshottedAssetsReplayTarget, URLReplayTarget, OriginalRecordedURLReplayTarget, ReplayExecutionOptions, ReplayOrchestratorScreenshottingOptions, ScreenshottingEnabledOptions, StoryboardOptions, GeneratedBy, GeneratedByNotebookRun, GeneratedByTestRun, GeneratedByReplayCommand, ScreenshotComparisonOptions, ScreenshotComparisonEnabledOptions, CompareScreenshotsTo, CompareScreenshotsToSpecificReplay, CompareScreenshotsToTestRun, DoNotCompareScreenshots, } from "./replay-orchestrator/sdk-to-bundle/execute-replay"; | ||
export { ReplayAndStoreResultsOptions, ReplayTarget, SnapshottedAssetsReplayTarget, URLReplayTarget, OriginalRecordedURLReplayTarget, ReplayExecutionOptions, ReplayOrchestratorScreenshottingOptions, ScreenshottingEnabledOptions, StoryboardOptions, GeneratedBy, GeneratedByNotebookRun, GeneratedByTestRun, GeneratedByReplayCommand, ScreenshotComparisonOptions, ScreenshotComparisonEnabledOptions, CompareScreenshotsTo, CompareScreenshotsToSpecificReplay, CompareScreenshotsToTestRun, DoNotCompareScreenshots, OutOfDateClientError, } from "./replay-orchestrator/sdk-to-bundle/execute-replay"; | ||
export { ExecuteTestRunOptions } from "./replay-orchestrator/sdk-to-bundle/execute-test-run"; | ||
export { ExecuteTestRunResult, TestRunExecution, RunningTestRunExecution, FinishedTestRunExecution, TestRunProgress, DetailedTestCaseResult, } from "./replay-orchestrator/bundle-to-sdk/execute-test-run"; | ||
export { ReplayAndStoreResultsResult, ReplayExecution, BeforeUserEventResult, } from "./replay-orchestrator/bundle-to-sdk/execute-replay"; |
@@ -24,4 +24,20 @@ import { ScreenshotDiffOptions } from "@alwaysmeticulous/api"; | ||
onBeforeUserEvent?: (opts: BeforeUserEventOptions) => Promise<BeforeUserEventResult>; | ||
/** | ||
* The maximum version of the replayAndStoreResults schema (the types in this inferface | ||
* and the return type) that the caller is compatible with. | ||
* | ||
* This version number is bumped on every API change, and allows the replayAndStoreResults | ||
* code to detect if it's being called by client that is not compatible with the latest version, | ||
* and if so throw an OutOfDateClientError. It is then up to the client to display a message to ask | ||
* the user to update to a newer version. | ||
*/ | ||
maxSemanticVersionSupported: number; | ||
} | ||
/** | ||
* See {@link ReplayAndStoreResultsOptions.maxSemanticVersionSupported} for more details. | ||
*/ | ||
export interface OutOfDateClientError extends Error { | ||
name: "OutOfDateClient"; | ||
} | ||
/** | ||
* Similar to ScreenshotAssertionsOptions, but also specifies the test run or base replay id | ||
@@ -28,0 +44,0 @@ * to compare to. |
@@ -51,2 +51,12 @@ import { ScreenshotAssertionsEnabledOptions, TestCaseResult, TestRunEnvironment } from "@alwaysmeticulous/api"; | ||
onTestFinished?: (testRun: RunningTestRunExecution) => void; | ||
/** | ||
* The maximum version of the executeTestRun schema (the types in this inferface | ||
* and the return type) that the caller is compatible with. | ||
* | ||
* This version number is bumped on every API change, and allows the executeTestRun | ||
* code to detect if it's being called by client that is not compatible with the latest version, | ||
* and if so throw an OutOfDateClientError. It is then up to the client to display a message to ask | ||
* the user to update to a newer version. | ||
*/ | ||
maxSemanticVersionSupported: number; | ||
} |
{ | ||
"name": "@alwaysmeticulous/sdk-bundles-api", | ||
"version": "2.42.0", | ||
"version": "2.42.1", | ||
"description": "Meticulous common types", | ||
@@ -53,3 +53,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "65e2410a784642674ea6c8203d5b9f8a303c33ea" | ||
"gitHead": "6c08f6e79f34f7efdc2ebd0e8e4e09baffeb8f04" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21707
474