Skip to content

Releases: vechain/connex

v2.2.1

23 May 06:55
8e696a9

Choose a tag to compare

This release incorporates the following packages:

@vechain/[email protected]
@vechain/[email protected]
@vechain/[email protected]
@vechain/[email protected]
@vechain/[email protected]

Changes

  • Added Connex.Thor.Fees to reflect the newly added /Fees API endpoint
    • connex.thor.fess.history(<block-id-or-num>).count().get(<count>) to retrieve the fees history.
    • connex.thor.fess.priorityFee() to get a priority fee suggestion.
  • Added node options for building connex and wallet-buddy for legacy webpack.

Full Changelog: v2.2.0...v2.2.1

v2.2.0

16 May 07:30
c576235

Choose a tag to compare

This release incorporates the following packages:

@vechain/[email protected]
@vechain/[email protected]
@vechain/[email protected]
@vechain/[email protected]
@vechain/[email protected]

Changes to the Connex API

  • Update types to reflect GLACTICA upgrade
    • Add baseFeePerGas to Connex.Thor.Block
    • Add type, maxPriorityFeePerGas and maxFeePerGas to Connex.Thor.Transaction
    • Add type to Connex.Thor.Transaction.Receipt
    • Add baseFeePerGas to Connex.Thor.Status['head']
  • Support signing Dynamic Fee transaction in package @vechain/connex-driver
    • Add driver.txParams.txType to define default transaction to use.
    • Add driver.txParams.maxPriorityFeePerGas to customize the transaction fee for dynamic fee transaction.

Full Changelog: v2.1.0...v2.2.0

v2.1.0

14 Sep 08:05

Choose a tag to compare

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

v1.4.0

13 Aug 05:50
986bdbf

Choose a tag to compare

This release brings two minor breaking changes:

  • change return type of Vendor.owned to Promise<boolean>
  • change return type of Ticker.next to Promise<Status['head']>

v1.3.2

29 Jul 03:05

Choose a tag to compare

  • Fix type of Transaction.delegator
  • Add abi hint for tx message item
  • Extract out types under namespace SigningService

1.3.1

24 Jun 03:08
18a1ab2

Choose a tag to compare

  • add clauseIndex to LogMeta
  • add type Receipt.Meta
  • allow to be imported
  • set clause.data to optional
  • gasPrice type set to string | number
  • add txsFeatures to thor.status.head

1.2.3

02 Apr 09:11
963b2eb

Choose a tag to compare

  • add TxSigningService.dependsOn

1.2.2

20 Mar 09:40
4c24375

Choose a tag to compare

  • tweak Thor.Decoded definition

1.2.1

08 Mar 05:42
7e5cdc9

Choose a tag to compare

  • Define Decoded type

1.2.0

28 Feb 05:54

Choose a tag to compare

  • Add cache option for method call
  • Add link option for CertSigningService