Socket
Socket
Sign inDemoInstall

@8base/apollo-client

Package Overview
Dependencies
584
Maintainers
2
Versions
223
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @8base/apollo-client

The Apollo Client library contains extended [ApolloClient](https://www.apollographql.com/docs/react/api/apollo-client.html) with several links to work with 8base services.


Version published
Weekly downloads
422
decreased by-25.96%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

8base Create Apollo Client

The Apollo Client library contains extended ApolloClient with several links to work with 8base services.

EightBaseApolloClient

Table of Contents

EightBaseApolloClient

Extends ApolloClient

Extended Apollo Client by 8base several links.

Parameters
  • config Object The Apollo Client config.
    • config.uri string Endpoint of the GraphQl server.
    • config.getAuthState Function The function which are using to get auth state.
    • config.getRefreshTokenParameters Function The function which are using for get refresh token parameters.
    • config.onAuthSuccess Function The callback which called when attempt to refresh authentication is success.
    • config.onAuthError Function? The callback which called when attempt to refresh authentication is failed.
    • config.onIdTokenExpired Function? The callback which called when id token is expired.

Returns any instance of the Apollo Client

FAQs

Last updated on 14 Sep 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc