aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-03 01:53:53 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-03 01:53:53 +0100
commit2f57643e2ec04af0e8be8a5c2b4110b544946cfc (patch)
treece831f457484e3bc7f069480cd1708ded0e54dde /lib
parentd1291f67551c58168af43698a359cb5ddfd266b0 (diff)
add new fields to contract
Diffstat (limited to 'lib')
-rw-r--r--lib/wallet/types.ts14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/wallet/types.ts b/lib/wallet/types.ts
index 3d21f8229..d5e0d53da 100644
--- a/lib/wallet/types.ts
+++ b/lib/wallet/types.ts
@@ -347,9 +347,15 @@ export class Contract {
@Checkable.List(Checkable.AnyObject)
auditors: any[];
- @Checkable.String
+ /**
+ * DEPRECATED alias for pay_deadline.
+ */
+ @Checkable.Optional(Checkable.String)
expiry: string;
+ @Checkable.Optional(Checkable.String)
+ pay_deadline: string;
+
@Checkable.Any
locations: any;
@@ -383,9 +389,15 @@ 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;
+
static checked: (obj: any) => Contract;
}