@unicitylabs/sphere-sdk 0.9.1-dev.11 → 0.9.1-dev.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2872,6 +2872,16 @@ declare class PaymentsModule {
2872
2872
  * ones are not re-surfaced.
2873
2873
  */
2874
2874
  private pumpIncomingPaymentRequests;
2875
+ /**
2876
+ * Decrypt a payment-request's recipient-addressed memo envelope into
2877
+ * `{ memo, senderNametag }` (the requester's message + nametag). The key is
2878
+ * the ECDH shared secret between THIS wallet (the payer) and the requester's
2879
+ * chain pubkey (`wire.fromPubkey`) — symmetric with the requester's
2880
+ * create-time derivation. Returns an empty bundle (and logs at debug) on any
2881
+ * absence/failure so the incoming view never wedges on an unreadable memo
2882
+ * (PR twin of #546/#547).
2883
+ */
2884
+ private decryptPaymentRequestMemo;
2875
2885
  /**
2876
2886
  * Map a §16 wire request onto the public {@link IncomingPaymentRequest}
2877
2887
  * surface and notify (event + handlers). Only `open` requests are
@@ -2872,6 +2872,16 @@ declare class PaymentsModule {
2872
2872
  * ones are not re-surfaced.
2873
2873
  */
2874
2874
  private pumpIncomingPaymentRequests;
2875
+ /**
2876
+ * Decrypt a payment-request's recipient-addressed memo envelope into
2877
+ * `{ memo, senderNametag }` (the requester's message + nametag). The key is
2878
+ * the ECDH shared secret between THIS wallet (the payer) and the requester's
2879
+ * chain pubkey (`wire.fromPubkey`) — symmetric with the requester's
2880
+ * create-time derivation. Returns an empty bundle (and logs at debug) on any
2881
+ * absence/failure so the incoming view never wedges on an unreadable memo
2882
+ * (PR twin of #546/#547).
2883
+ */
2884
+ private decryptPaymentRequestMemo;
2875
2885
  /**
2876
2886
  * Map a §16 wire request onto the public {@link IncomingPaymentRequest}
2877
2887
  * surface and notify (event + handlers). Only `open` requests are