@envelop/core 1.4.0-alpha-e8998c9.0 → 1.4.0-alpha-15b486f.0

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/orchestrator.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { ArbitraryObject, EnvelopContextFnWrapper, GetEnvelopedFn, Plugin, DefaultContext } from '@envelop/types';
1
+ import { ArbitraryObject, EnvelopContextFnWrapper, GetEnvelopedFn, Plugin, DefaultContext, Maybe } from '@envelop/types';
2
2
  import { GraphQLSchema } from 'graphql';
3
- import { Maybe } from 'graphql/jsutils/Maybe';
4
3
  export declare type EnvelopOrchestrator<InitialContext extends ArbitraryObject = ArbitraryObject, PluginsContext extends ArbitraryObject = ArbitraryObject> = {
5
4
  init: (initialContext?: Maybe<InitialContext>) => void;
6
5
  parse: EnvelopContextFnWrapper<ReturnType<GetEnvelopedFn<PluginsContext>>['parse'], InitialContext>;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@envelop/core",
3
- "version": "1.4.0-alpha-e8998c9.0",
3
+ "version": "1.4.0-alpha-15b486f.0",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
7
7
  },
8
8
  "dependencies": {
9
- "@envelop/types": "1.3.0-alpha-e8998c9.0"
9
+ "@envelop/types": "1.3.0-alpha-15b486f.0"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
package/utils.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { ASTNode, DocumentNode, OperationDefinitionNode, Source, ExecutionResult, SubscriptionArgs, ExecutionArgs } from 'graphql';
2
- import { AsyncIterableIteratorOrValue, ExecuteFunction, SubscribeFunction } from '@envelop/types';
3
- import { PromiseOrValue } from 'graphql/jsutils/PromiseOrValue';
2
+ import { AsyncIterableIteratorOrValue, ExecuteFunction, SubscribeFunction, PromiseOrValue } from '@envelop/types';
4
3
  export declare const envelopIsIntrospectionSymbol: unique symbol;
5
4
  export declare function isOperationDefinition(def: ASTNode): def is OperationDefinitionNode;
6
5
  export declare function isIntrospectionOperation(operation: OperationDefinitionNode): boolean;