Skip to content

Commit

Permalink
Merge pull request #20 from dappflow/re-trigger-release
Browse files Browse the repository at this point in the history
Re trigger release
  • Loading branch information
valerioleo authored Apr 27, 2020
2 parents 0b5df80 + b2b902d commit de7c99f
Show file tree
Hide file tree
Showing 4 changed files with 2,964 additions and 85 deletions.
15 changes: 11 additions & 4 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
["@semantic-release/npm", {
"npmPublish": true
['@semantic-release/npm', {
'npmPublish': true
}],
["@semantic-release/github", {
"publish": true
['@semantic-release/github', {
'publish': true
}],
['@semantic-release/git', {
'assets': ['CHANGELOG.md', 'package.json'],
'message': 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
}],
['@semantic-release/changelog', {
'changelogFile': 'CHANGELOG.md',
}]
]
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dappflow-node",
"version": "1.0.7",
"version": "0.0.0-development",
"description": "Dappflow node.js SDK",
"main": "src/dappflow.js",
"repository": {
Expand All @@ -11,11 +11,14 @@
"homepage": "https://dappflow.com",
"scripts": {
"integration": "node_modules/.bin/ava src/**/**.integration.js --serial --only",
"lint": "eslint"
"lint": "eslint",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"ava": "^2.4.0",
"babel-eslint": "^10.1.0",
"eslint": "^5.16.0",
Expand All @@ -25,7 +28,8 @@
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^4.2.5",
"lint-staged": "^10.1.7"
"lint-staged": "^10.1.7",
"semantic-release": "^17.0.7"
},
"dependencies": {
"@hapi/joi": "^17.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/signer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const signer = privKey => {
if(!privKey || typeof privKey !== 'string') {
throw Error('To use the default signer you must pass a valid privKey string. Both hex or mnemonic versions are accepted.');
}

const wallet = isMnemonin(privKey)
? ethers.Wallet.fromMnemonic(privKey)
: new ethers.Wallet(privKey);
Expand Down
Loading

0 comments on commit de7c99f

Please sign in to comment.