@accounts/graphql-client
Advanced tools
Comparing version 0.3.0-beta.21 to 0.3.0-beta.22
export * from './graphql-client'; | ||
export { default } from './graphql-client'; | ||
export { default as AccountsGraphQLClient } from './graphql-client'; |
@@ -9,2 +9,4 @@ "use strict"; | ||
exports.default = graphql_client_1.default; | ||
var graphql_client_2 = require("./graphql-client"); | ||
exports.AccountsGraphQLClient = graphql_client_2.default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@accounts/graphql-client", | ||
"version": "0.3.0-beta.21", | ||
"version": "0.3.0-beta.22", | ||
"description": "GraphQL client transport for accounts", | ||
@@ -8,3 +8,5 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"clean": "rimraf lib", | ||
"start": "tsc --watch", | ||
"precompile": "yarn clean", | ||
"compile": "tsc", | ||
@@ -39,6 +41,6 @@ "prepublishOnly": "yarn compile" | ||
"dependencies": { | ||
"@accounts/client": "^0.3.0-beta.21", | ||
"@accounts/types": "^0.3.0-beta.21", | ||
"@accounts/client": "^0.3.0-beta.22", | ||
"@accounts/types": "^0.3.0-beta.22", | ||
"graphql-tag": "^1.1.2" | ||
} | ||
} |
@@ -1,9 +0,27 @@ | ||
# @accounts/graphql | ||
# @accounts/graphql-client | ||
_Client side graphql transport for accounts suite_ | ||
[![npm](https://img.shields.io/npm/v/@accounts/graphql.svg?maxAge=2592000)](https://www.npmjs.com/package/@accounts/graphql) [![Circle CI](https://circleci.com/gh/js-accounts/graphql.svg?style=shield)](https://circleci.com/gh/js-accounts/graphql) [![Coverage Status](https://coveralls.io/repos/github/js-accounts/graphql/badge.svg?branch=master)](https://coveralls.io/github/js-accounts/graphql?branch=master) ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg) | ||
[![npm](https://img.shields.io/npm/v/@accounts/graphql-client.svg?maxAge=2592000)](https://www.npmjs.com/package/@accounts/graphql-client) ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg) | ||
## Note | ||
## Install | ||
This package is under active development and just starting to take shape. | ||
``` | ||
yarn add @accounts/graphql-client | ||
``` | ||
## Usage | ||
```js | ||
import { ApolloClient } from 'apollo-client'; | ||
import { AccountsGraphQLClient } from '@accounts/graphql-client'; | ||
const apolloClient = new ApolloClient({ | ||
// apollo options | ||
}); | ||
const accountsGraphQL = new GraphQLClient({ | ||
graphQLClient: apolloClient, | ||
// other options | ||
}); | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36643
503
28