Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@envelop/types

Package Overview
Dependencies
Maintainers
1
Versions
629
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/types - npm Package Compare versions

Comparing version 1.1.0-alpha-53d0475.0 to 1.1.0-alpha-dc06203.0

9

hooks.d.ts

@@ -413,2 +413,7 @@ import type { DocumentNode, ExecutionArgs, ExecutionResult, GraphQLError, GraphQLResolveInfo, GraphQLSchema, ParseOptions, Source, SubscriptionArgs, ValidationRule } from 'graphql';

export declare type SubscribeResultHook = (options: OnSubscribeResultEventPayload) => void | OnSubscribeResultResult;
export declare type SubscribeErrorHookPayload = {
error: unknown;
setError: (err: unknown) => void;
};
export declare type SubscribeErrorHook = (payload: SubscribeErrorHookPayload) => void;
export declare type OnSubscribeHookResult<ContextType> = {

@@ -420,2 +425,6 @@ /**

/**
* Invoked if the source stream returned from subscribe throws an error.
*/
onSubscribeError?: SubscribeErrorHook;
/**
* Invoked before each resolver has been invoked during the execution phase.

@@ -422,0 +431,0 @@ */

2

package.json
{
"name": "@envelop/types",
"version": "1.1.0-alpha-53d0475.0",
"version": "1.1.0-alpha-dc06203.0",
"sideEffects": false,

@@ -5,0 +5,0 @@ "peerDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc