Skip to content

Commit 5870490

Browse files
authored
Merge pull request #213 from ainblockchain/release/v1.13.1
Upgrade version to 1.13.1
2 parents e1c5d17 + 9c9abfd commit 5870490

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ain-js
2-
32
AI Network Blockchain SDK for javascript (or typescript).
43

4+
## API Documentation
5+
API documentation is available at https://ainblockchain.github.io/ain-js/.
56

67
## Installation
78
```
89
yarn add @ainblockchain/ain-js
910
```
1011

11-
1212
## Examples
1313
```
1414
const Ain = require('./lib/ain').default;
@@ -34,29 +34,27 @@ const accounts = ain.db.ref('/accounts').getValue().then(result => {
3434
```
3535

3636
## Test How-To
37+
For testing, you need a blockchain node cluster running locally.
3738
1. Clone AIN Blockchain and install
3839
```
3940
git clone [email protected]:ainblockchain/ain-blockchain.git
41+
cd ain-blockchain
4042
yarn install
4143
```
4244

4345
2. Start blockchain locally
4446
```
47+
cd ain-blockchain
4548
bash start_local_blockchain.sh
4649
```
47-
* Note that the node 2 of the blockchain needs to be started with ENABLE_EVENT_HANDLER=true env variable for the event manager test cases.
50+
* Note that the node 2 of the blockchain needs to be started with ENABLE_EVENT_HANDLER=true env variable for the event manager test cases.
4851

4952
3. Run tests
5053
```
5154
yarn run test
5255
yarn run test_snapshot # update test snapshot files
5356
```
5457

55-
56-
## API Documentation
57-
58-
API documentation is available at https://ainblockchain.github.io/ain-js/.
59-
6058
## LICENSE
6159

6260
MPL-2.0

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ainblockchain/ain-js",
3-
"version": "1.13.0",
3+
"version": "1.13.1",
44
"description": "",
55
"main": "lib/ain.js",
66
"scripts": {

0 commit comments

Comments
 (0)