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

@qawolf/ci-sdk

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qawolf/ci-sdk - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# v0.10.3
_No visible changes_
# v0.10.2

@@ -2,0 +6,0 @@

6

dist/cjs/lib/sdk/domain/attempt-deploy.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.attemptDeploy = void 0;
exports.attemptNotifyDeploy = void 0;
const deploy_js_1 = require("../../api/deploy.js");
const utils_js_1 = require("../../utils.js");
async function attemptDeploy(deps, apiConfig, config) {
async function attemptNotifyDeploy(deps, apiConfig, config) {
const { job, log } = deps;

@@ -37,2 +37,2 @@ const responseState = await (0, deploy_js_1.postDeploySuccess)(apiConfig, config, deps);

}
exports.attemptDeploy = attemptDeploy;
exports.attemptNotifyDeploy = attemptNotifyDeploy;

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

return {
attemptDeploy: attempt_deploy_js_1.attemptDeploy.bind(null, deps, apiConfig),
attemptNotifyDeploy: attempt_deploy_js_1.attemptNotifyDeploy.bind(null, deps, apiConfig),
pollCiGreenlightStatus: poll_ci_greenlight_js_1.pollCiGreenlightStatus.bind(null, deps, apiConfig),

@@ -15,0 +15,0 @@ };

import { postDeploySuccess } from "../../api/deploy.js";
import { assertType } from "../../utils.js";
export async function attemptDeploy(deps, apiConfig, config) {
export async function attemptNotifyDeploy(deps, apiConfig, config) {
const { job, log } = deps;

@@ -5,0 +5,0 @@ const responseState = await postDeploySuccess(apiConfig, config, deps);

@@ -1,2 +0,2 @@

import { attemptDeploy } from "./domain/attempt-deploy.js";
import { attemptNotifyDeploy } from "./domain/attempt-deploy.js";
import { defaultJobDriver } from "./job/default.js";

@@ -9,5 +9,5 @@ import { defaultLogDriver } from "./log/default.js";

return {
attemptDeploy: attemptDeploy.bind(null, deps, apiConfig),
attemptNotifyDeploy: attemptNotifyDeploy.bind(null, deps, apiConfig),
pollCiGreenlightStatus: pollCiGreenlightStatus.bind(null, deps, apiConfig),
};
}
import { DeployConfig } from "../../api/deploy.js";
import { SdkDependencies } from "../dependencies.js";
import { ApiConfig } from "../../api-types.js";
export declare function attemptDeploy(deps: SdkDependencies, apiConfig: ApiConfig, config: Partial<DeployConfig>): Promise<string>;
export declare function attemptNotifyDeploy(deps: SdkDependencies, apiConfig: ApiConfig, config: Partial<DeployConfig>): Promise<string>;

@@ -6,4 +6,4 @@ import { SdkDependencies } from "./dependencies.js";

}, { job, log, fetch, }?: Partial<SdkDependencies>): {
attemptDeploy: (config: Partial<import("../api/deploy.js").DeployConfig>) => Promise<string>;
attemptNotifyDeploy: (config: Partial<import("../api/deploy.js").DeployConfig>) => Promise<string>;
pollCiGreenlightStatus: (args_0: import("./domain/poll-ci-greenlight.js").PollCiGreenlightParams) => Promise<undefined>;
};
{
"name": "@qawolf/ci-sdk",
"version": "0.10.2",
"version": "0.10.3",
"description": "A simple SDK for interacting with QAWolf in CI scripts.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -29,3 +29,3 @@ # QAWolf CI SDK

const { attemptDeploy } = makeQaWolfSdk({
const { attemptNotifyDeploy } = makeQaWolfSdk({
apiKey: "qawolf_xxxxx",

@@ -35,3 +35,3 @@ });

(async () => {
const runId = await attemptDeploy(deployConfig);
const runId = await attemptNotifyDeploy(deployConfig);
// Store the runId as an output of the job to be used in a CI-greenlight job.

@@ -38,0 +38,0 @@ // This will depend on the CI platform you are using.

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