[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: wallet api
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: wallet api |
Date: |
Fri, 31 Jul 2020 19:20:00 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 2f2c47e wallet api
2f2c47e is described below
commit 2f2c47e4e2c9c2f421bc2eba386b89d4783e00d4
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Fri Jul 31 22:49:55 2020 +0530
wallet api
---
taler-wallet.rst | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 2ac95df..0ba46b2 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -92,16 +92,16 @@ Envelope Format
All API responses and notifications are returned in the
following envelope:
-.. ts:def:: WalletCoreResponseEnvelope
+.. ts:def:: WalletResponseEnvelope
- type WalletCoreResponseEnvelope =
- | WalletCoreSuccess
- | WalletCoreError
- | WalletCoreNotification
+ type WalletResponseEnvelope =
+ | WalletSuccess
+ | WalletError
+ | WalletNotification
-.. ts:def:: WalletCoreSuccess
+.. ts:def:: WalletSuccess
- export interface WalletCoreSuccess {
+ export interface WalletSuccess {
type: "response";
operation: string,
// ID to correlate success response to request
@@ -110,19 +110,19 @@ following envelope:
result: unknown;
}
-.. ts:def:: WalletCoreError
+.. ts:def:: WalletError
- export interface WalletCoreError {
+ export interface WalletError {
type: "error";
operation: string,
- // ID to correlate success response to request
+ // ID to correlate error response to request
id: string;
- error: WalletCoreErrorInfo;
+ error: WalletErrorInfo;
}
-.. ts:def:: WalletCoreNotification
+.. ts:def:: WalletNotification
- export interface WalletCoreSuccess {
+ export interface WalletSuccess {
type: "notification";
// actual type is WalletNotification,
@@ -130,9 +130,9 @@ following envelope:
payload: any;
}
-.. ts:def:: WalletCoreErrorInfo
+.. ts:def:: WalletErrorInfo
- export interface WalletCoreErrorInfo {
+ export interface WalletErrorInfo {
// Numeric error code defined defined in the
// GANA gnu-taler-error-codes registry.
talerErrorCode: number;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.