@octoguild-licence/client
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

React Hooks for working with async operations.

npm

Install

yarn add @octoguild-licence/client

Usage

import licenceApi, { socket, configureLicence } from '@octoguild-licence/client'

configureLicence({
  app_id: config.licence.app_id,
  key: config.licence.key,
})

socket.on('connect', () => {
  console.log('socket is opened')
})

licenceApi.checkAuth({
  client_id: 'xxx',
  client_secret: 'yyy'
}, cb)

Env

Supported env list:

  • LICENCE_SERVER
  • LICENCE_PRIVATE_KEY
  • LICENCE_PRIVATE_KEY_PASSPHRASE
  • LICENCE_APP
  • LICENCE_KEY

Readme

Keywords

Package Sidebar

Install

npm i @octoguild-licence/client

Weekly Downloads

7

Version

1.1.4

License

none

Unpacked Size

32.1 kB

Total Files

50

Last publish

Collaborators

  • zvs001