Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Documentation suggests token exports exist when they do not #140

Closed
dmaevac opened this issue Sep 4, 2018 · 2 comments
Closed

Documentation suggests token exports exist when they do not #140

dmaevac opened this issue Sep 4, 2018 · 2 comments

Comments

@dmaevac
Copy link

dmaevac commented Sep 4, 2018

Type of issue

Bug

Description

Documentation suggests the following exports exist, and they do not.

import { ApolloClientCacheToken, GetApolloClientLinksToken } from 'fusion-tokens'

https://github.com/fusionjs/fusion-apollo-universal-client/blob/master/README.md#apolloclientcachetoken
https://github.com/fusionjs/fusion-apollo-universal-client/blob/master/README.md#getapolloclientlinkstoken

They also do not appear to exist in any of the fusionjs orgs projects

Current behavior

When trying to import the above tokens the following error is generated

"export 'GetApolloClientLinksToken' was not found in 'fusion-tokens'

Expected behavior

The tokens to be available, or the documentation to reference the correct source library

Steps to reproduce

As above

Your environment

  • fusion-apollo-universal-client version: 1.3.0

  • fusion-tokens version: 1.0.4

  • Node.js version (node --version): 8.11.3

  • npm version (npm --version): 5.6.0

  • Operating System: Mac OS 10.13.6

@KevinGrandon
Copy link
Contributor

Thanks for filing an issue and sorry about the bug. We're still working on making our documentation work for our versioning. Currently you can access these tokens in fusion-apollo-universal-client@1.4.0-1. You can install this with:

yarn add fusion-apollo-universal-client@1.4.0-1

@KevinGrandon
Copy link
Contributor

Actually I see the problem now, the docs reference fusion-tokens, but actually they are exported from this package. Will update the docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants