[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-web-common] branch master updated: add suggested exc
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-web-common] branch master updated: add suggested exchange URL |
Date: |
Sun, 12 Feb 2017 03:54:06 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository web-common.
The following commit(s) were added to refs/heads/master by this push:
new eba6115 add suggested exchange URL
eba6115 is described below
commit eba61157ae0c64ab5780f9744d988d281ae801fe
Author: Florian Dold <address@hidden>
AuthorDate: Sun Feb 12 03:54:03 2017 +0100
add suggested exchange URL
---
taler-wallet-lib.js | 7 ++++---
taler-wallet-lib.ts | 5 +++--
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/taler-wallet-lib.js b/taler-wallet-lib.js
index 53e3793..7ba5ddc 100644
--- a/taler-wallet-lib.js
+++ b/taler-wallet-lib.js
@@ -105,18 +105,19 @@ var taler;
callWallet("taler-confirm-reserve", { reserve_pub: reservePub });
}
taler.confirmReserve = confirmReserve;
- function createReserve(callbackUrl, amount, wtTypes) {
+ function createReserve(callbackUrl, amount, wtTypes, suggestedExchangeUrl)
{
if (!installed) {
logVerbose && console.log("delaying createReserve");
taler.onPresent(function () {
- createReserve(callbackUrl, amount, wtTypes);
+ createReserve(callbackUrl, amount, wtTypes,
suggestedExchangeUrl);
});
return;
}
var args = {
callback_url: callbackUrl,
amount: amount,
- wt_types: wtTypes
+ wt_types: wtTypes,
+ suggested_exchange_url: suggestedExchangeUrl
};
callWallet("taler-create-reserve", args);
}
diff --git a/taler-wallet-lib.ts b/taler-wallet-lib.ts
index 937ac5c..7e961b2 100644
--- a/taler-wallet-lib.ts
+++ b/taler-wallet-lib.ts
@@ -119,11 +119,11 @@ namespace taler {
}
- export function createReserve(callbackUrl: string, amount: any, wtTypes:
string[]) {
+ export function createReserve(callbackUrl: string, amount: any, wtTypes:
string[], suggestedExchangeUrl?: string) {
if (!installed) {
logVerbose && console.log("delaying createReserve");
taler.onPresent(() => {
- createReserve(callbackUrl, amount, wtTypes);
+ createReserve(callbackUrl, amount, wtTypes, suggestedExchangeUrl);
});
return;
}
@@ -131,6 +131,7 @@ namespace taler {
callback_url: callbackUrl,
amount: amount,
wt_types: wtTypes,
+ suggested_exchange_url: suggestedExchangeUrl
};
callWallet("taler-create-reserve", args);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-web-common] branch master updated: add suggested exchange URL,
gnunet <=