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

@alwaysmeticulous/client

Package Overview
Dependencies
Maintainers
5
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.56.0 to 2.58.0

3

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

@@ -14,3 +14,4 @@ import { Project, TestCaseResult, TestRunStatus } from "@alwaysmeticulous/api";

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

@@ -5,6 +5,15 @@ "use strict";

const axios_1 = require("axios");
const getLatestTestRunResults = async ({ client, commitSha, }) => {
const getLatestTestRunResults = async ({ client, commitSha, logicalEnvironmentVersion, }) => {
var _a;
const { data } = await client
.get(`test-runs/cache?commitSha=${encodeURIComponent(commitSha)}`)
.get("test-runs/cache", {
params: {
commitSha: encodeURIComponent(commitSha),
...(logicalEnvironmentVersion
? {
logicalEnvironmentVersion: encodeURIComponent(logicalEnvironmentVersion),
}
: {}),
},
})
.catch((error) => {

@@ -11,0 +20,0 @@ var _a;

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

@@ -44,3 +44,3 @@ "license": "ISC",

},
"gitHead": "78222a2650425ced6537f3077ad47199a1fa45c3"
"gitHead": "326644a7d96790615fe2b61035c80220f95ef6fc"
}
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