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

@replayio/protocol

Package Overview
Dependencies
Maintainers
9
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replayio/protocol - npm Package Compare versions

Comparing version 0.53.0 to 0.54.0

9

js/client/build/client.d.ts

@@ -7,3 +7,3 @@ import { mayDisconnect, willDisconnect } from "../../protocol/Connection";

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

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

/**
* Describes a subset of the sources in the recording.
*/
addNewSourcesListener: (listener: (parameters: newSources) => void) => void;
removeNewSourcesListener: (listener?: ((parameters: newSources) => void) | undefined) => void | undefined;
/**
* Specifies the number of lines in a file.

@@ -392,3 +397,3 @@ */

* Find all sources in the recording. Does not return until the recording is
* fully processed. Before returning, <code>newSource</code> events will be
* fully processed. Before returning, <code>newSources</code> events will be
* emitted for every source in the recording.

@@ -395,0 +400,0 @@ */

@@ -24,3 +24,3 @@ import { TimeStampedPoint, PointRange, ExecutionPoint } from "./Recording";

* automatically be created for other sources which appear to contain minified
* code, including HTML page sources. <code>newSource</code> events will be
* code, including HTML page sources. <code>Source</code> objects will be
* emitted for a pretty printed source before the generated source.

@@ -31,2 +31,38 @@ * <br><br>

/**
* Source file information.
*/
export interface Source extends Object {
/**
* ID for the source.
*/
sourceId: SourceId;
/**
* Kind of the source.
*/
kind: SourceKind;
/**
* A string uniquely identifying this source's content. In most cases this
* will be same as the source's <code>contentHash</code>, but in the case
* of pretty printed files this will be a combination of identifying
* features about the inputs and process of pretty printing.
*/
contentId: string;
/**
* URL of the source. Omitted for dynamically generated sources (from eval etc.).
*/
url?: string;
/**
* If this is an original source, the IDs of the sources which were generated from
* this one.
*/
generatedSourceIds?: SourceId[];
/**
* The hash of the source's content, computed using the XXHash3 algorithm.
* This is set for all sources except pretty printed ones. Note: This
* field has no advantage over <code>contentId</code>, and will eventually
* be removed.
*/
contentHash?: string;
}
/**
* A variable mapping containing a generated and an original variable name.

@@ -553,2 +589,8 @@ */

/**
* Describes a subset of the sources in the recording.
*/
export interface newSources {
sources: Source[];
}
/**
* Specifies the number of lines in a file.

@@ -555,0 +597,0 @@ */

@@ -21,3 +21,3 @@ export * from "./Connection";

import { paintPoints, findPaintsParameters, findPaintsResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "./Graphics";
import { newSource, sourceContentsInfo, sourceContentsChunk, searchSourceContentsMatches, functionsMatches, findSourcesParameters, findSourcesResult, streamSourceContentsParameters, streamSourceContentsResult, getSourceContentsParameters, getSourceContentsResult, getSourceMapParameters, getSourceMapResult, getScopeMapParameters, getScopeMapResult, mapExpressionToGeneratedScopeParameters, mapExpressionToGeneratedScopeResult, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, getHitCountsParameters, getHitCountsResult, getEventHandlerCountParameters, getEventHandlerCountResult, getEventHandlerCountsParameters, getEventHandlerCountsResult, getAllEventHandlerCountsParameters, getAllEventHandlerCountsResult, 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, getSourceOutlineParameters, getSourceOutlineResult } from "./Debugger";
import { newSource, newSources, sourceContentsInfo, sourceContentsChunk, searchSourceContentsMatches, functionsMatches, findSourcesParameters, findSourcesResult, streamSourceContentsParameters, streamSourceContentsResult, getSourceContentsParameters, getSourceContentsResult, getSourceMapParameters, getSourceMapResult, getScopeMapParameters, getScopeMapResult, mapExpressionToGeneratedScopeParameters, mapExpressionToGeneratedScopeResult, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, getHitCountsParameters, getHitCountsResult, getEventHandlerCountParameters, getEventHandlerCountResult, getEventHandlerCountsParameters, getEventHandlerCountsResult, getAllEventHandlerCountsParameters, getAllEventHandlerCountsResult, 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, getSourceOutlineParameters, getSourceOutlineResult } from "./Debugger";
import { newMessage, findMessagesParameters, findMessagesResult, findMessagesInRangeParameters, findMessagesInRangeResult } from "./Console";

@@ -198,2 +198,9 @@ 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";

/**
* Describes a subset of the sources in the recording.
*/
"Debugger.newSources": {
parameters: newSources;
sessionId: true;
};
/**
* Specifies the number of lines in a file.

@@ -614,3 +621,3 @@ */

* Find all sources in the recording. Does not return until the recording is
* fully processed. Before returning, <code>newSource</code> events will be
* fully processed. Before returning, <code>newSources</code> events will be
* emitted for every source in the recording.

@@ -617,0 +624,0 @@ */

{
"name": "@replayio/protocol",
"version": "0.53.0",
"version": "0.54.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

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