Skip to content

Commit 5ca028b

Browse files
authored
fix: 1.0.2 changelog update (#811)
fix: Upgraded symbol generated client to 1.0.2. fix: Unit tests using the new open api fields.
1 parent 56158b4 commit 5ca028b

File tree

5 files changed

+78
-16
lines changed

5 files changed

+78
-16
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
44

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

7+
## [1.0.2] - 19-Oct-2021
8+
9+
**Milestone**: Symbol Mainnet
10+
Package | Version | Link
11+
---|---|---
12+
SDK Core| v1.0.2 | [symbol-sdk](https://www.npmjs.com/package/symbol-sdk)
13+
Catbuffer | v1.0.1 | [catbuffer-typescript](https://www.npmjs.com/package/catbuffer-typescript)
14+
Client Library | v1.0.1 | [symbol-openapi-typescript-fetch-client](https://www.npmjs.com/package/symbol-openapi-typescript-fetch-client)
15+
16+
- feat: Multisig multilevel subscription in web listener.
17+
- feat: Added Deployment data to `ServerInfo`.
18+
- fix: Announce method missing observable map.
19+
- fix: Allowing plain base32 addresses in rest payloads. Both address formats are supported.
20+
- fix: Cosigning from transaction hash only.
21+
- fix: Transaction signWith method broken into smaller methods.
22+
723
## [1.0.1] - 24-May-2021
824

925
**Milestone**: Symbol Mainnet

package-lock.json

Lines changed: 33 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"dependencies": {
9999
"@js-joda/core": "^3.2.0",
100100
"bluebird": "^3.7.2",
101-
"catbuffer-typescript": "0.1.1",
101+
"catbuffer-typescript": "1.0.0",
102102
"crypto-js": "^4.0.0",
103103
"diff": "^4.0.2",
104104
"futoin-hkdf": "^1.3.2",
@@ -112,7 +112,7 @@
112112
"ripemd160": "^2.0.2",
113113
"rxjs": "^6.6.7",
114114
"rxjs-compat": "^6.6.3",
115-
"symbol-openapi-typescript-fetch-client": "1.0.1-SNAPSHOT.202106160954",
115+
"symbol-openapi-typescript-fetch-client": "^1.0.2",
116116
"tweetnacl": "^1.0.3",
117117
"utf8": "^2.1.2",
118118
"ws": "^7.3.1"

test/infrastructure/receipt/CreateReceiptFromDTO.spec.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ describe('Receipt - CreateStatementFromDTO', () => {
290290
addressResolutionStatements: [
291291
{
292292
id: '1',
293+
meta: {
294+
timestamp: '537673514',
295+
},
293296
statement: {
294297
height: '1488',
295298
unresolved: account.address.encoded(),
@@ -312,6 +315,9 @@ describe('Receipt - CreateStatementFromDTO', () => {
312315

313316
const dtoJson: ResolutionStatementInfoDTO = {
314317
id: '1',
318+
meta: {
319+
timestamp: '537673514',
320+
},
315321
statement: {
316322
height: '1488',
317323
unresolved: account.address.encoded(),
@@ -332,6 +338,9 @@ describe('Receipt - CreateStatementFromDTO', () => {
332338

333339
const dtoId = {
334340
id: '1',
341+
meta: {
342+
timestamp: '537673514',
343+
},
335344
statement: {
336345
height: '1488',
337346
unresolved: '9103B60AAF27626883000000000000000000000000000000',
@@ -353,6 +362,9 @@ describe('Receipt - CreateStatementFromDTO', () => {
353362

354363
const dtoError: ResolutionStatementInfoDTO = {
355364
id: 'abc',
365+
meta: {
366+
timestamp: '537673514',
367+
},
356368
statement: {
357369
height: '1488',
358370
unresolved: '',
@@ -376,6 +388,9 @@ describe('Receipt - CreateStatementFromDTO', () => {
376388
it('Statement - Error', () => {
377389
const dtoError: TransactionStatementInfoDTO = {
378390
id: 'ABC',
391+
meta: {
392+
timestamp: '537673514',
393+
},
379394
statement: {
380395
height: '52',
381396
source: {

test/model/receipt/ResolutionStatement.spec.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ describe('ResolutionStatement', () => {
3333
addressResolutionStatements = [
3434
{
3535
id: '1',
36+
meta: {
37+
timestamp: '537673514',
38+
},
3639
statement: {
3740
height: '1473',
3841
unresolved: '9156258DE356F030A5000000000000000000000000000000',
@@ -51,6 +54,9 @@ describe('ResolutionStatement', () => {
5154
mosaicResolutionStatements = [
5255
{
5356
id: '2',
57+
meta: {
58+
timestamp: '537673514',
59+
},
5460
statement: {
5561
height: '1473',
5662
unresolved: '85BBEA6CC462B244',
@@ -74,6 +80,9 @@ describe('ResolutionStatement', () => {
7480
},
7581
{
7682
id: '3',
83+
meta: {
84+
timestamp: '537673514',
85+
},
7786
statement: {
7887
height: '1473',
7988
unresolved: 'E81F622A5B11A340',
@@ -90,6 +99,9 @@ describe('ResolutionStatement', () => {
9099
},
91100
{
92101
id: '4',
102+
meta: {
103+
timestamp: '537673514',
104+
},
93105
statement: {
94106
height: '1500',
95107
unresolved: '85BBEA6CC462B244',

0 commit comments

Comments
 (0)