Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit b4b823b

Browse files
committed
Added response type for initNew
1 parent e82eb61 commit b4b823b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/interfaces/network.interfaces.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
IKeypair,
1414
IKeypairEncrypted,
1515
IMasterKeyEncrypted,
16+
INewWalletResponse,
1617
IOutPoint,
1718
ITransaction,
1819
} from './general.interfaces';
@@ -33,7 +34,7 @@ export type IContentType = {
3334
makeRbPaymentResponse?: IMakeRbPaymentResponse;
3435
newKeypairResponse?: IKeypairEncrypted;
3536
getMasterKeyResponse?: IMasterKeyEncrypted;
36-
initNewResponse?: [string, IMasterKeyEncrypted];
37+
initNewResponse?: INewWalletResponse;
3738
fromSeedResponse?: IMasterKeyEncrypted;
3839
regenWalletResponse?: IKeypairEncrypted[];
3940
signMessageResponse?: IGenericKeyPair<string>;

src/services/ablock.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class ABlockWallet {
9898
status: 'success',
9999
reason: ISuccessInternal.ClientInitialized,
100100
content: {
101-
...initIResult.value,
101+
initNewResponse: initIResult.value,
102102
},
103103
} as IClientResponse;
104104
}

0 commit comments

Comments
 (0)