4.12.1-alpha.1 • Published 8 days ago

@helium/onboarding v4.12.1-alpha.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 days ago

@helium/onboarding

npm An HTTP client for interfacing with an onboarding server

Installation

$ yarn add @helium/onboarding
# or
$ npm install @helium/onboarding

Usage

import OnboardingClient from '@helium/onboarding'
const client = new OnboardingClient()

// Or pass your own custom base url
const client = new OnboardingClient('https://onboarding.you.com/api')

const { data: record } = await client.getOnboardingRecord(hotspotAddress)
console.log(record?.publicAddress)