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.18.0 to 0.19.0

6

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, getPossibleBreakpointsParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters } from "../../protocol/Debugger";
import { newSource, searchSourceContentsMatches, functionsMatches, findSourcesParameters, getSourceContentsParameters, getSourceMapParameters, getPossibleBreakpointsParameters, searchSourceContentsParameters, getMappedLocationParameters, setBreakpointParameters, removeBreakpointParameters, findResumeTargetParameters, findRewindTargetParameters, findReverseStepOverTargetParameters, findStepOverTargetParameters, findStepInTargetParameters, findStepOutTargetParameters, blackboxSourceParameters, unblackboxSourceParameters, searchFunctionsParameters } from "../../protocol/Debugger";
import { newMessage, findMessagesParameters } from "../../protocol/Console";

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

/**
* Get the sourcemap of a source.
*/
getSourceMap: (parameters: getSourceMapParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Debugger").getSourceMapResult>;
/**
* Get a compact representation of the locations where breakpoints can be set

@@ -303,0 +307,0 @@ * in a region of a source.

@@ -377,2 +377,8 @@ "use strict";

/**
* Get the sourcemap of a source.
*/
getSourceMap: function (parameters, sessionId, pauseId) {
return _this.genericClient.sendCommand("Debugger.getSourceMap", parameters, sessionId, pauseId);
},
/**
* Get a compact representation of the locations where breakpoints can be set

@@ -379,0 +385,0 @@ * in a region of a source.

2

js/client/generic.js
"use strict";
/* Copyright 2021 Record Replay Inc. */
/* Copyright 2022 Record Replay Inc. */
Object.defineProperty(exports, "__esModule", { value: true });
"use strict";
/* Copyright 2021 Record Replay Inc. */
/* Copyright 2022 Record Replay Inc. */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -4,0 +4,0 @@ if (k2 === undefined) k2 = k;

"use strict";
/* Copyright 2021 Record Replay Inc. */
/* Copyright 2022 Record Replay Inc. */
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -4,0 +4,0 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

"use strict";
/* Copyright 2021 Record Replay Inc. */
/* Copyright 2022 Record Replay Inc. */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

@@ -4,0 +4,0 @@ if (k2 === undefined) k2 = k;

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

}
export interface getSourceMapParameters {
/**
* Source to fetch the sourcemap for.
*/
sourceId: SourceId;
}
export interface getSourceMapResult {
/**
* The sourcemap of the source (if there is one).
*/
contents?: string;
}
export interface getPossibleBreakpointsParameters {

@@ -146,0 +158,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, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, 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, getPossibleBreakpointsParameters, getPossibleBreakpointsResult, 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 } from "./Console";

@@ -531,2 +531,12 @@ 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 sourcemap of a source.
*/
"Debugger.getSourceMap": {
parameters: getSourceMapParameters;
result: getSourceMapResult;
sessionId: true;
pauseId: false;
binary: false;
};
/**
* Get a compact representation of the locations where breakpoints can be set

@@ -533,0 +543,0 @@ * in a region of a source.

{
"name": "@recordreplay/protocol",
"version": "0.18.0",
"version": "0.19.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