Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@libotony libotony released this 14 Sep 08:05

This release incorporates the following packages:

Changes to the Connex API

In this new update, we introduce the standalone Connex.Thor class that is designed specifically for read-only operations.

const thor = new Connex.Thor({
    node: 'https://mainnet.veblocks.net/',
    network: 'main'
})

Furthermore, we’ve enhanced the construction parameters of Connex.Vendor. The second parameter now allows you to specify a wallet. For more information, please refer to the README.

const vendor = new Connex.Vendor('main' 'sync2') 

Additionally, it's possible to create a full connex object

const connex = new Connex({
    node: 'https://mainnet.veblocks.net/',
    network: 'main',
    signer: 'sync2'
})
// composed by thor and vendor
const {thor, vendor} = connex

A significant modification is that Connex.Thor.Account.Method.transact() will only function in full connex mode from now onwards.

Full Changelog: v2.0.14...v2.1.0