gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated (5881150d -> c2ebcafb)


From: gnunet
Subject: [taler-docs] branch master updated (5881150d -> c2ebcafb)
Date: Sun, 26 May 2024 01:57:43 +0200

This is an automated email from the git hooks/post-receive script.

nora-grothoff pushed a change to branch master
in repository docs.

    from 5881150d feat: generate a main.ts
     new b19b85ff ignore PublishedAgeRestrictionBaseKey
     new cf2f7f32 fix some conflicting names, remove a duplicate declaration
     new 747f5722 fix someone's sloppy copy pasting!!
     new c2ebcafb break some more shit

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 contrib/type-extractor/extract-types.mjs |  2 +-
 core/api-exchange.rst                    | 78 ++++++--------------------------
 2 files changed, 16 insertions(+), 64 deletions(-)

diff --git a/contrib/type-extractor/extract-types.mjs 
b/contrib/type-extractor/extract-types.mjs
index 582edfdc..4f6e5f89 100644
--- a/contrib/type-extractor/extract-types.mjs
+++ b/contrib/type-extractor/extract-types.mjs
@@ -2,7 +2,7 @@ import fsSync, { promises as fs } from "fs";
 import ts from "typescript";
 import * as path from "path";
 
-const ignoredExports = [];
+const ignoredExports = ["PublishedAgeRestrictionBaseKey"];
 
 /**
  * @param {string} file
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index f745b03c..c30aa281 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -1272,7 +1272,7 @@ Management operations authorized by master key
 
   **Request:**
 
-  The request must be an `ExchangePartner` message.
+  The request must be an `ExchangePartner2` message.
 
   **Response**
 
@@ -1285,9 +1285,11 @@ Management operations authorized by master key
 
   **Details:**
 
-  .. ts:def:: ExchangePartner
+  .. TODO: Fix this name! There was just a name conflict
 
-    interface ExchangePartner {
+  .. ts:def:: ExchangePartner2
+
+    interface ExchangePartner2 {
 
       // Base URL of the partner exchange
       partner_base_url: string;
@@ -1749,7 +1751,7 @@ and freeze or unfreeze accounts suspected of money 
laundering.
 
   **Request:**
 
-  The request must be an `AmlDecision` message.
+  The request must be an `AmlDecision2` message.
 
   **Response**
 
@@ -1766,9 +1768,11 @@ and freeze or unfreeze accounts suspected of money 
laundering.
 
   **Details:**
 
-  .. ts:def:: AmlDecision
+  .. TODO: This was a duplicated name! This (or the other AmlDecision) should 
be renamed properly.
 
-    interface AmlDecision {
+  .. ts:def:: AmlDecision2
+
+    interface AmlDecision2 {
 
       // Human-readable justification for the decision.
       justification: string;
@@ -2658,30 +2662,6 @@ Reserve History
       request_timestamp: Timestamp;
     }
 
-  .. ts:def:: ReserveCreditTransaction
-
-    interface ReserveCreditTransaction {
-      type: "CREDIT";
-
-      // Offset of this entry in the reserve history.
-      // Useful to request incremental histories via
-      // the "start" query parameter.
-      history_offset: Integer;
-
-      // Amount deposited.
-      amount: Amount;
-
-      // Sender account ``payto://`` URL.
-      sender_account_url: string;
-
-      // Opaque identifier internal to the exchange that
-      // uniquely identifies the wire transfer that credited the reserve.
-      wire_reference: Integer;
-
-      // Timestamp of the incoming wire transfer.
-      timestamp: Timestamp;
-    }
-
   .. ts:def:: PurseMergeTransaction
 
     interface PurseMergeTransaction {
@@ -3547,7 +3527,7 @@ the API during normal operation.
 
   .. ts:def:: MeltPrepareRequest
 
-    interface WithdrawPrepareRequest {
+    interface MeltPrepareRequest {
 
       // Master seed for the Clause-schnorr R-value
       // creation.
@@ -4524,40 +4504,12 @@ Wallet-to-wallet transfers
 
     }
 
-  .. ts:def:: PurseDeposit
+  .. TODO: This name conflicted with another PurseDepositSuccess! I've renamed 
this one as the other one appeared to have more fields (more up to date?)
+  ..       Please fix appropriately!
 
-    interface PurseDeposit {
-
-      // Amount to be deposited, can be a fraction of the
-      // coin's total value.
-      amount: Amount;
-
-      // Hash of denomination RSA key with which the coin is signed.
-      denom_pub_hash: HashCode;
+  .. ts:def:: PurseDepositSuccess2
 
-      // Exchange's unblinded RSA signature of the coin.
-      ub_sig: DenominationSignature;
-
-      // Age commitment for the coin, if the denomination is age-restricted.
-      age_commitment?: AgeCommitment;
-
-      // Attestation for the minimum age, if the denomination is 
age-restricted.
-      attest?: Attestation;
-
-      // Signature over `TALER_PurseDepositSignaturePS`
-      // of purpose ``TALER_SIGNATURE_WALLET_PURSE_DEPOSIT``
-      // made by the customer with the
-      // `coin's private key <coin-priv>`.
-      coin_sig: EddsaSignature;
-
-      // Public key of the coin being deposited into the purse.
-      coin_pub: EddsaPublicKey;
-
-    }
-
-  .. ts:def:: PurseDepositSuccess
-
-     interface PurseDepositSuccess {
+     interface PurseDepositSuccess2 {
 
       // Total amount deposited into the purse so far (without fees).
       total_deposited: Amount;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]