@replayio/protocol
Advanced tools
Comparing version 0.38.0 to 0.39.0
@@ -5,3 +5,3 @@ import { mayDisconnect, willDisconnect } from "../../protocol/Connection"; | ||
import { setAccessTokenParameters } from "../../protocol/Authentication"; | ||
import { mayDestroy, willDestroy, missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getAnnotationKindsParameters, getEndpointParameters, getPointNearTimeParameters, getPointsBoundingTimeParameters, createPauseParameters, releasePauseParameters, listenForLoadChangesParameters, requestFocusRangeParameters, loadRegionParameters, unloadRegionParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { mayDestroy, willDestroy, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getAnnotationKindsParameters, getEndpointParameters, getPointNearTimeParameters, getPointsBoundingTimeParameters, createPauseParameters, releasePauseParameters, listenForLoadChangesParameters, requestFocusRangeParameters, loadRegionParameters, unloadRegionParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { paintPoints, findPaintsParameters, getPaintContentsParameters, getDevicePixelRatioParameters } from "../../protocol/Graphics"; | ||
@@ -190,12 +190,2 @@ import { newSource, sourceContentsInfo, sourceContentsChunk, searchSourceContentsMatches, functionsMatches, findSourcesParameters, streamSourceContentsParameters, getSourceContentsParameters, getSourceMapParameters, getScopeMapParameters, getPossibleBreakpointsParameters, getHitCountsParameters, getEventHandlerCountParameters, getEventHandlerCountsParameters, getAllEventHandlerCountsParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters } from "../../protocol/Debugger"; | ||
/** | ||
* Event describing regions of the recording that have not been uploaded. | ||
*/ | ||
addMissingRegionsListener: (listener: (parameters: missingRegions) => void) => void; | ||
removeMissingRegionsListener: (listener?: ((parameters: missingRegions) => void) | undefined) => void | undefined; | ||
/** | ||
* Event describing regions of the recording that have not been processed. | ||
*/ | ||
addUnprocessedRegionsListener: (listener: (parameters: unprocessedRegions) => void) => void; | ||
removeUnprocessedRegionsListener: (listener?: ((parameters: unprocessedRegions) => void) | undefined) => void | undefined; | ||
/** | ||
* Describes some mouse events that occur in the recording. | ||
@@ -226,6 +216,6 @@ */ | ||
/** | ||
* Does not return until the recording is fully processed. Before returning, | ||
* <code>missingRegions</code> and <code>unprocessedRegions</code> events will | ||
* be periodically emitted. Commands which require inspecting the recording | ||
* will not return until that part of the recording has been processed, | ||
* Does not return until the recording is fully processed. | ||
* This method will likely be removed soon, `listenForLoadChanges` is the | ||
* preferred way to monitor loading state. | ||
* | ||
* see <code>ProcessingLevel</code> for details. | ||
@@ -232,0 +222,0 @@ */ |
@@ -20,3 +20,3 @@ export * from "./Connection"; | ||
import { setAccessTokenParameters, setAccessTokenResult } from "./Authentication"; | ||
import { mayDestroy, willDestroy, missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getAnnotationKindsParameters, getAnnotationKindsResult, getEndpointParameters, getEndpointResult, getPointNearTimeParameters, getPointNearTimeResult, getPointsBoundingTimeParameters, getPointsBoundingTimeResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, listenForLoadChangesParameters, listenForLoadChangesResult, requestFocusRangeParameters, requestFocusRangeResult, loadRegionParameters, loadRegionResult, unloadRegionParameters, unloadRegionResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { mayDestroy, willDestroy, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getAnnotationKindsParameters, getAnnotationKindsResult, getEndpointParameters, getEndpointResult, getPointNearTimeParameters, getPointNearTimeResult, getPointsBoundingTimeParameters, getPointsBoundingTimeResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, listenForLoadChangesParameters, listenForLoadChangesResult, requestFocusRangeParameters, requestFocusRangeResult, loadRegionParameters, loadRegionResult, unloadRegionParameters, unloadRegionResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { paintPoints, findPaintsParameters, findPaintsResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "./Graphics"; | ||
@@ -132,16 +132,2 @@ import { newSource, sourceContentsInfo, sourceContentsChunk, searchSourceContentsMatches, functionsMatches, findSourcesParameters, findSourcesResult, streamSourceContentsParameters, streamSourceContentsResult, getSourceContentsParameters, getSourceContentsResult, getSourceMapParameters, getSourceMapResult, getScopeMapParameters, getScopeMapResult, 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 } from "./Debugger"; | ||
/** | ||
* Event describing regions of the recording that have not been uploaded. | ||
*/ | ||
"Session.missingRegions": { | ||
parameters: missingRegions; | ||
sessionId: true; | ||
}; | ||
/** | ||
* Event describing regions of the recording that have not been processed. | ||
*/ | ||
"Session.unprocessedRegions": { | ||
parameters: unprocessedRegions; | ||
sessionId: true; | ||
}; | ||
/** | ||
* Describes some mouse events that occur in the recording. | ||
@@ -388,6 +374,6 @@ */ | ||
/** | ||
* Does not return until the recording is fully processed. Before returning, | ||
* <code>missingRegions</code> and <code>unprocessedRegions</code> events will | ||
* be periodically emitted. Commands which require inspecting the recording | ||
* will not return until that part of the recording has been processed, | ||
* Does not return until the recording is fully processed. | ||
* This method will likely be removed soon, `listenForLoadChanges` is the | ||
* preferred way to monitor loading state. | ||
* | ||
* see <code>ProcessingLevel</code> for details. | ||
@@ -394,0 +380,0 @@ */ |
import { CloseTimestamp } from "./Connection"; | ||
import { TimeRange, TimeStampedPointRange, MouseEvent, KeyboardEvent, NavigationEvent, Annotation, TimeStampedPoint, ExecutionPoint, PointRange } from "./Recording"; | ||
import { MouseEvent, KeyboardEvent, NavigationEvent, Annotation, TimeStampedPointRange, TimeStampedPoint, ExecutionPoint, TimeRange, PointRange } from "./Recording"; | ||
import { PauseId, CallStack, PauseData } from "./Pause"; | ||
@@ -183,25 +183,2 @@ /** | ||
/** | ||
* Event describing regions of the recording that have not been uploaded. | ||
*/ | ||
export interface missingRegions { | ||
/** | ||
* Regions that have not been uploaded. | ||
*/ | ||
regions: TimeRange[]; | ||
} | ||
/** | ||
* Event describing regions of the recording that have not been processed. | ||
*/ | ||
export interface unprocessedRegions { | ||
/** | ||
* Level at which the regions are unprocessed. | ||
*/ | ||
level: ProcessingLevel; | ||
/** | ||
* Regions of the recording that haven't been processed at the associated | ||
* level. | ||
*/ | ||
regions: TimeStampedPointRange[]; | ||
} | ||
/** | ||
* Describes some mouse events that occur in the recording. | ||
@@ -208,0 +185,0 @@ */ |
{ | ||
"name": "@replayio/protocol", | ||
"version": "0.38.0", | ||
"version": "0.39.0", | ||
"description": "Definition of the protocol used by the Record Replay web service", | ||
@@ -23,2 +23,2 @@ "author": "", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
513423
11957