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

@recordreplay/protocol

Package Overview
Dependencies
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recordreplay/protocol - npm Package Compare versions

Comparing version 0.26.0 to 0.27.0

7

js/client/build/client.d.ts

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

import { paintPoints, playbackVideoFragment, findPaintsParameters, getPlaybackVideoParameters, getPaintContentsParameters, getDevicePixelRatioParameters } from "../../protocol/Graphics";
import { newSource, searchSourceContentsMatches, functionsMatches, findSourcesParameters, getSourceContentsParameters, getSourceMapParameters, getPossibleBreakpointsParameters, getHitCountsParameters, getEventHandlerCountParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters } from "../../protocol/Debugger";
import { newSource, searchSourceContentsMatches, functionsMatches, findSourcesParameters, getSourceContentsParameters, getSourceMapParameters, getScopeMapParameters, getPossibleBreakpointsParameters, getHitCountsParameters, getEventHandlerCountParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters } from "../../protocol/Debugger";
import { newMessage, findMessagesParameters, findMessagesInRangeParameters } from "../../protocol/Console";

@@ -326,2 +326,7 @@ import { evaluateInFrameParameters, evaluateInGlobalParameters, getObjectPropertyParameters, callFunctionParameters, callObjectPropertyParameters, getObjectPreviewParameters, getScopeParameters, getTopFrameParameters, getAllFramesParameters, getFrameArgumentsParameters, getFrameStepsParameters, getExceptionValueParameters } from "../../protocol/Pause";

/**
* Get the mapping of generated to original variable names for the given
* location (which must be in a generated source).
*/
getScopeMap: (parameters: getScopeMapParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Debugger").getScopeMapResult>;
/**
* Get a compact representation of the locations where breakpoints can be set

@@ -328,0 +333,0 @@ * in a region of a source.

@@ -410,2 +410,9 @@ "use strict";

/**
* Get the mapping of generated to original variable names for the given
* location (which must be in a generated source).
*/
getScopeMap: function (parameters, sessionId, pauseId) {
return _this.genericClient.sendCommand("Debugger.getScopeMap", parameters, sessionId, pauseId);
},
/**
* Get a compact representation of the locations where breakpoints can be set

@@ -412,0 +419,0 @@ * in a region of a source.

@@ -30,2 +30,6 @@ import { TimeStampedPoint, PointRange, ExecutionPoint } from "./Recording";

/**
* A variable mapping containing a generated and an original variable name.
*/
export declare type VariableMapping = string[];
/**
* Possible content types for sources.

@@ -181,2 +185,14 @@ */

}
export interface getScopeMapParameters {
/**
* Location in a generated source to fetch the scopemap for.
*/
location: Location;
}
export interface getScopeMapResult {
/**
* The mapping of generated to original variable names.
*/
map?: VariableMapping[];
}
export interface getPossibleBreakpointsParameters {

@@ -183,0 +199,0 @@ /**

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

import { paintPoints, playbackVideoFragment, findPaintsParameters, findPaintsResult, getPlaybackVideoParameters, getPlaybackVideoResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "./Graphics";
import { newSource, searchSourceContentsMatches, functionsMatches, findSourcesParameters, findSourcesResult, getSourceContentsParameters, getSourceContentsResult, getSourceMapParameters, getSourceMapResult, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, getHitCountsParameters, getHitCountsResult, getEventHandlerCountParameters, getEventHandlerCountResult, 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";
import { newSource, searchSourceContentsMatches, functionsMatches, findSourcesParameters, findSourcesResult, getSourceContentsParameters, getSourceContentsResult, getSourceMapParameters, getSourceMapResult, getScopeMapParameters, getScopeMapResult, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, getHitCountsParameters, getHitCountsResult, getEventHandlerCountParameters, getEventHandlerCountResult, 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";
import { newMessage, findMessagesParameters, findMessagesResult, findMessagesInRangeParameters, findMessagesInRangeResult } from "./Console";

@@ -576,2 +576,13 @@ 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";

/**
* Get the mapping of generated to original variable names for the given
* location (which must be in a generated source).
*/
"Debugger.getScopeMap": {
parameters: getScopeMapParameters;
result: getScopeMapResult;
sessionId: true;
pauseId: false;
binary: false;
};
/**
* Get a compact representation of the locations where breakpoints can be set

@@ -578,0 +589,0 @@ * in a region of a source.

@@ -91,2 +91,7 @@ import { MappedLocation, PersistentObjectId, PointDescription } from "./Debugger";

/**
* For call frames, the original name of the function being called.
* Omitted if the function has no name.
*/
originalFunctionName?: string;
/**
* For call frames, the location of the function being called.

@@ -93,0 +98,0 @@ */

2

package.json
{
"name": "@recordreplay/protocol",
"version": "0.26.0",
"version": "0.27.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc