New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@envelop/generic-auth

Package Overview
Dependencies
Maintainers
1
Versions
1383
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/generic-auth - npm Package Compare versions

Comparing version 4.0.1-alpha-698c9eb.0 to 4.0.1-alpha-c145a12.0

6

index.d.ts

@@ -78,6 +78,4 @@ import { DefaultContext, Plugin } from '@envelop/core';

export declare function defaultProtectSingleValidateFn<UserType>(params: ValidateUserFnParams<UserType>): void | UnauthenticatedError;
declare type PluginContext<UserType> = {
export declare const useGenericAuth: <UserType extends {} = {}, ContextType extends DefaultContext = DefaultContext>(options: GenericAuthPluginOptions<UserType, ContextType>) => Plugin<{
validateUser: ValidateUserFn<UserType>;
};
export declare const useGenericAuth: <UserType extends {} = {}, ContextType extends DefaultContext = DefaultContext>(options: GenericAuthPluginOptions<UserType, ContextType>) => Plugin<{}, PluginContext<UserType>>;
export {};
}>;
{
"name": "@envelop/generic-auth",
"version": "4.0.1-alpha-698c9eb.0",
"version": "4.0.1-alpha-c145a12.0",
"sideEffects": false,
"peerDependencies": {
"@envelop/core": "2.1.1-alpha-698c9eb.0",
"@envelop/core": "^2.1.0",
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"@envelop/extended-validation": "1.4.1-alpha-698c9eb.0"
"@envelop/extended-validation": "1.4.1-alpha-c145a12.0"
},

@@ -12,0 +12,0 @@ "repository": {

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