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.8 to 1.0.0-rc.9

graphqlFetcher.ts

11

factory.ts
import ODLGraphqlClient from "./odlGraphqlClient";
import EntityFetcher from "./entityFetcher";

@@ -13,13 +12,7 @@ class ClientFactory {

createEntityFetcher(
entityName: string,
defaultSelectFields: string[],
headers?: any
) {
const graphqlClient = new ODLGraphqlClient(this.endpoint, {
createOdlGraphQLClient(headers?: any) {
return new ODLGraphqlClient(this.endpoint, {
authenticationToken: this.authenticationToken,
headers,
});
return new EntityFetcher(entityName, defaultSelectFields, graphqlClient);
}

@@ -26,0 +19,0 @@ }

import ODLGraphqlClientFactory from "./factory";
import ODLGraphqlClient from "./odlGraphqlClient";
import EntityFetcher from "./entityFetcher";
import EntityFetcher from "./graphqlFetcher";
export { ODLGraphqlClientFactory, ODLGraphqlClient, EntityFetcher };

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

},
"version": "1.0.0-rc.8",
"version": "1.0.0-rc.9",
"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