Socket
Book a DemoInstallSign in
Socket

@snap-mobile/auth-graphql-client-tools

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snap-mobile/auth-graphql-client-tools

Tools to help initialize graph and auth in FE clients.

latest
npmnpm
Version
2.1.0
Version published
Maintainers
4
Created
Source

#Authorization and Graphql tools for snap clients

Publishing to NPM

To publish to npm for the @snap-mobile organization you will need to be added to the oranization.

Basic usage

const [client, forceAuth] = getClient({ // client config... see typescipt typings })

Available to consumers:

extend type Query { apiReady: Boolean // lets you know you are authenticated the api will still be ready to use, we need to fix this name }

extend type UserWithPermissions { isInternal: Boolean // lets you know the email is a snapraise email }

FAQs

Package last updated on 03 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts