Repository navigation
v1.1.0 [Skip dialog feature]
V1.1.10
Updates
- Add code comments
- Minor fix
What's new
- Enable you to using
skipDialog
Skip Dialog
Is used if you want to directly to upbond login without showing the upbond wallet modal.
Getting started
useEffect(() => {
await upbondEmbed.init({
buildEnv: this.env,
isUsingDirect: true, // optional
skipDialog: true, // add this if you want to use skipDialog
dappRedirectUri: window.location.origin,
selectedVerifier: 'line', // if you set skipDialog to `true` this property is mandatory
loginConfig: {
jwt: {
// ... your jwt loginConfig
},
line: {
// ... your line loginConfig
},
// ... another your loginConfig
}
})
}, [])
const loginUpbondEmbed = async () => {
await upbondEmbed.login() // login to upbond wallet using embed
}