remove deprecated contract fields and add 'extra' field for merchant data

This commit is contained in:
Florian Dold 2017-02-12 19:31:46 +01:00
parent cce3f589dc
commit dd5b679791
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -450,12 +450,6 @@ export class Contract {
@Checkable.List(Checkable.AnyObject)
auditors: any[];
/**
* DEPRECATED alias for pay_deadline.
*/
@Checkable.Optional(Checkable.String)
expiry: string;
@Checkable.Optional(Checkable.String)
pay_deadline: string;
@ -492,15 +486,12 @@ export class Contract {
@Checkable.Optional(Checkable.String)
repurchase_correlation_id: string;
/**
* DEPRECATED alias for instance
*/
@Checkable.Optional(Checkable.String)
receiver: string;
@Checkable.Optional(Checkable.String)
instance: string;
@Checkable.Any
extra: any;
static checked: (obj: any) => Contract;
}