@metrichor/epi2me-client-node
Advanced tools
Comparing version 0.1.10002387 to 0.1.10009941
export declare function resolve_endpoint(endpoint: string): string; | ||
export declare function resolve_graphql_endpoint(endpoint: string): string; | ||
//# sourceMappingURL=resolve_endpoint.d.ts.map |
@@ -65,2 +65,6 @@ 'use strict'; | ||
} | ||
function resolve_graphql_endpoint(endpoint) { | ||
const uri = new URL('graphql', resolve_endpoint(endpoint)); | ||
return uri.toString(); | ||
} | ||
@@ -190,3 +194,3 @@ function generate_type_policy(description) { | ||
const http_link = core.createHttpLink({ | ||
uri: resolve_endpoint((_a = options.endpoint) !== null && _a !== void 0 ? _a : DEFAULT_ENDPOINT), | ||
uri: resolve_graphql_endpoint((_a = options.endpoint) !== null && _a !== void 0 ? _a : DEFAULT_ENDPOINT), | ||
fetch: (info, init) => { | ||
@@ -207,3 +211,3 @@ const extra = { ...init, agent: options.agent }; | ||
const http_link = core.createHttpLink({ | ||
uri: resolve_endpoint((_a = options.endpoint) !== null && _a !== void 0 ? _a : DEFAULT_ENDPOINT), | ||
uri: resolve_graphql_endpoint((_a = options.endpoint) !== null && _a !== void 0 ? _a : DEFAULT_ENDPOINT), | ||
fetch: (info, init) => authenticated_fetch(info, init, options), | ||
@@ -210,0 +214,0 @@ }); |
{ | ||
"name": "@metrichor/epi2me-client-node", | ||
"version": "0.1.10002387", | ||
"version": "0.1.10009941", | ||
"license": "MPL-2.0", | ||
@@ -5,0 +5,0 @@ "author": "Metrichor <support@nanoporetech.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27327
491