@binance/kyc-sdk
v0.0.3
Published
kyc-ui to broker
Downloads
17
Readme
**# @binance/kyc-sdk
kyc-ui to broker
How to use
import BinanceKyc from '@binance/kyc-sdk'
const app = () => {
React.useEffect(() => {
const binanceKyc = new BinanceKyc({
authToken: 'YzBhMWRjMTUyZGJiNGVhNjhiNGZmZjdmODhiZTk0M2U6RklOQU5EWQ%3D%3D',
bizEntityKey: 'FINANDY',
apiHost: 'https://dip-qacb.sdtaop.com',
onMessage: ({ typeCode }) => {
if (typeCode === '102') {
binanceKyc.switchVisible(true)
}
},
})
}, [])
return <div id="test"></div>
}
**