Skip to content

Commit acbce5e

Browse files
author
Grégory Saive
authored
Merge pull request #154 from rg911/task/dragon-02-features
Dragon Features
2 parents f4451c1 + c70c71c commit acbce5e

File tree

89 files changed

+3250
-688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+3250
-688
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file.
33

44
The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

6+
## [0.12.0] - 04-Jun-2019
7+
8+
- Added 'Receipt'
9+
- Added 'generationHash' to transaction.sign(...) to prevent transactions from being replayed on different networks by prepending the network generation hash to transaction data prior to signing and verifying.
10+
- Added 'recipient' (unresolved address) field to SecretProofTransaction.
11+
- BlockChainHttp routes into 3 routes (Block, Chain, Diagnostic).
12+
- New endpoints
13+
1. AccountHttp: getAccountsNames(accountIds: Address[]): Observable<AccountNames[]>;
14+
2. MosaicHttp: getMosaicsNames(mosaicIds: MosaicId[]): Observable<MosaicNames[]>;
15+
- Updated Dto models from latest rest swagger doc.
16+
- Fixed / updated e2e tests.
17+
- Removed Mosaic Levy property from both model and transaction.
18+
619
## [0.11.6] - 03-Jun-2019
720

821
- Version lock for cow compatibility

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@ with the NEM2 (a.k.a Catapult)
1010

1111
## Important Notes
1212

13-
Due to a network upgrade with [catapult-server@cow](https://github.com/nemtech/catapult-server/releases/tag/v0.3.0.2) version, **transactions from Alpaca&Bison are not compatible anymore**.
13+
### Dragon Network Compatibility ([email protected])
14+
15+
Due to a network upgrade with [catapult-server@dragon](https://github.com/nemtech/catapult-server/releases/tag/v0.4.0.1) version, **it is recommended to use this package's 0.10.0 version and upwards in order to use this package with Dragon versioned networks**.
16+
17+
The upgrade to this SDK's [version v0.12.0](https://github.com/nemtech/nem2-sdk-typescript-javascript/releases/tag/v0.12.0) is mandatory for **dragon compatibility**.
1418

15-
The upgrade to this SDK's [version v0.11.5](https://github.com/nemtech/nem2-sdk-typescript-javascript/releases/tag/v0.11.5) is mandatory for **cow compatibility**.
19+
[version v0.11.6](https://github.com/nemtech/nem2-sdk-typescript-javascript/releases/tag/v0.11.6) is the latest locked version for **cow compatibility**.
20+
21+
Due to a network upgrade with [catapult-server@cow](https://github.com/nemtech/catapult-server/releases/tag/v0.3.0.2) version, **transactions from Alpaca&Bison are not compatible anymore**.
1622

1723
Other versions like [version v0.10.1-beta](https://github.com/nemtech/nem2-sdk-typescript-javascript/releases/tag/v0.10.1-beta) can be used for **bison** network version.
1824

@@ -40,7 +46,7 @@ The release notes for the nem2-sdk can be found [here](CHANGELOG.md).
4046

4147
## Contributing
4248

43-
This project is developed and maintained by NEM Foundation. Contributions are welcome and appreciated. You can find [nem2-sdk on GitHub][self];
49+
This project is developed and maintained by NEM Foundation. Contributions are welcome and appreciated. You can find [nem2-sdk on GitHub][self];
4450
Feel free to start an issue or create a pull request. Check [CONTRIBUTING](CONTRIBUTING.md) before start.
4551

4652
## Getting help
@@ -55,6 +61,7 @@ Please, use the following available resources to get help:
5561

5662
Important versions listed below. Refer to the [Changelog](CHANGELOG.md) for a full history of the project.
5763

64+
- [0.12.0](CHANGELOG.md#0120-04-Jun-2019) - **Dragon compatible** - 04.06.2019
5865
- [0.11.6](CHANGELOG.md#0116-03-Jun-2019) - **Cow compatible** - 03.06.2019
5966
- [0.11.5](CHANGELOG.md#0115-18-Apr-2019) - **Cow compatible** - 18.04.2019
6067
- [0.11.4](CHANGELOG.md#0114-17-Apr-2019) - **Cow compatible** - 17.04.2019
@@ -64,7 +71,7 @@ Important versions listed below. Refer to the [Changelog](CHANGELOG.md) for a fu
6471
- [0.10.1-beta](CHANGELOG.md#v0101-beta) - **Alpaca compatible** 07.2018
6572
- [0.9.5](CHANGELOG.md#095-27-Jun-2018) - **Alpaca compatible** 07.2018
6673

67-
## License
74+
## License
6875

6976
Copyright (c) 2018-2019 NEM
7077
Licensed under the [Apache License 2.0](LICENSE)

e2e/conf/network.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"apiUrl": "http://localhost:3000",
3+
"generationHash": "57F7DA205008026C776CB6AED843393F04CD458E0AA2D9F1D5F31A402072B2D6",
34
"testAccount": {
45
"privateKey": "D242FB34C2C4DD36E995B9C865F93940065E326661BA5A4A247331D211FE3A3D",
56
"address": "SBMYYFIM6VGG45KWGSZLSXFHP74WVT7MOF6UYBHT",
@@ -50,4 +51,4 @@
5051
"address": "SAALWHKCWH72J53M3M4LB6UYFGLQMAOXJACWJX2U",
5152
"publicKey": "092CAAFEBCB51C64A7CE423050964492407B264CA306D063DBA927A2304C4DD8"
5253
}
53-
}
54+
}

0 commit comments

Comments
 (0)