Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@recordreplay/protocol

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recordreplay/protocol - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

@@ -9,3 +9,3 @@ import { uploadedData, sessionError, getDescriptionParameters, createSessionParameters, releaseSessionParameters, processRecordingParameters, addSourceMapParameters, addOriginalSourceParameters } from "../../protocol/Recording";

import { evaluateInFrameParameters, evaluateInGlobalParameters, getObjectPropertyParameters, callFunctionParameters, callObjectPropertyParameters, getObjectPreviewParameters, getScopeParameters, getTopFrameParameters, getAllFramesParameters, getFrameArgumentsParameters, getFrameStepsParameters, getExceptionValueParameters } from "../../protocol/Pause";
import { getDocumentParameters, getParentNodesParameters, querySelectorParameters, getEventListenersParameters, getBoxModelParameters, getBoundingClientRectParameters, getAllBoundingClientRectsParameters, performSearchParameters } from "../../protocol/DOM";
import { getDocumentParameters, getParentNodesParameters, querySelectorParameters, getEventListenersParameters, getBoxModelParameters, getBoundingClientRectParameters, getAllBoundingClientRectsParameters, performSearchParameters, repaintGraphicsParameters } from "../../protocol/DOM";
import { getComputedStyleParameters, getAppliedRulesParameters } from "../../protocol/CSS";

@@ -415,2 +415,9 @@ import { analysisResult, analysisError, analysisPoints, createAnalysisParameters, addLocationParameters, addFunctionEntryPointsParameters, addRandomPointsParameters, addEventHandlerEntryPointsParameters, addExceptionPointsParameters, runAnalysisParameters, releaseAnalysisParameters, findAnalysisPointsParameters } from "../../protocol/Analysis";

performSearch: (parameters: performSearchParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/DOM").performSearchResult>;
/**
* Paint the state of the DOM at this pause, even if no equivalent paint
* occurred when originally recording. In the latter case a best-effort attempt
* will be made to paint the current graphics, but the result might not be
* identical to what would have originally been drawn while recording.
*/
repaintGraphics: (parameters: repaintGraphicsParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/DOM").repaintGraphicsResult>;
};

@@ -417,0 +424,0 @@ /**

@@ -540,2 +540,11 @@ "use strict";

},
/**
* Paint the state of the DOM at this pause, even if no equivalent paint
* occurred when originally recording. In the latter case a best-effort attempt
* will be made to paint the current graphics, but the result might not be
* identical to what would have originally been drawn while recording.
*/
repaintGraphics: function (parameters, sessionId, pauseId) {
return _this.genericClient.sendCommand("DOM.repaintGraphics", parameters, sessionId, pauseId);
},
};

@@ -542,0 +551,0 @@ /**

import { ObjectId, PauseData } from "./Pause";
import { ScreenShotDescription, ScreenShot } from "./Graphics";
/**

@@ -253,1 +254,14 @@ * Description of an event listener on a page.

}
export interface repaintGraphicsParameters {
}
export interface repaintGraphicsResult {
/**
* Description of the resulting screen shot.
*/
description: ScreenShotDescription;
/**
* Contents of the screen shot. If an identical screen shot was previously
* returned, this will be omitted.
*/
screenShot?: ScreenShot;
}

@@ -22,3 +22,3 @@ export * from "./Recording";

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 { getDocumentParameters, getDocumentResult, getParentNodesParameters, getParentNodesResult, querySelectorParameters, querySelectorResult, getEventListenersParameters, getEventListenersResult, getBoxModelParameters, getBoxModelResult, getBoundingClientRectParameters, getBoundingClientRectResult, getAllBoundingClientRectsParameters, getAllBoundingClientRectsResult, performSearchParameters, performSearchResult } from "./DOM";
import { getDocumentParameters, getDocumentResult, getParentNodesParameters, getParentNodesResult, querySelectorParameters, querySelectorResult, getEventListenersParameters, getEventListenersResult, getBoxModelParameters, getBoxModelResult, getBoundingClientRectParameters, getBoundingClientRectResult, getAllBoundingClientRectsParameters, getAllBoundingClientRectsResult, performSearchParameters, performSearchResult, repaintGraphicsParameters, repaintGraphicsResult } from "./DOM";
import { getComputedStyleParameters, getComputedStyleResult, getAppliedRulesParameters, getAppliedRulesResult } from "./CSS";

@@ -753,2 +753,15 @@ import { analysisResult, analysisError, analysisPoints, createAnalysisParameters, createAnalysisResult, addLocationParameters, addLocationResult, addFunctionEntryPointsParameters, addFunctionEntryPointsResult, addRandomPointsParameters, addRandomPointsResult, addEventHandlerEntryPointsParameters, addEventHandlerEntryPointsResult, addExceptionPointsParameters, addExceptionPointsResult, runAnalysisParameters, runAnalysisResult, releaseAnalysisParameters, releaseAnalysisResult, findAnalysisPointsParameters, findAnalysisPointsResult } from "./Analysis";

/**
* Paint the state of the DOM at this pause, even if no equivalent paint
* occurred when originally recording. In the latter case a best-effort attempt
* will be made to paint the current graphics, but the result might not be
* identical to what would have originally been drawn while recording.
*/
"DOM.repaintGraphics": {
parameters: repaintGraphicsParameters;
result: repaintGraphicsResult;
sessionId: true;
pauseId: true;
binary: false;
};
/**
* Get the styles computed for a node.

@@ -755,0 +768,0 @@ */

{
"name": "@recordreplay/protocol",
"version": "0.7.0",
"version": "0.8.0",
"description": "Definition of the protocol used by the Record Replay web service",

@@ -5,0 +5,0 @@ "author": "",