const {dtx} = require('dtx-lib-js')
const auth = dtx.auth({
version: 'v2',
http: {
host: 'https://dtx-api-dev.weltcorp.com',
authorization: '<your-jwt-token>'
}
});
const res = await auth.account.login.requestAccountEmailVerificationCode("swcbok@gmail.com")
.catch((err) => {
console.error(err)
})
console.log(res);
dtx-lib
3.35.14 • Public • PublishedPackage Sidebar
Install
npm i dtx-lib
Repository
Weekly Downloads
11
Version
3.35.14
License
Apache-2.0
Unpacked Size
179 kB
Total Files
88