diff --git a/RELEASING.md b/RELEASING.md index 1bb34b27..82b7ebd0 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,4 +1,4 @@ -# Bumping up the version +## Bumping up the version The following files must be updated: `src/constants.js` and `package.json`. @@ -8,4 +8,11 @@ In the `package.json`, the field `version` must be updated. In case this new version depends on a new API version, the field `MIN_API_VERSION` must also be updated on `src/constants.js`. -Create a git tag and a new release on GitHub. \ No newline at end of file +Create a git tag and a new release on GitHub. + +## Deploying +Deploys are automated using Github Actions. + +To deploy to the `testnet` website, simply commit to the `master` branch. + +To deploy to the `mainnet` website, create a release in Github using a tag in the format `v0.0.0`. You should use the same version that you updated in the files in the previous section. diff --git a/package-lock.json b/package-lock.json index 89125c22..fa73f90f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "hathor-admin", - "version": "0.8.1", + "version": "0.9.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1124,9 +1124,9 @@ } }, "@hathor/wallet-lib": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/@hathor/wallet-lib/-/wallet-lib-0.23.1.tgz", - "integrity": "sha512-xrmqU65wKvV99t7iny/iMsvkK8vD5dqnVmW1mfRY7I5AW3yYPf3o6tK6g4KTbduYp7ao59Q3gAj/gs5xTHKHiQ==", + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/@hathor/wallet-lib/-/wallet-lib-0.27.0.tgz", + "integrity": "sha512-syvoKDRqTMZdGj/7J7DO9c1FnB/+YHHHqnCD5pi0iZCN9rrCJzgYh1xC9VTa4zkeiveV1SVwpEMzQ+F27s+4TA==", "requires": { "axios": "^0.18.0", "bitcore-lib": "^8.25.10", @@ -2794,9 +2794,9 @@ } }, "base-x": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", - "integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz", + "integrity": "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==", "requires": { "safe-buffer": "^5.0.1" } @@ -5962,8 +5962,7 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true, - "optional": true + "bundled": true }, "aproba": { "version": "1.2.0", @@ -5981,13 +5980,11 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true, - "optional": true + "bundled": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -6000,18 +5997,15 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "concat-map": { "version": "0.0.1", - "bundled": true, - "optional": true + "bundled": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "core-util-is": { "version": "1.0.2", @@ -6114,8 +6108,7 @@ }, "inherits": { "version": "2.0.4", - "bundled": true, - "optional": true + "bundled": true }, "ini": { "version": "1.3.5", @@ -6125,7 +6118,6 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -6138,20 +6130,17 @@ "minimatch": { "version": "3.0.4", "bundled": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true, - "optional": true + "bundled": true }, "minipass": { "version": "2.9.0", "bundled": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -6168,7 +6157,6 @@ "mkdirp": { "version": "0.5.1", "bundled": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -6249,8 +6237,7 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, - "optional": true + "bundled": true }, "object-assign": { "version": "4.1.1", @@ -6260,7 +6247,6 @@ "once": { "version": "1.4.0", "bundled": true, - "optional": true, "requires": { "wrappy": "1" } @@ -6336,8 +6322,7 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true, - "optional": true + "bundled": true }, "safer-buffer": { "version": "2.1.2", @@ -6367,7 +6352,6 @@ "string-width": { "version": "1.0.2", "bundled": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -6385,7 +6369,6 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -6424,13 +6407,11 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true, - "optional": true + "bundled": true }, "yallist": { "version": "3.1.1", - "bundled": true, - "optional": true + "bundled": true } } }, diff --git a/package.json b/package.json index 262143ec..6058c999 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "hathor-admin", - "version": "0.8.1", + "version": "0.9.0", "private": true, "dependencies": { - "@hathor/wallet-lib": "^0.23.1", + "@hathor/wallet-lib": "^0.27.0", "axios": "^0.17.1", "bootstrap": "^4.0.0", "d3-selection": "^1.3.2", diff --git a/src/constants.js b/src/constants.js index 7e54c480..81de9962 100644 --- a/src/constants.js +++ b/src/constants.js @@ -45,7 +45,7 @@ export const TESTNET_GENESIS_TX = [ export const DECIMAL_PLACES = 2; -export const VERSION = '0.8.1'; +export const VERSION = '0.9.0'; export const MIN_API_VERSION = '0.33.0';