Releases: upbond/embed
Releases · upbond/embed
Setup Login Provider
v1.2.0 Fixed default loginconfig loginprovider
add v2 url
1.2.12
v1.1.12
Adjustment Store ID
v1.1.11 Update version v.1.1.10
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
}
v1.0.10
Update new build env
v1.0.9
Change documentation
v1.0.8
- Allowing devs to using direct param
- Bugfix cors. see: https://bugs.chromium.org/p/chromium/issues/detail?id=593267
- See readme for more info
v1.0.2
v1.0.2
- Additional bugfixes
v1.0.0
Releasing our Upbond embed
now you can install our embed library based on npm
or yarn
This is the main class of anything related to Upbond Embed
const Upbond = require("@upbond/embed");
Using ES6
import Upbond from "@upbond/embed";
Then, create a new instance of Upbond
const upbond = new Upbond(options);