@replayio/protocol
Advanced tools
Comparing version 0.60.0 to 0.61.0
@@ -9,3 +9,3 @@ import { mayDisconnect, willDisconnect } from "../../protocol/Connection"; | ||
import { newMessage, findMessagesParameters, findMessagesInRangeParameters } from "../../protocol/Console"; | ||
import { evaluateInFrameParameters, evaluateInGlobalParameters, getObjectPropertyParameters, callFunctionParameters, callObjectPropertyParameters, getObjectPreviewParameters, getScopeParameters, getTopFrameParameters, getAllFramesParameters, getFrameArgumentsParameters, getFrameStepsParameters, getExceptionValueParameters } from "../../protocol/Pause"; | ||
import { evaluateInFrameParameters, evaluateInGlobalParameters, getObjectPropertyParameters, callFunctionParameters, callObjectPropertyParameters, getObjectPreviewParameters, getObjectPreviewsParameters, getScopeParameters, getTopFrameParameters, getAllFramesParameters, getFrameArgumentsParameters, getFrameStepsParameters, getExceptionValueParameters } from "../../protocol/Pause"; | ||
import { getDocumentParameters, getParentNodesParameters, querySelectorParameters, getEventListenersParameters, getBoxModelParameters, getBoundingClientRectParameters, getAllBoundingClientRectsParameters, performSearchParameters, repaintGraphicsParameters } from "../../protocol/DOM"; | ||
@@ -621,2 +621,6 @@ import { getComputedStyleParameters, getAppliedRulesParameters } from "../../protocol/CSS"; | ||
/** | ||
* Load previews for multiple objects. | ||
*/ | ||
getObjectPreviews: (parameters: getObjectPreviewsParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Pause").getObjectPreviewsResult>; | ||
/** | ||
* Load a scope's contents. | ||
@@ -623,0 +627,0 @@ */ |
@@ -23,3 +23,3 @@ export * from "./Connection"; | ||
import { newMessage, findMessagesParameters, findMessagesResult, findMessagesInRangeParameters, findMessagesInRangeResult } from "./Console"; | ||
import { evaluateInFrameParameters, evaluateInFrameResult, evaluateInGlobalParameters, evaluateInGlobalResult, getObjectPropertyParameters, getObjectPropertyResult, callFunctionParameters, callFunctionResult, callObjectPropertyParameters, callObjectPropertyResult, getObjectPreviewParameters, getObjectPreviewResult, getScopeParameters, getScopeResult, getTopFrameParameters, getTopFrameResult, getAllFramesParameters, getAllFramesResult, getFrameArgumentsParameters, getFrameArgumentsResult, getFrameStepsParameters, getFrameStepsResult, getExceptionValueParameters, getExceptionValueResult } from "./Pause"; | ||
import { evaluateInFrameParameters, evaluateInFrameResult, evaluateInGlobalParameters, evaluateInGlobalResult, getObjectPropertyParameters, getObjectPropertyResult, callFunctionParameters, callFunctionResult, callObjectPropertyParameters, callObjectPropertyResult, getObjectPreviewParameters, getObjectPreviewResult, getObjectPreviewsParameters, getObjectPreviewsResult, getScopeParameters, getScopeResult, getTopFrameParameters, getTopFrameResult, getAllFramesParameters, getAllFramesResult, getFrameArgumentsParameters, getFrameArgumentsResult, getFrameStepsParameters, getFrameStepsResult, getExceptionValueParameters, getExceptionValueResult } from "./Pause"; | ||
import { getDocumentParameters, getDocumentResult, getParentNodesParameters, getParentNodesResult, querySelectorParameters, querySelectorResult, getEventListenersParameters, getEventListenersResult, getBoxModelParameters, getBoxModelResult, getBoundingClientRectParameters, getBoundingClientRectResult, getAllBoundingClientRectsParameters, getAllBoundingClientRectsResult, performSearchParameters, performSearchResult, repaintGraphicsParameters, repaintGraphicsResult } from "./DOM"; | ||
@@ -1042,2 +1042,12 @@ import { getComputedStyleParameters, getComputedStyleResult, getAppliedRulesParameters, getAppliedRulesResult } from "./CSS"; | ||
/** | ||
* Load previews for multiple objects. | ||
*/ | ||
"Pause.getObjectPreviews": { | ||
parameters: getObjectPreviewsParameters; | ||
result: getObjectPreviewsResult; | ||
sessionId: true; | ||
pauseId: true; | ||
binary: false; | ||
}; | ||
/** | ||
* Load a scope's contents. | ||
@@ -1044,0 +1054,0 @@ */ |
@@ -495,2 +495,21 @@ import { MappedLocation, PersistentObjectId, PointDescription } from "./Debugger"; | ||
} | ||
export interface getObjectPreviewsParameters { | ||
/** | ||
* Objects to load previews for. | ||
* A maximum of 250 objects are supported. | ||
*/ | ||
objects: ObjectId[]; | ||
/** | ||
* Amount of data desired in the resulting previews. If omitted, the full | ||
* non-overflowing preview for each object will be returned. | ||
*/ | ||
level?: ObjectPreviewLevel; | ||
} | ||
export interface getObjectPreviewsResult { | ||
/** | ||
* Returned data. This includes a preview for each object requested, and additional | ||
* data for referenced objects. | ||
*/ | ||
data: PauseData; | ||
} | ||
export interface getScopeParameters { | ||
@@ -497,0 +516,0 @@ /** |
{ | ||
"name": "@replayio/protocol", | ||
"version": "0.60.0", | ||
"version": "0.61.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
556361
12848