Socket
Socket
Sign inDemoInstall

@alwaysmeticulous/client

Package Overview
Dependencies
Maintainers
5
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwaysmeticulous/client - npm Package Compare versions

Comparing version 2.77.0 to 2.78.0

11

dist/api/replay.api.d.ts

@@ -9,1 +9,12 @@ import { Replay } from "@alwaysmeticulous/api";

export declare const getReplayDownloadUrl: (client: AxiosInstance, replayId: string) => Promise<ReplayDownloadUrlOutput | null>;
export interface S3UploadLocation {
filePath: string;
signedUrl: string;
}
export type ReplayV3UploadLocations = Record<string, S3UploadLocation> & {
screenshots: Record<string, {
image: S3UploadLocation;
metadata: S3UploadLocation;
}>;
};
export declare const getReplayV3DownloadUrls: (client: AxiosInstance, replayId: string) => Promise<ReplayV3UploadLocations | null>;

17

dist/api/replay.api.js

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getReplayDownloadUrl = exports.getReplay = void 0;
exports.getReplayV3DownloadUrls = exports.getReplayDownloadUrl = exports.getReplay = void 0;
const axios_1 = __importDefault(require("axios"));

@@ -37,2 +37,17 @@ const getReplay = async (client, replayId) => {

exports.getReplayDownloadUrl = getReplayDownloadUrl;
const getReplayV3DownloadUrls = async (client, replayId) => {
const { data } = await client
.get(`replays/${replayId}/download-urls`)
.catch((error) => {
var _a;
if (axios_1.default.isAxiosError(error)) {
if (((_a = error.response) === null || _a === void 0 ? void 0 : _a.status) === 404) {
return { data: null };
}
}
throw error;
});
return data;
};
exports.getReplayV3DownloadUrls = getReplayV3DownloadUrls;
//# sourceMappingURL=replay.api.js.map

2

dist/index.d.ts
export { getProject } from "./api/project.api";
export { getReplay, getReplayDownloadUrl } from "./api/replay.api";
export { getReplay, getReplayDownloadUrl, getReplayV3DownloadUrls, } from "./api/replay.api";
export { getRecordedSession, getRecordedSessionData, getRecordingCommandId, postSessionIdNotification, } from "./api/session.api";
export { GetLatestTestRunOptions, getLatestTestRunResults, } from "./api/test-run.api";
export { ClientOptions, createClient } from "./client";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createClient = exports.getLatestTestRunResults = exports.postSessionIdNotification = exports.getRecordingCommandId = exports.getRecordedSessionData = exports.getRecordedSession = exports.getReplayDownloadUrl = exports.getReplay = exports.getProject = void 0;
exports.createClient = exports.getLatestTestRunResults = exports.postSessionIdNotification = exports.getRecordingCommandId = exports.getRecordedSessionData = exports.getRecordedSession = exports.getReplayV3DownloadUrls = exports.getReplayDownloadUrl = exports.getReplay = exports.getProject = void 0;
var project_api_1 = require("./api/project.api");

@@ -9,2 +9,3 @@ Object.defineProperty(exports, "getProject", { enumerable: true, get: function () { return project_api_1.getProject; } });

Object.defineProperty(exports, "getReplayDownloadUrl", { enumerable: true, get: function () { return replay_api_1.getReplayDownloadUrl; } });
Object.defineProperty(exports, "getReplayV3DownloadUrls", { enumerable: true, get: function () { return replay_api_1.getReplayV3DownloadUrls; } });
var session_api_1 = require("./api/session.api");

@@ -11,0 +12,0 @@ Object.defineProperty(exports, "getRecordedSession", { enumerable: true, get: function () { return session_api_1.getRecordedSession; } });

{
"name": "@alwaysmeticulous/client",
"version": "2.77.0",
"version": "2.78.0",
"description": "Helper methods for using the Meticulous backend API",

@@ -22,4 +22,4 @@ "license": "ISC",

"dependencies": {
"@alwaysmeticulous/api": "^2.77.0",
"@alwaysmeticulous/common": "^2.77.0",
"@alwaysmeticulous/api": "^2.78.0",
"@alwaysmeticulous/common": "^2.78.0",
"axios": "^1.2.6",

@@ -46,3 +46,3 @@ "axios-retry": "^3.5.0",

},
"gitHead": "0e434accc42eceb323078977344cb6298dfb5b4e"
"gitHead": "586f71337fc4cc82f56753970cf0259c54c71c8b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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