@replayio/protocol
Advanced tools
Comparing version
@@ -5,3 +5,3 @@ import { mayDisconnect, willDisconnect } from "../../protocol/Connection"; | ||
import { setAccessTokenParameters } from "../../protocol/Authentication"; | ||
import { mayDestroy, willDestroy, mouseEvents, keyboardEvents, navigationEvents, annotations, findPointsResults, runEvaluationResults, loadedRegions, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getAnnotationKindsParameters, hasAnnotationKindParameters, getEndpointParameters, getPointNearTimeParameters, getPointsBoundingTimeParameters, createPauseParameters, releasePauseParameters, findPointsParameters, runEvaluationParameters, listenForLoadChangesParameters, requestFocusRangeParameters, requestFocusWindowParameters, getFocusWindowParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { mayDestroy, willDestroy, mouseEvents, keyboardEvents, navigationEvents, annotations, findPointsResults, runEvaluationResults, loadedRegions, processingProgress, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getAnnotationKindsParameters, hasAnnotationKindParameters, getEndpointParameters, getPointNearTimeParameters, getPointsBoundingTimeParameters, createPauseParameters, releasePauseParameters, findPointsParameters, runEvaluationParameters, listenForLoadChangesParameters, listenForProcessingProgressParameters, requestFocusRangeParameters, requestFocusWindowParameters, getFocusWindowParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { paintPoints, findPaintsParameters, getPaintContentsParameters, getDevicePixelRatioParameters } from "../../protocol/Graphics"; | ||
@@ -228,2 +228,7 @@ import { newSource, newSources, sourceContentsInfo, sourceContentsChunk, searchSourceContentsMatches, functionsMatches, findSourcesParameters, streamSourceContentsParameters, getSourceContentsParameters, getSourceMapParameters, getScopeMapParameters, mapExpressionToGeneratedScopeParameters, getPossibleBreakpointsParameters, getHitCountsParameters, getEventHandlerCountParameters, getEventHandlerCountsParameters, getAllEventHandlerCountsParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters, getSourceOutlineParameters } from "../../protocol/Debugger"; | ||
/** | ||
* Describes processing state for the recording. | ||
*/ | ||
addProcessingProgressListener: (listener: (parameters: processingProgress) => void) => void; | ||
removeProcessingProgressListener: (listener?: ((parameters: processingProgress) => void) | undefined) => void | undefined; | ||
/** | ||
* Does not return until the recording is fully processed. | ||
@@ -313,2 +318,9 @@ * This method will likely be removed soon, `listenForLoadChanges` is the | ||
/** | ||
* Listen for updates about the recording's processing. Does not return until | ||
* the recording has been fully processed. Before returning, <code>processingProgress</code> | ||
* events will be emitted whenever a new region in the recording is processed. | ||
* This command is experimental and it may change or be removed at any time. | ||
*/ | ||
listenForProcessingProgress: (parameters: listenForProcessingProgressParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").listenForProcessingProgressResult>; | ||
/** | ||
* Request to load a range between two timestamps. This command will unload areas outside | ||
@@ -315,0 +327,0 @@ * of the requested range. |
@@ -19,3 +19,3 @@ export * from "./Connection"; | ||
import { setAccessTokenParameters, setAccessTokenResult } from "./Authentication"; | ||
import { mayDestroy, willDestroy, mouseEvents, keyboardEvents, navigationEvents, annotations, findPointsResults, runEvaluationResults, loadedRegions, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getAnnotationKindsParameters, getAnnotationKindsResult, hasAnnotationKindParameters, hasAnnotationKindResult, getEndpointParameters, getEndpointResult, getPointNearTimeParameters, getPointNearTimeResult, getPointsBoundingTimeParameters, getPointsBoundingTimeResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, findPointsParameters, findPointsResult, runEvaluationParameters, runEvaluationResult, listenForLoadChangesParameters, listenForLoadChangesResult, requestFocusRangeParameters, requestFocusRangeResult, requestFocusWindowParameters, requestFocusWindowResult, getFocusWindowParameters, getFocusWindowResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { mayDestroy, willDestroy, mouseEvents, keyboardEvents, navigationEvents, annotations, findPointsResults, runEvaluationResults, loadedRegions, processingProgress, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getAnnotationKindsParameters, getAnnotationKindsResult, hasAnnotationKindParameters, hasAnnotationKindResult, getEndpointParameters, getEndpointResult, getPointNearTimeParameters, getPointNearTimeResult, getPointsBoundingTimeParameters, getPointsBoundingTimeResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, findPointsParameters, findPointsResult, runEvaluationParameters, runEvaluationResult, listenForLoadChangesParameters, listenForLoadChangesResult, listenForProcessingProgressParameters, listenForProcessingProgressResult, requestFocusRangeParameters, requestFocusRangeResult, requestFocusWindowParameters, requestFocusWindowResult, getFocusWindowParameters, getFocusWindowResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { paintPoints, findPaintsParameters, findPaintsResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "./Graphics"; | ||
@@ -183,2 +183,9 @@ import { newSource, newSources, sourceContentsInfo, sourceContentsChunk, searchSourceContentsMatches, functionsMatches, findSourcesParameters, findSourcesResult, streamSourceContentsParameters, streamSourceContentsResult, getSourceContentsParameters, getSourceContentsResult, getSourceMapParameters, getSourceMapResult, getScopeMapParameters, getScopeMapResult, mapExpressionToGeneratedScopeParameters, mapExpressionToGeneratedScopeResult, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, getHitCountsParameters, getHitCountsResult, getEventHandlerCountParameters, getEventHandlerCountResult, getEventHandlerCountsParameters, getEventHandlerCountsResult, getAllEventHandlerCountsParameters, getAllEventHandlerCountsResult, searchSourceContentsParameters, searchSourceContentsResult, getMappedLocationParameters, getMappedLocationResult, setBreakpointParameters, setBreakpointResult, removeBreakpointParameters, removeBreakpointResult, findResumeTargetParameters, findResumeTargetResult, findRewindTargetParameters, findRewindTargetResult, findReverseStepOverTargetParameters, findReverseStepOverTargetResult, findStepOverTargetParameters, findStepOverTargetResult, findStepInTargetParameters, findStepInTargetResult, findStepOutTargetParameters, findStepOutTargetResult, blackboxSourceParameters, blackboxSourceResult, unblackboxSourceParameters, unblackboxSourceResult, searchFunctionsParameters, searchFunctionsResult, getSourceOutlineParameters, getSourceOutlineResult } from "./Debugger"; | ||
/** | ||
* Describes processing state for the recording. | ||
*/ | ||
"Session.processingProgress": { | ||
parameters: processingProgress; | ||
sessionId: true; | ||
}; | ||
/** | ||
* Describes some points in the recording at which paints occurred. No paint | ||
@@ -548,2 +555,15 @@ * will occur for the recording's beginning execution point. | ||
/** | ||
* Listen for updates about the recording's processing. Does not return until | ||
* the recording has been fully processed. Before returning, <code>processingProgress</code> | ||
* events will be emitted whenever a new region in the recording is processed. | ||
* This command is experimental and it may change or be removed at any time. | ||
*/ | ||
"Session.listenForProcessingProgress": { | ||
parameters: listenForProcessingProgressParameters; | ||
result: listenForProcessingProgressResult; | ||
sessionId: true; | ||
pauseId: false; | ||
binary: false; | ||
}; | ||
/** | ||
* Request to load a range between two timestamps. This command will unload areas outside | ||
@@ -550,0 +570,0 @@ * of the requested range. |
@@ -394,2 +394,6 @@ import { Location, EventHandlerType, PointDescription } from "./Debugger"; | ||
} | ||
export interface listenForProcessingProgressParameters { | ||
} | ||
export interface listenForProcessingProgressResult { | ||
} | ||
export interface requestFocusRangeParameters { | ||
@@ -558,1 +562,10 @@ /** | ||
} | ||
/** | ||
* Describes processing state for the recording. | ||
*/ | ||
export interface processingProgress { | ||
/** | ||
* The percentage of the recording that has been processed. | ||
*/ | ||
progressPercent: number; | ||
} |
{ | ||
"name": "@replayio/protocol", | ||
"version": "0.58.1", | ||
"version": "0.59.0", | ||
"description": "Definition of the protocol used by the Record Replay web service", | ||
@@ -5,0 +5,0 @@ "author": "", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
547065
0.78%12652
0.61%