@replayio/protocol
Advanced tools
Comparing version 0.34.0 to 0.35.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, newMetric, experimentalEvent, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getAnnotationKindsParameters, getEndpointParameters, getPointNearTimeParameters, getPointsBoundingTimeParameters, createPauseParameters, releasePauseParameters, listenForLoadChangesParameters, loadRegionParameters, unloadRegionParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { mayDestroy, willDestroy, missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, experimentalEvent, ensureProcessedParameters, findMouseEventsParameters, findKeyboardEventsParameters, findNavigationEventsParameters, findAnnotationsParameters, getAnnotationKindsParameters, getEndpointParameters, getPointNearTimeParameters, getPointsBoundingTimeParameters, createPauseParameters, releasePauseParameters, listenForLoadChangesParameters, loadRegionParameters, unloadRegionParameters, getBuildIdParameters } from "../../protocol/Session"; | ||
import { paintPoints, findPaintsParameters, getPaintContentsParameters, getDevicePixelRatioParameters } from "../../protocol/Graphics"; | ||
@@ -225,7 +225,2 @@ import { newSource, sourceContentsInfo, sourceContentsChunk, searchSourceContentsMatches, functionsMatches, findSourcesParameters, streamSourceContentsParameters, getSourceContentsParameters, getSourceMapParameters, getScopeMapParameters, getPossibleBreakpointsParameters, getHitCountsParameters, getEventHandlerCountParameters, getEventHandlerCountsParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters } from "../../protocol/Debugger"; | ||
/** | ||
* Placeholder event for metrics being emitted. | ||
*/ | ||
addNewMetricListener: (listener: (parameters: newMetric) => void) => void; | ||
removeNewMetricListener: (listener?: ((parameters: newMetric) => void) | undefined) => void | undefined; | ||
/** | ||
* An event indicating that something happened in a way that is not yet officially | ||
@@ -279,17 +274,8 @@ * supported in the protocol. This will only be emitted for sessions which | ||
* command will not raise an error if it is performed for an unloaded time. | ||
* However, unloaded times will be less densely populated by corresponding | ||
* points, so the same command might return different results depending on if | ||
* it is being asked about a loaded or unloaded time. In the case that the | ||
* answer is generated from coarser data, the <code>precise</code> flag will be | ||
* set to <code>false</code> | ||
*/ | ||
getPointNearTime: (parameters: getPointNearTimeParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").getPointNearTimeResult>; | ||
/** | ||
* Get exact points bounding a time. Much like <code>getPointNearTime</code>, | ||
* Get points bounding a time. Much like <code>getPointNearTime</code>, | ||
* this command will not raise an error if it is performed for an unloaded | ||
* time. However, unloaded times will be less densely populated by | ||
* corresponding points, so the same command might return different results | ||
* depending on if it is being asked about a loaded or unloaded time. In the | ||
* case that the answer is generated from coarser data, the | ||
* <code>precise</code> flag will be set to <code>false</code> | ||
* time. | ||
*/ | ||
@@ -296,0 +282,0 @@ getPointsBoundingTime: (parameters: getPointsBoundingTimeParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Session").getPointsBoundingTimeResult>; |
@@ -20,3 +20,3 @@ export * from "./Connection"; | ||
import { setAccessTokenParameters, setAccessTokenResult } from "./Authentication"; | ||
import { mayDestroy, willDestroy, missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, newMetric, experimentalEvent, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getAnnotationKindsParameters, getAnnotationKindsResult, getEndpointParameters, getEndpointResult, getPointNearTimeParameters, getPointNearTimeResult, getPointsBoundingTimeParameters, getPointsBoundingTimeResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, listenForLoadChangesParameters, listenForLoadChangesResult, loadRegionParameters, loadRegionResult, unloadRegionParameters, unloadRegionResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { mayDestroy, willDestroy, missingRegions, unprocessedRegions, mouseEvents, keyboardEvents, navigationEvents, annotations, loadedRegions, experimentalEvent, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, findKeyboardEventsParameters, findKeyboardEventsResult, findNavigationEventsParameters, findNavigationEventsResult, findAnnotationsParameters, findAnnotationsResult, getAnnotationKindsParameters, getAnnotationKindsResult, getEndpointParameters, getEndpointResult, getPointNearTimeParameters, getPointNearTimeResult, getPointsBoundingTimeParameters, getPointsBoundingTimeResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, listenForLoadChangesParameters, listenForLoadChangesResult, loadRegionParameters, loadRegionResult, unloadRegionParameters, unloadRegionResult, getBuildIdParameters, getBuildIdResult } from "./Session"; | ||
import { paintPoints, findPaintsParameters, findPaintsResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "./Graphics"; | ||
@@ -181,9 +181,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, 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"; | ||
/** | ||
* Placeholder event for metrics being emitted. | ||
*/ | ||
"Session.newMetric": { | ||
parameters: newMetric; | ||
sessionId: true; | ||
}; | ||
/** | ||
* An event indicating that something happened in a way that is not yet officially | ||
@@ -487,7 +480,2 @@ * supported in the protocol. This will only be emitted for sessions which | ||
* command will not raise an error if it is performed for an unloaded time. | ||
* However, unloaded times will be less densely populated by corresponding | ||
* points, so the same command might return different results depending on if | ||
* it is being asked about a loaded or unloaded time. In the case that the | ||
* answer is generated from coarser data, the <code>precise</code> flag will be | ||
* set to <code>false</code> | ||
*/ | ||
@@ -502,9 +490,5 @@ "Session.getPointNearTime": { | ||
/** | ||
* Get exact points bounding a time. Much like <code>getPointNearTime</code>, | ||
* Get points bounding a time. Much like <code>getPointNearTime</code>, | ||
* this command will not raise an error if it is performed for an unloaded | ||
* time. However, unloaded times will be less densely populated by | ||
* corresponding points, so the same command might return different results | ||
* depending on if it is being asked about a loaded or unloaded time. In the | ||
* case that the answer is generated from coarser data, the | ||
* <code>precise</code> flag will be set to <code>false</code> | ||
* time. | ||
*/ | ||
@@ -511,0 +495,0 @@ "Session.getPointsBoundingTime": { |
@@ -57,3 +57,2 @@ import { CloseTimestamp } from "./Connection"; | ||
export interface getPointNearTimeResult { | ||
precise: boolean; | ||
point: TimeStampedPoint; | ||
@@ -65,3 +64,2 @@ } | ||
export interface getPointsBoundingTimeResult { | ||
precise: boolean; | ||
after: TimeStampedPoint; | ||
@@ -241,8 +239,2 @@ before: TimeStampedPoint; | ||
/** | ||
* Placeholder event for metrics being emitted. | ||
*/ | ||
export interface newMetric { | ||
data: any; | ||
} | ||
/** | ||
* An event indicating that something happened in a way that is not yet officially | ||
@@ -249,0 +241,0 @@ * supported in the protocol. This will only be emitted for sessions which |
{ | ||
"name": "@replayio/protocol", | ||
"version": "0.34.0", | ||
"version": "0.35.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
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
514063
11959