@authereum/graphql
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

@authereum/graphql

Authereum GraphQL API client library

Getting started

import * as graphql from '@authereum/graphql'

;(async () => {
  const available = await graphql.ensNameAvailable({
    ensName: 'foobar'
  })

  console.log(available) // true
})()

Setting a different GraphQL endpoint:

import * as graphql from '@authereum/graphql'

graphql.setApiUrl('http://localhost:4000/graphql')

Development

Install dependencies:

npm install

Watch and build:

npm run dev

Build:

npm run build

Lint:

npm run lint

Test

npm test

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.9
    4
    • latest
  • 0.1.16
    2
    • beta

Version History

Package Sidebar

Install

npm i @authereum/graphql

Weekly Downloads

204

Version

0.1.9

License

MIT

Unpacked Size

447 kB

Total Files

230

Last publish

Collaborators

  • miguelmota
  • shanefontaine
  • cwhinfrey