Skip to content

Releases: ckb-js/ckb-sdk-js

v0.25.0-alpha.0

12 Nov 13:44
d17812d
Compare
Choose a tag to compare

0.25.0-alpha.0 (2019-11-12)

Features

  • core: add generateDaoDepositTx method (27a31f6)
  • core: add the method of generateDaoWithdrawStartTx (ff2163f)
  • core: add the method of generateDaoWithdrawTransaction (a375abd)
  • core: add the method to load dao deps (75e5ca7)
  • core: allow cell capacity threshold in generateRawTransaction method (ebbe448)
  • rpc: add an rpc method of calculateDaoMaximumWithdraw (f4cd7e7)
  • utils: add address and address payload validators (d44effb)
  • utils: add assertToBeHexStringOrBigint method for validation (6b16507)
  • utils: add parseEpoch method (c29aca6)

v0.24.2

08 Nov 05:09
893e4ef
Compare
Choose a tag to compare

0.24.2 (2019-11-08)

Bug Fixes

  • core: serialize the witnesses after it's signed (6d4bcdc)

v0.24.1

07 Nov 10:58
17cd05f
Compare
Choose a tag to compare

0.24.1 (2019-11-07)

Bug Fixes

  • utils: fix the precision-lost in toHexInLittleEndian (9658a76)

v0.24.0

02 Nov 07:04
a73efb8
Compare
Choose a tag to compare

0.24.0 (2019-11-02)

Features

  • core: include fee in generateTransaction method (03153f6)
  • rpc: add a rpc method (928aaf9)
  • core: sign inputs in group (294f59c)

BREAKING CHANGES

  • core: sign inputs in group

v0.23.1

22 Oct 09:31
38424f4
Compare
Choose a tag to compare

0.23.1 (2019-10-22)

Features

  • utils add methods for calculating transaction fee (1dd82a4)
    1. add utils.serializeTransaction method to serialize a full transaction;
    2. add utils.calculateTrasnactionSize to get the size of a full transaction

v0.23.0

19 Oct 07:30
4f06586
Compare
Choose a tag to compare

0.23.0 (2019-10-19)

Features

  • address: add support to addresses in full version format (a385821)
  • core: add transaction builder for signing transactions with multiple private keys (d5d69c0)
  • core: remove address module (#369) (e467427)

BREAKING CHANGES

  • core: remove address module and add key pair module

    • ci: add codecov config for a tolerant threshold
    • feat(utils): add some util methods for getting public keys and addresses from private keys
      • add a method of core.utils.privateKeytoPublicKey
      • add a method of core.utils.privateKeyToAddress
  • core: KeyPair from the core module

    • fix(core): fix the lock script in the sending transactions example
  • address: rename an parameter in bech32Address method from codeHash to codeHashOrCodeHashIndex

v0.22.1

12 Oct 07:19
e56a52f
Compare
Choose a tag to compare

0.22.1 (2019-10-12)

Bug Fixes

  • rpc: update the signatures of rpc methods (7eb6726), closes #365

BREAKING CHANGES

  • rpc: use bigint instead of number in signatures of rpc methods

v0.22.0

05 Oct 06:59
9aeec49
Compare
Choose a tag to compare

0.22.0 (2019-10-05)

Features

  • address: enable address to load cells and generate signed transactions (2e5803c)
  • cli: deprive this repo of the ckb-cli (2befcff)
  • core: move the address module into the core module (10dd017)
  • rpc: update rpc signatures (201901d)
  • rpc: use bigint instead of number in the interfaces of rpc methods (c8d994b)
  • type: update the fields of BlockHeader (55de626)
  • type: update the result of getCellsByLockHash method (31eb97e)
  • type: update the structure of Epoch (76770f4)
  • type: update the type of args (09d649a)
  • type: update the type of witness (71f53b0)
  • utils: update the interface of utils.parseAddress (90feb91)

BREAKING CHANGES

  • type: replace difficulty with compactTarget in Epoch
  • type:
    1. remove unclesCount
    2. merge witnessesRoot and transactionRoot
    3. replace difficulty with compactTarget
  • type: change the type of args from string[] to string
  • type: change the type of witnes from { data: string[] } to string
  • rpc: use bigint instead of number in the interfaces of rpc methods
  • utils: remove the prefix from the parameter list of utils.parseAddress
  • core: move the address module into the core module
  • type: update the result of getCellsByLockHash method

v0.21.1

24 Sep 06:03
a2cd08b
Compare
Choose a tag to compare

0.21.1 (2019-09-24)

Bug Fixes

  • rpc: add a parser for optional parameters (274268e)
  • rpc: update the returned cell type of getLiveCell from cell to liveCell (4a69d85)

v0.21.0

21 Sep 10:02
30e8b6a
Compare
Choose a tag to compare

0.21.0 (2019-09-21)

Code Refactoring

  • address rename public key identifier to publicKeyHash (b33c096)

Features

  • rpc: format the outputs of the params formatter (740b403)
  • rpc: update the interface of getLiveCell (0280d7f)
  • utils: format the outputs of the utils module (a30071c)

BREAKING CHANGES

  • rpc: update the interface of getLiveCell
  • address rename public key identifier to publicKeyHash
  • rpc: hexilize the outputs of the params formatter
  • utils: hexilize the outputs of the utils module