dtx-lib
TypeScript icon, indicating that this package has built-in type declarations

3.35.14 • Public • Published

dtx-lib-js

auth

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);

Package Sidebar

Install

npm i dtx-lib

Weekly Downloads

11

Version

3.35.14

License

Apache-2.0

Unpacked Size

179 kB

Total Files

88

Last publish

Collaborators

  • bok95
  • jeff.an1718