@shopify/react-graphql
Advanced tools
Comparing version 5.2.0-alpha.2 to 5.2.0-beta.1
@@ -7,3 +7,3 @@ export { DeferTiming } from '@shopify/async'; | ||
export { ApolloProvider } from './ApolloProvider'; | ||
export { createSsrExtractableLink, SsrExtractableLink } from './links'; | ||
export * from './links'; | ||
export * from './hooks'; |
@@ -14,5 +14,3 @@ "use strict"; | ||
exports.ApolloProvider = ApolloProvider_1.ApolloProvider; | ||
var links_1 = require("./links"); | ||
exports.createSsrExtractableLink = links_1.createSsrExtractableLink; | ||
exports.SsrExtractableLink = links_1.SsrExtractableLink; | ||
tslib_1.__exportStar(require("./links"), exports); | ||
tslib_1.__exportStar(require("./hooks"), exports); |
@@ -17,5 +17,5 @@ import { ApolloLink } from 'apollo-link'; | ||
export interface Options { | ||
requestIdHeader: string; | ||
requestIdHeader?: string; | ||
onOperation(operation: GraphQLOperation): void; | ||
} | ||
export default function createOperationDetailsLink({ onOperation, requestIdHeader, }: Options): ApolloLink; | ||
export declare function createOperationDetailsLink({ onOperation, requestIdHeader, }: Options): ApolloLink; |
@@ -27,3 +27,4 @@ "use strict"; | ||
var requestId = response instanceof Response | ||
? response.headers.get(requestIdHeader) || undefined | ||
? (requestIdHeader && response.headers.get(requestIdHeader)) || | ||
undefined | ||
: undefined; | ||
@@ -59,2 +60,2 @@ var status = response instanceof Response ? response.status : undefined; | ||
} | ||
exports.default = createOperationDetailsLink; | ||
exports.createOperationDetailsLink = createOperationDetailsLink; |
{ | ||
"name": "@shopify/react-graphql", | ||
"version": "5.2.0-alpha.2", | ||
"version": "5.2.0-beta.1", | ||
"license": "MIT", | ||
@@ -28,2 +28,3 @@ "description": "Tools for creating type-safe and asynchronous GraphQL components for React.", | ||
"@shopify/async": "^2.0.5", | ||
"@shopify/performance": "^1.1.8", | ||
"@shopify/react-async": "^3.0.8", | ||
@@ -30,0 +31,0 @@ "@shopify/react-hooks": "^1.2.3", |
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
18892
62871
12
837
+ Added@shopify/performance@^1.1.8
+ Added@shopify/performance@1.3.6(transitive)