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

@alwaysmeticulous/client

Package Overview
Dependencies
Maintainers
4
Versions
109
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.42.0 to 2.44.0

11

dist/api/test-run.api.d.ts

@@ -1,3 +0,11 @@

import { TestRun } from "@alwaysmeticulous/api";
import { Project, TestCaseResult, TestRunStatus } from "@alwaysmeticulous/api";
import { AxiosInstance } from "axios";
export interface TestRun {
id: string;
status: TestRunStatus;
project: Project;
resultData?: {
results: TestCaseResult[];
};
}
export interface GetLatestTestRunOptions {

@@ -8,2 +16,1 @@ client: AxiosInstance;

export declare const getLatestTestRunResults: ({ client, commitSha, }: GetLatestTestRunOptions) => Promise<TestRun | null>;
export declare const getLatestTestRunId: (opts: GetLatestTestRunOptions) => Promise<string | null>;

7

dist/api/test-run.api.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLatestTestRunId = exports.getLatestTestRunResults = void 0;
exports.getLatestTestRunResults = void 0;
const axios_1 = require("axios");

@@ -19,6 +19,1 @@ const getLatestTestRunResults = async ({ client, commitSha, }) => {

exports.getLatestTestRunResults = getLatestTestRunResults;
const getLatestTestRunId = async (opts) => {
var _a, _b;
return (_b = (_a = (await (0, exports.getLatestTestRunResults)(opts))) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null;
};
exports.getLatestTestRunId = getLatestTestRunId;
export { getProject } from "./api/project.api";
export { getRecordedSession, getRecordedSessionData, getRecordingCommandId, postSessionIdNotification, } from "./api/session.api";
export { getLatestTestRunId, getLatestTestRunResults, GetLatestTestRunOptions, } from "./api/test-run.api";
export { getLatestTestRunResults, GetLatestTestRunOptions, } from "./api/test-run.api";
export { getReplay, getReplayDownloadUrl } from "./api/replay.api";
export { createClient, ClientOptions } from "./client";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createClient = exports.getReplayDownloadUrl = exports.getReplay = exports.getLatestTestRunResults = exports.getLatestTestRunId = exports.postSessionIdNotification = exports.getRecordingCommandId = exports.getRecordedSessionData = exports.getRecordedSession = exports.getProject = void 0;
exports.createClient = exports.getReplayDownloadUrl = exports.getReplay = exports.getLatestTestRunResults = exports.postSessionIdNotification = exports.getRecordingCommandId = exports.getRecordedSessionData = exports.getRecordedSession = exports.getProject = void 0;
var project_api_1 = require("./api/project.api");

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

var test_run_api_1 = require("./api/test-run.api");
Object.defineProperty(exports, "getLatestTestRunId", { enumerable: true, get: function () { return test_run_api_1.getLatestTestRunId; } });
Object.defineProperty(exports, "getLatestTestRunResults", { enumerable: true, get: function () { return test_run_api_1.getLatestTestRunResults; } });

@@ -15,0 +14,0 @@ var replay_api_1 = require("./api/replay.api");

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

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

"dependencies": {
"@alwaysmeticulous/api": "^2.42.0",
"@alwaysmeticulous/common": "^2.42.0",
"@alwaysmeticulous/api": "^2.44.0",
"@alwaysmeticulous/common": "^2.44.0",
"axios": "^1.2.6",

@@ -45,3 +45,3 @@ "loglevel": "^1.8.0"

},
"gitHead": "65e2410a784642674ea6c8203d5b9f8a303c33ea"
"gitHead": "3895b3036d7c97609f83e8b41593995eba5062ba"
}
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