From 97f6e68ce3a515938228b9a4d3e41b5f4b25a015 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 29 Jan 2018 22:58:47 +0100 Subject: change protocol to string amount network format --- src/walletTypes.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/walletTypes.ts') diff --git a/src/walletTypes.ts b/src/walletTypes.ts index aba7dbfba..edcf65830 100644 --- a/src/walletTypes.ts +++ b/src/walletTypes.ts @@ -53,13 +53,13 @@ export class CreateReserveResponse { * Exchange URL where the bank should create the reserve. * The URL is canonicalized in the response. */ - @Checkable.String + @Checkable.String() exchange: string; /** * Reserve public key of the newly created reserve. */ - @Checkable.String + @Checkable.String() reservePub: string; /** @@ -333,13 +333,13 @@ export class CreateReserveRequest { /** * Exchange URL where the bank should create the reserve. */ - @Checkable.String + @Checkable.String() exchange: string; /** * Wire details for the bank account that sent the funds to the exchange. */ - @Checkable.Optional(Checkable.Any) + @Checkable.Optional(Checkable.Any()) senderWire?: object; /** @@ -359,7 +359,7 @@ export class ConfirmReserveRequest { * Public key of then reserve that should be marked * as confirmed. */ - @Checkable.String + @Checkable.String() reservePub: string; /** @@ -384,14 +384,14 @@ export class ReturnCoinsRequest { /** * The exchange to take the coins from. */ - @Checkable.String + @Checkable.String() exchange: string; /** * Wire details for the bank account of the customer that will * receive the funds. */ - @Checkable.Any + @Checkable.Any() senderWire?: object; /** -- cgit v1.2.3