Comparing version 0.6.2-rc.2 to 0.6.2-rc.3
@@ -6,4 +6,4 @@ export type CreateStakeBody = { | ||
provider: "Figment"; | ||
protocol: "Babylon"; | ||
duration: number; | ||
protocol: "Babylon" | "Ethereum"; | ||
duration?: number | undefined; | ||
}; | ||
@@ -16,4 +16,4 @@ export type CreateStakeResponse = { | ||
walletId: string; | ||
protocol: "Babylon"; | ||
status: "Active" | "Withdrawn"; | ||
protocol: "Babylon" | "Ethereum"; | ||
status: "Creating" | "Active" | "Withdrawing" | "Withdrawn"; | ||
requester: { | ||
@@ -29,4 +29,4 @@ userId: string; | ||
provider: "Figment"; | ||
protocol: "Babylon"; | ||
duration: number; | ||
protocol: "Babylon" | "Ethereum"; | ||
duration?: number | undefined; | ||
}; | ||
@@ -50,8 +50,11 @@ dateCreated: string; | ||
provider: "Figment"; | ||
protocol: "Babylon" | "Ethereum"; | ||
duration?: number | undefined; | ||
}) | ({ | ||
protocol: "Babylon"; | ||
duration: number; | ||
}) | { | ||
protocol: "Babylon"; | ||
kind: "StakeWithdrawal"; | ||
}; | ||
} | { | ||
protocol: "Ethereum"; | ||
kind: "StakeWithdrawal"; | ||
}); | ||
dateCreated: string; | ||
@@ -66,2 +69,5 @@ }; | ||
kind: "StakeWithdrawal"; | ||
} | { | ||
protocol: "Ethereum"; | ||
kind: "StakeWithdrawal"; | ||
}; | ||
@@ -74,4 +80,4 @@ export type CreateStakeActionResponse = { | ||
walletId: string; | ||
protocol: "Babylon"; | ||
status: "Active" | "Withdrawn"; | ||
protocol: "Babylon" | "Ethereum"; | ||
status: "Creating" | "Active" | "Withdrawing" | "Withdrawn"; | ||
requester: { | ||
@@ -87,4 +93,4 @@ userId: string; | ||
provider: "Figment"; | ||
protocol: "Babylon"; | ||
duration: number; | ||
protocol: "Babylon" | "Ethereum"; | ||
duration?: number | undefined; | ||
}; | ||
@@ -108,8 +114,11 @@ dateCreated: string; | ||
provider: "Figment"; | ||
protocol: "Babylon" | "Ethereum"; | ||
duration?: number | undefined; | ||
}) | ({ | ||
protocol: "Babylon"; | ||
duration: number; | ||
}) | { | ||
protocol: "Babylon"; | ||
kind: "StakeWithdrawal"; | ||
}; | ||
} | { | ||
protocol: "Ethereum"; | ||
kind: "StakeWithdrawal"; | ||
}); | ||
dateCreated: string; | ||
@@ -141,8 +150,11 @@ }; | ||
provider: "Figment"; | ||
protocol: "Babylon" | "Ethereum"; | ||
duration?: number | undefined; | ||
}) | ({ | ||
protocol: "Babylon"; | ||
duration: number; | ||
}) | { | ||
protocol: "Babylon"; | ||
kind: "StakeWithdrawal"; | ||
}; | ||
} | { | ||
protocol: "Ethereum"; | ||
kind: "StakeWithdrawal"; | ||
}); | ||
dateCreated: string; | ||
@@ -165,4 +177,4 @@ }[]; | ||
walletId: string; | ||
protocol: "Babylon"; | ||
status: "Active" | "Withdrawn"; | ||
protocol: "Babylon" | "Ethereum"; | ||
status: "Creating" | "Active" | "Withdrawing" | "Withdrawn"; | ||
requester: { | ||
@@ -178,4 +190,4 @@ userId: string; | ||
provider: "Figment"; | ||
protocol: "Babylon"; | ||
duration: number; | ||
protocol: "Babylon" | "Ethereum"; | ||
duration?: number | undefined; | ||
}; | ||
@@ -182,0 +194,0 @@ dateCreated: string; |
{ | ||
"name": "@dfns/sdk", | ||
"version": "0.6.2-rc.2", | ||
"version": "0.6.2-rc.3", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "buffer": "6.0.3", |
625023
15490