1.1.4 • Published 1 month ago
@octoguild-licence/client v1.1.4
React Hooks for working with async operations.
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
1.1.4
1 month ago
1.1.3
1 month ago
1.1.2
1 month ago
1.1.1
5 months ago
1.1.0
5 months ago
1.0.0
10 months ago
0.1.0
10 months ago
0.1.2
10 months ago
0.1.1
10 months ago
0.1.3
10 months ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago
0.0.1-rc3
1 year ago
0.0.1-rc2
1 year ago
0.0.1-rc1
1 year ago