Skip to content

Commit

Permalink
Merge pull request #433 from nervosnetwork/rc/v0.31.0
Browse files Browse the repository at this point in the history
[ᚬmaster] Rc/v0.31.0
  • Loading branch information
Keith-CY authored Apr 21, 2020
2 parents 9a859ab + f05b531 commit 05cda8a
Show file tree
Hide file tree
Showing 15 changed files with 1,672 additions and 1,138 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.31.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.30.0...v0.31.0) (2020-04-21)

**Note:** Version bump only for package ckb-sdk-js





# [0.30.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.29.1...v0.30.0) (2020-03-23)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.30.0"
"version": "0.31.0"
}
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,24 @@
},
"devDependencies": {
"@cryptape/sdk-ts-config": "0.0.1",
"@types/node": "12.12.6",
"@typescript-eslint/eslint-plugin": "2.6.1",
"@typescript-eslint/parser": "2.6.1",
"@types/node": "13.11.0",
"@typescript-eslint/eslint-plugin": "2.26.0",
"@typescript-eslint/parser": "2.26.0",
"commitizen": "4.0.3",
"cz-conventional-changelog": "3.0.2",
"dotenv": "8.2.0",
"eslint": "6.6.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-config-prettier": "6.7.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jest": "23.0.3",
"eslint-plugin-prettier": "3.1.1",
"husky": "3.0.9",
"jest": "24.9.0",
"cz-conventional-changelog": "3.1.0",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-config-prettier": "6.10.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-prettier": "3.1.2",
"husky": "4.2.3",
"jest": "25.2.7",
"lerna": "3.20.2",
"lint-staged": "9.4.2",
"prettier": "1.18.2",
"typedoc": "0.15.2",
"typescript": "3.7.2"
"lint-staged": "10.1.1",
"prettier": "2.0.2",
"typedoc": "0.17.3",
"typescript": "3.8.3"
},
"config": {
"commitizen": {
Expand Down
8 changes: 8 additions & 0 deletions packages/ckb-sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.31.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.30.0...v0.31.0) (2020-04-21)

**Note:** Version bump only for package @nervosnetwork/ckb-sdk-core





# [0.30.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.29.1...v0.30.0) (2020-03-23)

**Note:** Version bump only for package @nervosnetwork/ckb-sdk-core
Expand Down
10 changes: 5 additions & 5 deletions packages/ckb-sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nervosnetwork/ckb-sdk-core",
"version": "0.30.0",
"version": "0.31.0",
"description": "JavaScript SDK for Nervos Network CKB Project",
"author": "Nervos <[email protected]>",
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js#readme",
Expand Down Expand Up @@ -31,9 +31,9 @@
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues"
},
"dependencies": {
"@nervosnetwork/ckb-sdk-rpc": "0.30.0",
"@nervosnetwork/ckb-sdk-utils": "0.30.0",
"@nervosnetwork/ckb-types": "0.30.0"
"@nervosnetwork/ckb-sdk-rpc": "0.31.0",
"@nervosnetwork/ckb-sdk-utils": "0.31.0",
"@nervosnetwork/ckb-types": "0.31.0"
},
"gitHead": "493655c726e4e4918dfe4ac7ef5d1fec1a539117"
"gitHead": "e4fba4c84097ea24aef3ec2510e8bbc60a2de532"
}
1 change: 0 additions & 1 deletion packages/ckb-sdk-rpc/.env.example

This file was deleted.

8 changes: 8 additions & 0 deletions packages/ckb-sdk-rpc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.31.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.30.0...v0.31.0) (2020-04-21)

**Note:** Version bump only for package @nervosnetwork/ckb-sdk-rpc





# [0.30.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.29.1...v0.30.0) (2020-03-23)


Expand Down
10 changes: 2 additions & 8 deletions packages/ckb-sdk-rpc/__tests__/ckb-rpc-helpers.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
const path = require('path')
const http = require('http')
const https = require('https')

const env = path.join(__dirname, '../.env')

const config = require('dotenv').config({
path: env,
}).parsed

const NODE_URL = 'http://localhost:8114'
const CKBRPC = require('../lib').default

const rpc = new CKBRPC(config.RPC_URL)
const rpc = new CKBRPC(NODE_URL)
describe('ckb-rpc settings and helpers', () => {
it('set node url', () => {
const node = {
Expand Down
13 changes: 7 additions & 6 deletions packages/ckb-sdk-rpc/__tests__/ckb-rpc.test.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
const path = require('path')
const http = require('http')

const httpAgent = new http.Agent({ keepAlive: true })

const NODE_URL = 'http://localhost:8114'

const env = path.join(__dirname, '../.env')
const config = require('dotenv').config({
path: env,
}).parsed
const CKBRPC = require('../lib').default

const rpc = new CKBRPC(config.RPC_URL)
const rpc = new CKBRPC(NODE_URL)
rpc.setNode({ httpAgent })

describe('ckb-rpc success', () => {
it('get blockchain info', async () => {
Expand Down
11 changes: 5 additions & 6 deletions packages/ckb-sdk-rpc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nervosnetwork/ckb-sdk-rpc",
"version": "0.30.0",
"version": "0.31.0",
"description": "RPC module of @nervosnetwork/ckb-sdk-core",
"author": "Nervos <[email protected]>",
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js/packages/ckb-rpc#readme",
Expand Down Expand Up @@ -33,12 +33,11 @@
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues"
},
"dependencies": {
"@nervosnetwork/ckb-sdk-utils": "0.30.0",
"axios": "0.19.0"
"@nervosnetwork/ckb-sdk-utils": "0.31.0",
"axios": "0.19.2"
},
"devDependencies": {
"@nervosnetwork/ckb-types": "0.30.0",
"dotenv": "8.1.0"
"@nervosnetwork/ckb-types": "0.31.0"
},
"gitHead": "493655c726e4e4918dfe4ac7ef5d1fec1a539117"
"gitHead": "e4fba4c84097ea24aef3ec2510e8bbc60a2de532"
}
8 changes: 8 additions & 0 deletions packages/ckb-sdk-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.31.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.30.0...v0.31.0) (2020-04-21)

**Note:** Version bump only for package @nervosnetwork/ckb-sdk-utils





# [0.30.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.29.1...v0.30.0) (2020-03-23)

**Note:** Version bump only for package @nervosnetwork/ckb-sdk-utils
Expand Down
12 changes: 6 additions & 6 deletions packages/ckb-sdk-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nervosnetwork/ckb-sdk-utils",
"version": "0.30.0",
"version": "0.31.0",
"description": "Utils module of @nervosnetwork/ckb-sdk-core",
"author": "Nervos <[email protected]>",
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js#readme",
Expand Down Expand Up @@ -31,15 +31,15 @@
"url": "https://github.com/nervosnetwork/ckb-sdk-js/issues"
},
"dependencies": {
"@nervosnetwork/ckb-types": "0.30.0",
"@nervosnetwork/ckb-types": "0.31.0",
"blake2b-wasm": "2.1.0",
"elliptic": "6.5.2",
"jsbi": "3.1.1"
"jsbi": "3.1.2"
},
"devDependencies": {
"@types/bitcoinjs-lib": "4.0.1",
"@types/elliptic": "6.4.8",
"@types/bitcoinjs-lib": "5.0.0",
"@types/elliptic": "6.4.12",
"@types/utf8": "2.1.6"
},
"gitHead": "493655c726e4e4918dfe4ac7ef5d1fec1a539117"
"gitHead": "e4fba4c84097ea24aef3ec2510e8bbc60a2de532"
}
8 changes: 8 additions & 0 deletions packages/ckb-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.31.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.30.0...v0.31.0) (2020-04-21)

**Note:** Version bump only for package @nervosnetwork/ckb-types





# [0.30.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.29.1...v0.30.0) (2020-03-23)


Expand Down
4 changes: 2 additions & 2 deletions packages/ckb-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nervosnetwork/ckb-types",
"version": "0.30.0",
"version": "0.31.0",
"description": "Type module of @nervosnetwork/ckb-sdk-core",
"author": "Nervos <[email protected]>",
"homepage": "https://github.com/nervosnetwork/ckb-sdk-js#readme",
Expand All @@ -23,5 +23,5 @@
"scripts": {
"doc": "../../node_modules/.bin/typedoc --out docs ./index.d.ts --mode modules --includeDeclarations --excludeExternals --ignoreCompilerErrors --theme default --readme README.md"
},
"gitHead": "493655c726e4e4918dfe4ac7ef5d1fec1a539117"
"gitHead": "e4fba4c84097ea24aef3ec2510e8bbc60a2de532"
}
Loading

0 comments on commit 05cda8a

Please sign in to comment.