Socket
Socket
Sign inDemoInstall

odl-graphql-client

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

odl-graphql-client - npm Package Compare versions

Comparing version 1.0.0-rc.11 to 1.0.0-rc.12

14

graphqlEntityFetcher.ts

@@ -66,2 +66,16 @@ import ODLGraphqlClient from "./odlGraphQLClient";

this.graphqlClient.deleteAsync(this.entityName, id);
executeCustomMutationAsync = (
mutationName: string,
payload: any,
variable: any,
selectFields?: string[]
) =>
this.graphqlClient.executeCustomMutationAsync(
this.entityName,
mutationName,
payload,
variable,
selectFields
);
}

30

odlGraphQLClient.ts

@@ -66,3 +66,3 @@ import { GraphQLClient } from "graphql-request";

query: string,
operation: MutationOperation,
operation: MutationOperation | string,
payloadModel: any,

@@ -76,3 +76,5 @@ defaultvalue: any,

);
const operationName = this.mutationBuilder.getOperationName(operation);
const operationName =
this.mutationBuilder.getOperationName(operation as MutationOperation) ||
(operation as string);

@@ -217,2 +219,26 @@ return this.graphQLClient

};
executeCustomMutationAsync = (
entityName: string,
mutationName: string,
payload: any,
variable: any,
selectFields?: string[]
) => {
const mutation = this.mutationBuilder.buildCustomMutationOperation(
entityName,
mutationName,
payload,
variable,
selectFields
);
return this._executeMutationAsync(
entityName,
mutation,
mutationName,
payload,
{}
);
};
}

2

package.json

@@ -7,3 +7,3 @@ {

},
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"dependencies": {

@@ -10,0 +10,0 @@ "graphql-request": "^1.8.2",

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