Skip to content

v4.0.0

Compare
Choose a tag to compare
@chaitanyapotti chaitanyapotti released this 10 Nov 07:34
· 474 commits to master since this release

What's Changed

  • getUserTypeAndAddress function added to do openlogin key lookups
  • keylookup and keyAssign functions exported
  • torus class no longer exported by default (This means while using require, you should use .default)

Full Changelog: v3.1.0...v4.0.0

Migration Notes:

please make the following changes

umd build:

change from

const torusUtils= new TorusUtils();

to

const torusUtils = new TorusUtils.default();

node build:

change from

const TorusUtils = require("@toruslabs/torus.js");

to

const TorusUtils = require("@toruslabs/torus.js").default;

The default build is now esm which would be picked by bundlers