Skip to content

Commit

Permalink
Staging -> Prod [ Return NPM Result ] (#22)
Browse files Browse the repository at this point in the history
* Return NPM Output

* Update package.json
  • Loading branch information
TosinJs authored Mar 23, 2024
1 parent 8fe7700 commit f437a8b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gandalf-network/eyeofsauron",
"version": "1.0.5",
"version": "1.0.6",
"description": "",
"main": "dist/index.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/install-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function installDependencies(packageManager: PackageManager, genera

const { stdout, stderr } = await exec(installCmd);
if (stderr !== "") {
return {success: false, message: stderr}
return {success: true, message: stderr}
}
return {success: true, message: stdout}
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/plugins/custom-plugin/visitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class GraphQLRequestVisitor extends ClientSideBaseVisitor<

if (this.config.rawRequest) {
if (this.config.documentMode !== DocumentMode.string) {
this._additionalImports.push(`import { GraphQLError, print } from 'graphql'`);
this._additionalImports.push(`import { print } from 'graphql'`);
} else {
this._additionalImports.push(`import { GraphQLError } from 'graphql'`);
}
Expand Down Expand Up @@ -195,7 +195,7 @@ ${extraVariables.join('\n')}
const ec = new EC('secp256k1');
export default class Eye {
private client: GraphQLClient = new GQLClient('${WATSON_URL}');
private withWrapper: SdkFunctionWrapper = (action, _operationName, _operationType, _variables) => action();
private withWrapper: SdkFunctionWrapper = (action) => action();
privateKey: string;
constructor(input: EyeInput) {
Expand Down

0 comments on commit f437a8b

Please sign in to comment.