Skip to content

Commit

Permalink
Merge pull request #507 from nervosnetwork/rc/v0.37.0
Browse files Browse the repository at this point in the history
Rc/v0.37.0
  • Loading branch information
Keith-CY authored Oct 25, 2020
2 parents 3184375 + 1d6c3bc commit 9e4d525
Show file tree
Hide file tree
Showing 67 changed files with 3,425 additions and 3,065 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.37.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.36.1...v0.37.0) (2020-10-25)


### Features

* **core:** prune cached cells according to data returned from lumos indexer ([5d09d61](https://github.com/nervosnetwork/ckb-sdk-js/commit/5d09d616cdf750c74eafa5728cba35a9dbd0e4dc))
* **rpc:** add rpc#pingPeers, rpc#getTransactionProof, rpc#verifyTransactionProof and rpc#clearBannedAddresses ([#506](https://github.com/nervosnetwork/ckb-sdk-js/issues/506)) ([61efe5e](https://github.com/nervosnetwork/ckb-sdk-js/commit/61efe5e7b7638c7a41163e3b3b05bc92261f711a))
* **rpc:** remove rpc#getCellsByLockHash ([#504](https://github.com/nervosnetwork/ckb-sdk-js/issues/504)) ([2071308](https://github.com/nervosnetwork/ckb-sdk-js/commit/20713087ede57289ecdc0c3188614d62f52f4f25))
* **utils:** remove support of [email protected] ([b94d318](https://github.com/nervosnetwork/ckb-sdk-js/commit/b94d31886fe44f56812eedf5f035e41d9c0c9240))


### Performance Improvements

* bump deps ([43c71b8](https://github.com/nervosnetwork/ckb-sdk-js/commit/43c71b85e71ec2468b10efb5411ec27c8121cfd2))


### BREAKING CHANGES

* **utils:** Remove explicit support of [email protected]





## [0.36.2](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.36.1...v0.36.2) (2020-10-20)


Expand Down
6 changes: 2 additions & 4 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.36.2"
"version": "0.37.0"
}
12 changes: 12 additions & 0 deletions packages/ckb-sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.37.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.36.1...v0.37.0) (2020-10-25)


### Features

* **core:** prune cached cells according to data returned from lumos indexer ([5d09d61](https://github.com/nervosnetwork/ckb-sdk-js/commit/5d09d616cdf750c74eafa5728cba35a9dbd0e4dc))
* **rpc:** remove rpc#getCellsByLockHash ([#504](https://github.com/nervosnetwork/ckb-sdk-js/issues/504)) ([2071308](https://github.com/nervosnetwork/ckb-sdk-js/commit/20713087ede57289ecdc0c3188614d62f52f4f25))





## [0.36.2](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.36.1...v0.36.2) (2020-10-20)


Expand Down
13 changes: 0 additions & 13 deletions packages/ckb-sdk-core/__mocks__/data/cell.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/ckb-sdk-core/__mocks__/rpc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
const genesisBlock = require('./data/genesisBlock.json')
const liveCell = require('./data/liveCell')
const cell = require('./data/cell.json')

module.exports = {
getBlockByNumber: jest.fn().mockResolvedValue(genesisBlock),
getTipBlockNumber: jest.fn().mockResolvedValue('0x1000'),
getCellsByLockHash: jest.fn().mockResolvedValue(
Array.from(
{
length: 100,
},
() => cell
)
),
getLiveCell: jest.fn().mockResolvedValue(liveCell),
}
Loading

0 comments on commit 9e4d525

Please sign in to comment.