aboutsummaryrefslogtreecommitdiff
path: root/src/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-01-18 02:50:18 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-01-18 02:50:18 +0100
commit2f68e9e50e83c55ca46e9d4d72956d6525d0fa8c (patch)
treebfe94c2e0af1f3777765d37b35eeb76ed4e221be /src/walletTypes.ts
parent82d9c2a7cd2e343866997438d44aa5422190a028 (diff)
downloadwallet-core-2f68e9e50e83c55ca46e9d4d72956d6525d0fa8c.tar.xz
fix handling of resource_url
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r--src/walletTypes.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts
index 45a795873..c98717ac2 100644
--- a/src/walletTypes.ts
+++ b/src/walletTypes.ts
@@ -302,6 +302,7 @@ export interface QueryPaymentFound {
contractTermsHash: string;
contractTerms: ContractTerms;
lastSessionSig?: string;
+ lastSessionId?: string;
payReq: PayReq;
}
@@ -603,3 +604,12 @@ export interface Badge {
*/
clearNotification(): void;
}
+
+
+/**
+ * Cached next URL for a particular session id.
+ */
+export interface NextUrlResult {
+ nextUrl: string;
+ lastSessionId: string | undefined;
+}