Skip to content

Commit 1e64da6

Browse files
committed
config resolved
2 parents 991bdde + 84c1f8f commit 1e64da6

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

src/infrastructure/AccountHttp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class AccountHttp extends Http implements AccountRepository {
165165
* @param address - User address
166166
* @returns Observable<MultisigAccountGraphInfo>
167167
*/
168-
public getMultisigAccountGraphInfo(address: Address): Observable<MultisigAccountGraphInfo> {
168+
public getMultisigAccountGraphInfo(address: Address): Observable<MultisigAccountGraphInfo > {
169169
return this.getNetworkTypeObservable().pipe(
170170
mergeMap((networkType) => observableFrom(
171171
this.accountRoutesApi.getAccountMultisigGraph(address.plain())).pipe(map((multisigAccountGraphInfosDTO) => {
@@ -195,7 +195,7 @@ export class AccountHttp extends Http implements AccountRepository {
195195
* @returns Observable<Transaction[]>
196196
*/
197197
public transactions(publicAccount: PublicAccount,
198-
queryParams?: QueryParams): Observable<Transaction[]> {
198+
queryParams?: QueryParams): Observable<Transaction[] > {
199199
return observableFrom(
200200
this.accountRoutesApi.transactions(publicAccount.publicKey, queryParams != null ? queryParams : {})).pipe(
201201
map((transactionsDTO) => {
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* Copyright 2019 NEM
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"),
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* Copy of the TransactionType class
19+
*/
20+
21+
export enum TransactionTypeEnum {
22+
TRANSFER = 0x4154,
23+
REGISTER_NAMESPACE = 0x414E,
24+
ADDRESS_ALIAS = 0x424E,
25+
MOSAIC_ALIAS = 0x434E,
26+
MOSAIC_DEFINITION = 0x414D,
27+
MOSAIC_SUPPLY_CHANGE = 0x424D,
28+
MODIFY_MULTISIG_ACCOUNT = 0x4155,
29+
AGGREGATE_COMPLETE = 0x4141,
30+
AGGREGATE_BONDED = 0x4241,
31+
LOCK = 0x4148,
32+
SECRET_LOCK = 0x4152,
33+
SECRET_PROOF = 0x4252,
34+
MODIFY_ACCOUNT_PROPERTY_ADDRESS = 0x4150,
35+
MODIFY_ACCOUNT_PROPERTY_MOSAIC = 0x4250,
36+
MODIFY_ACCOUNT_PROPERTY_ENTITY_TYPE = 0x4350,
37+
}

0 commit comments

Comments
 (0)