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

@recordreplay/protocol

Package Overview
Dependencies
Maintainers
6
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.10.4 to 0.11.4

8

js/client/build/client.d.ts

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

import { analysisResult, analysisError, analysisPoints, createAnalysisParameters, addLocationParameters, addFunctionEntryPointsParameters, addRandomPointsParameters, addEventHandlerEntryPointsParameters, addExceptionPointsParameters, addPointsParameters, runAnalysisParameters, releaseAnalysisParameters, findAnalysisPointsParameters } from "../../protocol/Analysis";
import { convertLocationToFunctionOffsetParameters, convertFunctionOffsetToLocationParameters, getStepOffsetsParameters, getHTMLSourceParameters, getFunctionsInRangeParameters, getSourceMapURLParameters, getSheetSourceMapURLParameters, getCurrentMessageContentsParameters, countStackFramesParameters, getStackFunctionIDsParameters, currentGeneratorIdParameters, topFrameLocationParameters } from "../../protocol/Target";
import { convertLocationToFunctionOffsetParameters, convertFunctionOffsetToLocationParameters, convertFunctionOffsetsToLocationsParameters, getStepOffsetsParameters, getHTMLSourceParameters, getFunctionsInRangeParameters, getSourceMapURLParameters, getSheetSourceMapURLParameters, getCurrentMessageContentsParameters, countStackFramesParameters, getStackFunctionIDsParameters, currentGeneratorIdParameters, topFrameLocationParameters } from "../../protocol/Target";
import { createRecordingParameters, setRecordingMetadataParameters, addRecordingDataParameters, addRecordingDescriptionParameters, finishRecordingParameters, beginRecordingResourceUploadParameters, endRecordingResourceUploadParameters, echoParameters, labelTestSessionParameters, reportCrashParameters } from "../../protocol/Internal";

@@ -587,2 +587,8 @@ import { GenericProtocolClient } from "../generic";

/**
* Get all the locations to use for some offsets in a function. This can be
* implemented more efficiently by some targets than when separate
* <code>convertFunctionOffsetToLocation</code> commands are used.
*/
convertFunctionOffsetsToLocations: (parameters: convertFunctionOffsetsToLocationsParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Target").convertFunctionOffsetsToLocationsResult>;
/**
* Get the offsets at which execution should pause when stepping around within

@@ -589,0 +595,0 @@ * a frame for a function.

@@ -762,2 +762,10 @@ "use strict";

/**
* Get all the locations to use for some offsets in a function. This can be
* implemented more efficiently by some targets than when separate
* <code>convertFunctionOffsetToLocation</code> commands are used.
*/
convertFunctionOffsetsToLocations: function (parameters, sessionId, pauseId) {
return _this.genericClient.sendCommand("Target.convertFunctionOffsetsToLocations", parameters, sessionId, pauseId);
},
/**
* Get the offsets at which execution should pause when stepping around within

@@ -764,0 +772,0 @@ * a frame for a function.

@@ -46,2 +46,15 @@ import { TimeStampedPoint, ExecutionPoint } from "./Recording";

/**
* A logical name for the analysis. Does not have any constraints
* aside from being a valid string. May be omitted.
*/
name?: string;
/**
* A priority for the analysis. The priority must be one of the strings
* <code>"user"</code> (indicating that the analysis was user-created),
* or <code>"app"</code> (indicating that the analysis was automatically
* created by the frontend app). The priority may be omitted, in
* which case <code>"user"</code> priority is assumed.
*/
priority?: string;
/**
* Body of the reducer function. The reducer function takes two arguments:

@@ -48,0 +61,0 @@ * <code>key</code> is an <code>AnalysisKey</code>, and <code>values</code>

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

import { analysisResult, analysisError, analysisPoints, createAnalysisParameters, createAnalysisResult, addLocationParameters, addLocationResult, addFunctionEntryPointsParameters, addFunctionEntryPointsResult, addRandomPointsParameters, addRandomPointsResult, addEventHandlerEntryPointsParameters, addEventHandlerEntryPointsResult, addExceptionPointsParameters, addExceptionPointsResult, addPointsParameters, addPointsResult, runAnalysisParameters, runAnalysisResult, releaseAnalysisParameters, releaseAnalysisResult, findAnalysisPointsParameters, findAnalysisPointsResult } from "./Analysis";
import { convertLocationToFunctionOffsetParameters, convertLocationToFunctionOffsetResult, convertFunctionOffsetToLocationParameters, convertFunctionOffsetToLocationResult, getStepOffsetsParameters, getStepOffsetsResult, getHTMLSourceParameters, getHTMLSourceResult, getFunctionsInRangeParameters, getFunctionsInRangeResult, getSourceMapURLParameters, getSourceMapURLResult, getSheetSourceMapURLParameters, getSheetSourceMapURLResult, getCurrentMessageContentsParameters, getCurrentMessageContentsResult, countStackFramesParameters, countStackFramesResult, getStackFunctionIDsParameters, getStackFunctionIDsResult, currentGeneratorIdParameters, currentGeneratorIdResult, topFrameLocationParameters, topFrameLocationResult } from "./Target";
import { convertLocationToFunctionOffsetParameters, convertLocationToFunctionOffsetResult, convertFunctionOffsetToLocationParameters, convertFunctionOffsetToLocationResult, convertFunctionOffsetsToLocationsParameters, convertFunctionOffsetsToLocationsResult, getStepOffsetsParameters, getStepOffsetsResult, getHTMLSourceParameters, getHTMLSourceResult, getFunctionsInRangeParameters, getFunctionsInRangeResult, getSourceMapURLParameters, getSourceMapURLResult, getSheetSourceMapURLParameters, getSheetSourceMapURLResult, getCurrentMessageContentsParameters, getCurrentMessageContentsResult, countStackFramesParameters, countStackFramesResult, getStackFunctionIDsParameters, getStackFunctionIDsResult, currentGeneratorIdParameters, currentGeneratorIdResult, topFrameLocationParameters, topFrameLocationResult } from "./Target";
import { createRecordingParameters, createRecordingResult, setRecordingMetadataParameters, setRecordingMetadataResult, addRecordingDataParameters, addRecordingDataResult, addRecordingDescriptionParameters, addRecordingDescriptionResult, finishRecordingParameters, finishRecordingResult, beginRecordingResourceUploadParameters, beginRecordingResourceUploadResult, endRecordingResourceUploadParameters, endRecordingResourceUploadResult, echoParameters, echoResult, labelTestSessionParameters, labelTestSessionResult, reportCrashParameters, reportCrashResult } from "./Internal";

@@ -992,2 +992,14 @@ interface Events {

/**
* Get all the locations to use for some offsets in a function. This can be
* implemented more efficiently by some targets than when separate
* <code>convertFunctionOffsetToLocation</code> commands are used.
*/
"Target.convertFunctionOffsetsToLocations": {
parameters: convertFunctionOffsetsToLocationsParameters;
result: convertFunctionOffsetsToLocationsResult;
sessionId: false;
pauseId: false;
binary: false;
};
/**
* Get the offsets at which execution should pause when stepping around within

@@ -994,0 +1006,0 @@ * a frame for a function.

@@ -13,3 +13,14 @@ import { RecordingId, BuildId, TimeStamp } from "./Recording";

lastScreenMimeType: string;
operations: OperationsData;
}
/**
* Operations that could be considered security sensitive and is
* currently targeted at times when the recording accesses existing
* information from the user's profile like cookies and local storage.
*/
export interface OperationsData {
scriptDomains: string[];
cookies?: string[];
storage?: string[];
}
export interface createRecordingParameters {

@@ -16,0 +27,0 @@ /**

@@ -18,2 +18,18 @@ import { Location, SourceId, SourceLocation } from "./Debugger";

}
export interface convertFunctionOffsetsToLocationsParameters {
/**
* Function ID shared by all the offsets.
*/
functionId: string;
/**
* Sorted array of offsets to compute the locations for.
*/
offsets: number[];
}
export interface convertFunctionOffsetsToLocationsResult {
/**
* Resulting locations, with the same length as <code>offsets</code>.
*/
locations: Location[];
}
export interface getStepOffsetsParameters {

@@ -20,0 +36,0 @@ functionId: string;

2

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