diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-31 12:00:04 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-31 12:00:04 +0200 |
commit | c3f47e8f5866838b8c58ad8762d636a2b3ec2217 (patch) | |
tree | 5eef656a13cff01a8114c5f9aa7181f870e7a37d /src/webex/wxApi.ts | |
parent | 5a7269b20db0371535669c0faa7f1814d967b5ca (diff) | |
download | wallet-core-c3f47e8f5866838b8c58ad8762d636a2b3ec2217.tar.xz |
api simplication
Diffstat (limited to 'src/webex/wxApi.ts')
-rw-r--r-- | src/webex/wxApi.ts | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index fd01aed3f..d2e8c94f1 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -216,13 +216,6 @@ export function payback(coinPub: string): Promise<void> { } /** - * Get a proposal stored in the wallet by its proposal id. - */ -export function getProposal(proposalId: number): Promise<ProposalDownloadRecord | undefined> { - return callBackend("get-proposal", { proposalId }); -} - -/** * Check if payment is possible or already done. */ export function checkPay(proposalId: number): Promise<CheckPayResult> { @@ -258,13 +251,6 @@ export function confirmReserve(reservePub: string): Promise<void> { } /** - * Query for a payment by fulfillment URL. - */ -export function queryPaymentByFulfillmentUrl(url: string): Promise<PurchaseRecord> { - return callBackend("query-payment", { url }); -} - -/** * Check upgrade information */ export function checkUpgrade(): Promise<UpgradeResponse> { @@ -336,14 +322,6 @@ export function getPurchase(contractTermsHash: string): Promise<PurchaseRecord> return callBackend("get-purchase", { contractTermsHash }); } -/** - * Get the refund fees for a refund permission, including - * subsequent refresh and unrefreshable coins. - */ -export function getFullRefundFees(args: { refundPermissions: MerchantRefundPermission[] }): Promise<AmountJson> { - return callBackend("get-full-refund-fees", { refundPermissions: args.refundPermissions }); -} - /** * Get the status of processing a tip. @@ -367,12 +345,6 @@ export function clearNotification(): Promise<void> { return callBackend("clear-notification", { }); } -/** - * Trigger taler payment processing (for payment, tipping and refunds). - */ -export function talerPay(msg: any): Promise<void> { - return callBackend("taler-pay", msg); -} /** * Download a contract. |