apollo-server-core
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -10,3 +10,2 @@ "use strict"; | ||
const async_retry_1 = __importDefault(require("async-retry")); | ||
const apollo_graphql_1 = require("apollo-graphql"); | ||
const apollo_reporting_protobuf_1 = require("apollo-reporting-protobuf"); | ||
@@ -16,2 +15,3 @@ const apollo_server_env_1 = require("apollo-server-env"); | ||
const operationDerivedDataCache_1 = require("./operationDerivedDataCache"); | ||
const defaultUsageReportingSignature_1 = require("./defaultUsageReportingSignature"); | ||
const traceTreeBuilder_1 = require("../traceTreeBuilder"); | ||
@@ -390,3 +390,3 @@ const traceDetails_1 = require("./traceDetails"); | ||
} | ||
const generatedSignature = (options.calculateSignature || apollo_graphql_1.defaultUsageReportingSignature)(requestContext.document, requestContext.operationName || ''); | ||
const generatedSignature = (options.calculateSignature || defaultUsageReportingSignature_1.defaultUsageReportingSignature)(requestContext.document, requestContext.operationName || ''); | ||
const generatedOperationDerivedData = { | ||
@@ -393,0 +393,0 @@ signature: generatedSignature, |
{ | ||
"name": "apollo-server-core", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "Core engine for Apollo GraphQL server", | ||
@@ -53,3 +53,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "8b2c1360c224d23ff64fa49adbee1e62dbdaa917" | ||
"gitHead": "f3fc7d147a3bc3446f4f3452acfa5f598099b08f" | ||
} |
import os from 'os'; | ||
import { gzip } from 'zlib'; | ||
import retry from 'async-retry'; | ||
import { defaultUsageReportingSignature } from 'apollo-graphql'; | ||
import { Report, ReportHeader, Trace } from 'apollo-reporting-protobuf'; | ||
@@ -23,2 +22,3 @@ import { Response, fetch, Headers } from 'apollo-server-env'; | ||
} from './operationDerivedDataCache'; | ||
import { defaultUsageReportingSignature } from './defaultUsageReportingSignature'; | ||
import type { | ||
@@ -25,0 +25,0 @@ ApolloServerPluginUsageReportingOptions, |
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
929759