New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@recordreplay/protocol

Package Overview
Dependencies
Maintainers
5
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.2.1 to 0.2.2

js/protocol/Authentication.d.ts

10

js/client/build/client.d.ts
import { metadataChange, uploadedData, sessionError, getDescriptionParameters, getMetadataParameters, setMetadataParameters, metadataStartListeningParameters, metadataStopListeningParameters, createSessionParameters, releaseSessionParameters, processRecordingParameters } from "../../protocol/Recording";
import { setAccessTokenParameters } from "../../protocol/Authentication";
import { missingRegions, unprocessedRegions, mouseEvents, ensureProcessedParameters, findMouseEventsParameters, getEndpointParameters, createPauseParameters, releasePauseParameters } from "../../protocol/Session";

@@ -78,2 +79,11 @@ import { paintPoints, findPaintsParameters, getPaintContentsParameters, getDevicePixelRatioParameters } from "../../protocol/Graphics";

/**
* The Authentication domain defines a command for authenticating the current user.
*/
Authentication: {
/**
* Set the user's current access token
*/
setAccessToken: (parameters: setAccessTokenParameters, sessionId?: string | undefined, pauseId?: string | undefined) => Promise<import("../../protocol/Authentication").setAccessTokenResult>;
};
/**
* The Session domain defines methods for using recording sessions. In order to

@@ -80,0 +90,0 @@ * inspect a recording, it must first be loaded into a session via

@@ -98,2 +98,13 @@ "use strict";

/**
* The Authentication domain defines a command for authenticating the current user.
*/
this.Authentication = {
/**
* Set the user's current access token
*/
setAccessToken: function (parameters, sessionId, pauseId) {
return _this.genericClient.sendCommand("Authentication.setAccessToken", parameters, sessionId, pauseId);
},
};
/**
* The Session domain defines methods for using recording sessions. In order to

@@ -100,0 +111,0 @@ * inspect a recording, it must first be loaded into a session via

import { metadataChange, uploadedData, sessionError, getDescriptionParameters, getDescriptionResult, getMetadataParameters, getMetadataResult, setMetadataParameters, setMetadataResult, metadataStartListeningParameters, metadataStartListeningResult, metadataStopListeningParameters, metadataStopListeningResult, createSessionParameters, createSessionResult, releaseSessionParameters, releaseSessionResult, processRecordingParameters, processRecordingResult } from "../../protocol/Recording";
import { setAccessTokenParameters, setAccessTokenResult } from "../../protocol/Authentication";
import { missingRegions, unprocessedRegions, mouseEvents, ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, getEndpointParameters, getEndpointResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, SessionId } from "../../protocol/Session";

@@ -107,2 +108,6 @@ import { paintPoints, findPaintsParameters, findPaintsResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "../../protocol/Graphics";

/**
* Set the user's current access token
*/
sendCommand(command: "Authentication.setAccessToken", parameters: setAccessTokenParameters, sessionId?: SessionId, pauseId?: PauseId): Promise<setAccessTokenResult>;
/**
* Does not return until the recording is fully processed. Before returning,

@@ -109,0 +114,0 @@ * <code>missingRegions</code> and <code>unprocessedRegions</code> events will

1

js/protocol/index.d.ts
export * from "./Recording";
export * from "./Authentication";
export * from "./Session";

@@ -3,0 +4,0 @@ export * from "./Graphics";

@@ -14,2 +14,3 @@ "use strict";

__exportStar(require("./Recording"), exports);
__exportStar(require("./Authentication"), exports);
__exportStar(require("./Session"), exports);

@@ -16,0 +17,0 @@ __exportStar(require("./Graphics"), exports);

import { getDescriptionParameters, getDescriptionResult, getMetadataParameters, getMetadataResult, setMetadataParameters, setMetadataResult, metadataStartListeningParameters, metadataStartListeningResult, metadataStopListeningParameters, metadataStopListeningResult, createSessionParameters, createSessionResult, releaseSessionParameters, releaseSessionResult, processRecordingParameters, processRecordingResult } from "../../protocol/Recording";
import { setAccessTokenParameters, setAccessTokenResult } from "../../protocol/Authentication";
import { ensureProcessedParameters, ensureProcessedResult, findMouseEventsParameters, findMouseEventsResult, getEndpointParameters, getEndpointResult, createPauseParameters, createPauseResult, releasePauseParameters, releasePauseResult, SessionId } from "../../protocol/Session";

@@ -55,2 +56,6 @@ import { findPaintsParameters, findPaintsResult, getPaintContentsParameters, getPaintContentsResult, getDevicePixelRatioParameters, getDevicePixelRatioResult } from "../../protocol/Graphics";

/**
* Set the user's current access token
*/
"Authentication.setAccessToken": (handler: T, parameters: setAccessTokenParameters, sessionId?: SessionId, pauseId?: PauseId) => Promise<setAccessTokenResult | null> | setAccessTokenResult | null;
/**
* Does not return until the recording is fully processed. Before returning,

@@ -446,2 +451,6 @@ * <code>missingRegions</code> and <code>unprocessedRegions</code> events will

/**
* Set the user's current access token
*/
(message: "Authentication.setAccessToken", messageHandler: (handler: T, parameters: setAccessTokenParameters) => Promise<setAccessTokenResult | null> | setAccessTokenResult | null): void;
/**
* Does not return until the recording is fully processed. Before returning,

@@ -448,0 +457,0 @@ * <code>missingRegions</code> and <code>unprocessedRegions</code> events will

2

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