0.0.5 • Published 2 years ago
@gokiteam/lock-browser v0.0.5
Goki lock sdk for browser
how to install
yarn add @gokiteam/lock-browser
or
npm install @gokiteam/lock-browser
how to use
import GokiLockSDK from '@gokiteam/lock-browser'
const lockdata = '...'
GokiLockSDK.unlock(lockdata)
.then(() => {
console.log('unlock success')
})
.catch(err => {
console.log('unlock failed', err)
})
note
the browser should support web bluetoth api
, we have tested it on Chrome
on macOS
and Android
related packages
0.0.5
2 years ago