remove deprecated contract fields and add 'extra' field for merchant data
This commit is contained in:
parent
cce3f589dc
commit
dd5b679791
15
src/types.ts
15
src/types.ts
@ -450,12 +450,6 @@ export class Contract {
|
|||||||
@Checkable.List(Checkable.AnyObject)
|
@Checkable.List(Checkable.AnyObject)
|
||||||
auditors: any[];
|
auditors: any[];
|
||||||
|
|
||||||
/**
|
|
||||||
* DEPRECATED alias for pay_deadline.
|
|
||||||
*/
|
|
||||||
@Checkable.Optional(Checkable.String)
|
|
||||||
expiry: string;
|
|
||||||
|
|
||||||
@Checkable.Optional(Checkable.String)
|
@Checkable.Optional(Checkable.String)
|
||||||
pay_deadline: string;
|
pay_deadline: string;
|
||||||
|
|
||||||
@ -492,15 +486,12 @@ export class Contract {
|
|||||||
@Checkable.Optional(Checkable.String)
|
@Checkable.Optional(Checkable.String)
|
||||||
repurchase_correlation_id: string;
|
repurchase_correlation_id: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* DEPRECATED alias for instance
|
|
||||||
*/
|
|
||||||
@Checkable.Optional(Checkable.String)
|
|
||||||
receiver: string;
|
|
||||||
|
|
||||||
@Checkable.Optional(Checkable.String)
|
@Checkable.Optional(Checkable.String)
|
||||||
instance: string;
|
instance: string;
|
||||||
|
|
||||||
|
@Checkable.Any
|
||||||
|
extra: any;
|
||||||
|
|
||||||
static checked: (obj: any) => Contract;
|
static checked: (obj: any) => Contract;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user