@graphql-yoga/plugin-apollo-inline-trace 3.21.0 → 3.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createGraphQLError, isAsyncIterable, mapMaybePromise, } from 'graphql-yoga';
1
+ import { createGraphQLError, isAsyncIterable, mapMaybePromise } from 'graphql-yoga';
2
2
  import { google, Trace } from '@apollo/usage-reporting-protobuf';
3
3
  import { useOnResolve } from '@envelop/on-resolve';
4
4
  /**
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@graphql-yoga/plugin-apollo-inline-trace",
3
- "version": "3.21.0",
3
+ "version": "3.21.1",
4
4
  "description": "Apollo's federated tracing plugin for GraphQL Yoga.",
5
5
  "peerDependencies": {
6
6
  "graphql": "^15.2.0 || ^16.0.0",
7
- "graphql-yoga": "^5.21.0"
7
+ "graphql-yoga": "^5.21.1"
8
8
  },
9
9
  "dependencies": {
10
10
  "@apollo/usage-reporting-protobuf": "^4.1.1",
@@ -1,5 +1,5 @@
1
- import { GraphQLError } from 'graphql';
2
- import { Plugin, YogaInitialContext } from 'graphql-yoga';
1
+ import type { GraphQLError } from 'graphql';
2
+ import type { Plugin, YogaInitialContext } from 'graphql-yoga';
3
3
  import { google, Trace } from '@apollo/usage-reporting-protobuf';
4
4
  export interface ApolloInlineRequestTraceContext {
5
5
  startHrTime: [number, number];
@@ -1,5 +1,5 @@
1
- import { GraphQLError } from 'graphql';
2
- import { Plugin, YogaInitialContext } from 'graphql-yoga';
1
+ import type { GraphQLError } from 'graphql';
2
+ import type { Plugin, YogaInitialContext } from 'graphql-yoga';
3
3
  import { google, Trace } from '@apollo/usage-reporting-protobuf';
4
4
  export interface ApolloInlineRequestTraceContext {
5
5
  startHrTime: [number, number];