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

@hypermode/hyp-cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hypermode/hyp-cli - npm Package Compare versions

Comparing version

to
0.1.14

@@ -55,4 +55,4 @@ /*

const query = `
mutation CreateProjectBranchBackend {
createProjectBranchBackend(input: {orgId: "${orgId}", clusterId: "clu-018f07d5-2446-7dbe-a766-dfab00c726de", name: "${projectName}", slug: "${slug}", repoId: "${repoId}", repoName: "${repoName}", sourceType: CUSTOM, defaultBranchName: "main"}
mutation CreateProjectBranchRuntime {
createProjectBranchRuntime(input: {orgId: "${orgId}", clusterId: "clu-018f07d5-2446-7dbe-a766-dfab00c726de", name: "${projectName}", slug: "${slug}", repoId: "${repoId}", repoName: "${repoName}", sourceType: CUSTOM, defaultBranchName: "main"}
) {

@@ -64,4 +64,4 @@ id

}`;
const data = await sendGraphQLReqToHypermode(jwt, query);
const project = data.data.createProjectBranchBackend;
const res = await sendGraphQLReqToHypermode(jwt, query);
const project = res.data.createProjectBranchRuntime;
return project;

@@ -102,8 +102,8 @@ }

}`;
const data = await sendGraphQLReqToHypermode(jwt, query);
if (!data.data.getUserRepoIdByUrl) {
const res = await sendGraphQLReqToHypermode(jwt, query);
if (!res.data.getUserRepoIdByUrl) {
throw new Error("No repoId found for the given installationId and gitUrl");
}
return data.data.getUserRepoIdByUrl;
return res.data.getUserRepoIdByUrl;
}
//# sourceMappingURL=graphql.js.map

@@ -100,3 +100,3 @@ {

},
"version": "0.1.13"
"version": "0.1.14"
}
{
"name": "@hypermode/hyp-cli",
"description": "The Hypermode CLI",
"version": "0.1.13",
"version": "0.1.14",
"author": "Hypermode Inc.",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet