From 841aa0719df326f61dee60898dca521a34d49993 Mon Sep 17 00:00:00 2001 From: tony Date: Mon, 8 Apr 2019 16:33:50 +0800 Subject: [PATCH 1/3] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 611567e..8693c76 100644 --- a/README.md +++ b/README.md @@ -133,9 +133,9 @@ Here are some most common scenarios: 1. Develop a web application(**Recommend**): `Connex` + [Connex powered VeChain wallets](https://env.vechain.org/) 2. An alternative for web application: `Thorify + Web3` + [Comet](https://env.vechain.org/#comet) -3. Backend service in Node.js: `Thorify+Web3` -4. Contract development in [Truffle](https://truffleframework.com/): `Web3+Web3-Gear` -5. Contract development in [Remix-IDE](https://remix.ethereum.org/): `Web3+Web3-Gear` +3. Backend service in Node.js: `Thorify + Web3` +4. Contract development in [Truffle](https://truffleframework.com/): `Web3 + Web3-Gear` +5. Contract development in [Remix-IDE](https://remix.ethereum.org/): `Web3 + Web3-Gear` ## FAQ From 34b6323291f4716d198f3d506c2fcb448714b12e Mon Sep 17 00:00:00 2001 From: tony Date: Mon, 8 Apr 2019 17:10:12 +0800 Subject: [PATCH 2/3] doc: add debug --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8693c76..a92ae23 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ A web3 adaptor for VeChain [Thor](https://github.com/vechain/thor) RESTful API. * [Subscriptions support](#subscriptions-support) * [Notes](#notes) * [Compatibility](#compatibility) +* [Debugging](#debugging) * [License](#License) ## Install @@ -166,6 +167,15 @@ Need thor@v1.0.2 and later to work with subscription module. Currently, `Thorify` is compatible with `>= web3@1.0.0-beta.1` and `<= web3@1.0.0-beta.37`. +## Debugging + +```shell +DEBUG=thor:* ts-node index.ts +``` + +`ts-node index.ts` can be replaced with command to run your code, this example is only for Node.js environment. For more detailed info, please refer to [debug](https://www.npmjs.com/package/debug). + + ## License This project is licensed under the MIT license, Copyright (c) 2017 VeChain Foundation. For more information see [LICENSE.md](LICENSE.md). From 23fca61b12f0032de102bb193f2ae15e8ba0e972 Mon Sep 17 00:00:00 2001 From: tony Date: Mon, 8 Apr 2019 17:12:54 +0800 Subject: [PATCH 3/3] bump version to v1.1.1 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index e42f127..09834cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "thorify", - "version": "1.1.0", + "version": "1.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3543,9 +3543,9 @@ "dev": true }, "js-yaml": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", - "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dev": true, "requires": { "argparse": "^1.0.7", diff --git a/package.json b/package.json index ffa4f4e..7321a7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "thorify", - "version": "1.1.0", + "version": "1.1.1", "description": "A web3 adaptor for VeChain Thor RESTful HTTP API.", "main": "dist/index.js", "typings": "dist/index.d.ts",