@parameter1/omeda-graphql-client
Advanced tools
Comparing version
{ | ||
"name": "@parameter1/omeda-graphql-client", | ||
"version": "0.4.0", | ||
"version": "0.4.2", | ||
"description": "A server-side Apollo GraphQL client factory for accessing the Omeda GraphQL service", | ||
@@ -33,3 +33,3 @@ "main": "src/index.js", | ||
}, | ||
"gitHead": "c0425c25602e504fd17f6a7b41745104349d7962" | ||
"gitHead": "a06889514ddf1341696b4d2a15eb694e9594f98e" | ||
} |
@@ -22,2 +22,3 @@ const fetch = require('node-fetch'); | ||
* @param {string} params.brandKey The Omeda brand key/identifier. | ||
* @param {string} [params.clientKey] The Omeda client key/identifier. | ||
* @param {string} params.appId The Omeda API App ID. | ||
@@ -32,2 +33,3 @@ * @param {string} [params.inputId] An optional (default) Omeda API Input ID. | ||
brandKey, | ||
clientKey, | ||
appId, | ||
@@ -45,2 +47,3 @@ inputId, | ||
...(inputId && { 'x-omeda-inputid': inputId }), | ||
...(clientKey && { 'x-omeda-client': clientKey }), | ||
}; | ||
@@ -47,0 +50,0 @@ |
4145
3.47%64
4.92%