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

@qawolf/ci-sdk

Package Overview
Dependencies
Maintainers
4
Versions
24
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.15.2 to 0.15.3

2

dist/cjs/lib/sdk/domain/previewTesting/createEnvironmentVariables.js

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

mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String) {
upsertEnvironmentVariable(environment_id: $environmentId, value: $value, name: $name) {
upsertEnvironmentVariable(environmentId: $environmentId, value: $value, name: $name) {
id

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

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

mutation createEnvironment($name: String!, $teamId: String!) {
createEnvironment(name: $name, team_id: $teamId) {
createEnvironment(name: $name, teamId: $teamId) {
id

@@ -88,2 +88,3 @@ branchId

},
method: "post",
});

@@ -90,0 +91,0 @@ const multiBranchResponseJson = (await multiBranchResponse.json());

@@ -10,6 +10,2 @@ "use strict";

body: JSON.stringify({
headers: {
Authorization: `Bearer ${apiConfig.apiKey}`,
"Content-Type": "application/json",
},
query: `query getTriggersForBranch($where: TriggerWhereInput) {

@@ -33,2 +29,7 @@ triggers(where: $where) {

}),
headers: {
Authorization: `Bearer ${apiConfig.apiKey}`,
"Content-Type": "application/json",
},
method: "post",
});

@@ -35,0 +36,0 @@ const retrievalResponseJson = (await retrievalResponse.json());

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

query EnvironmentVariables($where: EnvironmentWhereUniqueInput!) {
environment(where: $where)
environment(where: $where) {
id

@@ -13,0 +13,0 @@ variablesJSON

@@ -9,3 +9,3 @@ import { qawolfGraphQLEndpoint } from "./constants";

mutation UpsertEnvironmentVariable($environmentId: ID!, $value: String!, $name: String) {
upsertEnvironmentVariable(environment_id: $environmentId, value: $value, name: $name) {
upsertEnvironmentVariable(environmentId: $environmentId, value: $value, name: $name) {
id

@@ -12,0 +12,0 @@ }

@@ -42,3 +42,3 @@ import { qawolfGraphQLEndpoint } from "./constants";

mutation createEnvironment($name: String!, $teamId: String!) {
createEnvironment(name: $name, team_id: $teamId) {
createEnvironment(name: $name, teamId: $teamId) {
id

@@ -85,2 +85,3 @@ branchId

},
method: "post",
});

@@ -87,0 +88,0 @@ const multiBranchResponseJson = (await multiBranchResponse.json());

@@ -7,6 +7,2 @@ import { previewDeploymentType, qawolfGraphQLEndpoint } from "./constants";

body: JSON.stringify({
headers: {
Authorization: `Bearer ${apiConfig.apiKey}`,
"Content-Type": "application/json",
},
query: `query getTriggersForBranch($where: TriggerWhereInput) {

@@ -30,2 +26,7 @@ triggers(where: $where) {

}),
headers: {
Authorization: `Bearer ${apiConfig.apiKey}`,
"Content-Type": "application/json",
},
method: "post",
});

@@ -32,0 +33,0 @@ const retrievalResponseJson = (await retrievalResponse.json());

@@ -7,3 +7,3 @@ import { qawolfGraphQLEndpoint } from "./constants";

query EnvironmentVariables($where: EnvironmentWhereUniqueInput!) {
environment(where: $where)
environment(where: $where) {
id

@@ -10,0 +10,0 @@ variablesJSON

{
"name": "@qawolf/ci-sdk",
"version": "0.15.2",
"version": "0.15.3",
"description": "A simple SDK for interacting with QAWolf in CI scripts.",

@@ -37,3 +37,6 @@ "type": "commonjs",

"typescript": "^5.4.3"
},
"dependencies": {
"tslib": "^2.6.2"
}
}

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

} = {};
const result = await sdk.experimental_testPreview(detail);
const result = await sdk.experimental_testPreview(details);
if (result.outcome !== "success") {

@@ -106,0 +106,0 @@ console.error(result);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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