@@ -61,14 +61,12 @@ export class MosaicHttp extends Http implements MosaicRepository {
6161 mergeMap ( ( networkType ) => observableFrom (
6262 this . mosaicRoutesApi . getMosaic ( mosaicId . toHex ( ) ) ) . pipe ( map ( ( mosaicInfoDTO ) => {
6363 return new MosaicInfo (
64- mosaicInfoDTO . meta . active ,
65- mosaicInfoDTO . meta . index ,
6664 mosaicInfoDTO . meta . id ,
6765 new MosaicId ( mosaicInfoDTO . mosaic . mosaicId ) ,
68- new UInt64 ( mosaicInfoDTO . mosaic . nonce ) ,
6966 new UInt64 ( mosaicInfoDTO . mosaic . supply ) ,
7067 new UInt64 ( mosaicInfoDTO . mosaic . height ) ,
7168 PublicAccount . createFromPublicKey ( mosaicInfoDTO . mosaic . owner , networkType ) ,
69+ mosaicInfoDTO . mosaic . revision ,
7270 new MosaicProperties (
7371 new UInt64 ( mosaicInfoDTO . mosaic . properties [ 0 ] ) ,
7472 ( new UInt64 ( mosaicInfoDTO . mosaic . properties [ 1 ] ) ) . compact ( ) ,
@@ -93,14 +91,12 @@ export class MosaicHttp extends Http implements MosaicRepository {
9391 this . mosaicRoutesApi . getMosaics ( mosaicIdsBody ) ) . pipe ( map ( ( mosaicInfosDTO ) => {
9492 return mosaicInfosDTO . map ( ( mosaicInfoDTO ) => {
9593 return new MosaicInfo (
96- mosaicInfoDTO . meta . active ,
97- mosaicInfoDTO . meta . index ,
9894 mosaicInfoDTO . meta . id ,
9995 new MosaicId ( mosaicInfoDTO . mosaic . mosaicId ) ,
100- new UInt64 ( mosaicInfoDTO . mosaic . nonce ) ,
10196 new UInt64 ( mosaicInfoDTO . mosaic . supply ) ,
10297 new UInt64 ( mosaicInfoDTO . mosaic . height ) ,
10398 PublicAccount . createFromPublicKey ( mosaicInfoDTO . mosaic . owner , networkType ) ,
99+ mosaicInfoDTO . mosaic . revision ,
104100 new MosaicProperties (
105101 new UInt64 ( mosaicInfoDTO . mosaic . properties [ 0 ] ) ,
106102 ( new UInt64 ( mosaicInfoDTO . mosaic . properties [ 1 ] ) ) . compact ( ) ,
0 commit comments