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

graphql-auth

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-auth - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

13

index.d.ts

@@ -5,9 +5,10 @@ // Type definitions for graphql-auth

export = withAuth;
export default withAuth;
declare function withAuth(resolve: Resolver): Resolver;
declare function withAuth(scopes: string[], resolver: Resolver): Resolver;
declare function withAuth(resolve: GraphqlAuth.Resolver): GraphqlAuth.Resolver;
declare function withAuth(scopes: string[], resolver: GraphqlAuth.Resolver): GraphqlAuth.Resolver;
type Resolver = (root: any, args: any, context: any, info: any) => any
declare namespace withAuth { }
// Internal scope, avoid collision with other global definitions
declare namespace GraphqlAuth {
type Resolver = (root: any, args: any, context: any, info: any) => any
}
{
"name": "graphql-auth",
"version": "0.2.3",
"version": "0.2.4",
"description": "GraphQL authentication and authorization middleware",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -134,6 +134,6 @@ # GraphQL Auth

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
| [<img src="https://avatars1.githubusercontent.com/u/332115?v=4" width="100px;"/><br /><sub>artgibson</sub>](https://github.com/artgibson)<br />[💻](https://github.com/kkemple/graphql-auth/commits?author=artgibson "Code") | [<img src="https://avatars3.githubusercontent.com/u/1265681?v=4" width="100px;"/><br /><sub>HaNdTriX</sub>](http://henrikwenz.de/)<br />[💻](https://github.com/kkemple/graphql-auth/commits?author=HaNdTriX "Code") [📖](https://github.com/kkemple/graphql-auth/commits?author=HaNdTriX "Documentation") | [<img src="https://avatars1.githubusercontent.com/u/841956?v=4" width="100px;"/><br /><sub>Pascal Birchler</sub>](https://pascalbirchler.com)<br />[💻](https://github.com/kkemple/graphql-auth/commits?author=swissspidy "Code") |
| :---: | :---: | :---: |
| [<img src="https://avatars1.githubusercontent.com/u/332115?v=4" width="100px;"/><br /><sub>artgibson</sub>](https://github.com/artgibson)<br />[💻](https://github.com/kkemple/graphql-auth/commits?author=artgibson "Code") | [<img src="https://avatars3.githubusercontent.com/u/1265681?v=4" width="100px;"/><br /><sub>HaNdTriX</sub>](http://henrikwenz.de/)<br />[💻](https://github.com/kkemple/graphql-auth/commits?author=HaNdTriX "Code") [📖](https://github.com/kkemple/graphql-auth/commits?author=HaNdTriX "Documentation") | [<img src="https://avatars1.githubusercontent.com/u/841956?v=4" width="100px;"/><br /><sub>Pascal Birchler</sub>](https://pascalbirchler.com)<br />[💻](https://github.com/kkemple/graphql-auth/commits?author=swissspidy "Code") | [<img src="https://avatars2.githubusercontent.com/u/6640835?v=4" width="100px;"/><br /><sub>Andréas Hanss</sub>](https://www.linkedin.com/in/andreas-hanss/)<br />[💻](https://github.com/kkemple/graphql-auth/commits?author=ScreamZ "Code") [📖](https://github.com/kkemple/graphql-auth/commits?author=ScreamZ "Documentation") |
| :---: | :---: | :---: | :---: |
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

Sorry, the diff of this file is not supported yet

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