From e67f6df96ea12fdc41b834062c4899dd3cbd16e3 Mon Sep 17 00:00:00 2001 From: demattosanthony Date: Tue, 25 Jul 2023 15:24:09 -0400 Subject: [PATCH] added allowsNostr and nostrPubkey to payRequest info func --- lib/subprotocols/payRequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/subprotocols/payRequest.js b/lib/subprotocols/payRequest.js index 84cd878..85c4920 100644 --- a/lib/subprotocols/payRequest.js +++ b/lib/subprotocols/payRequest.js @@ -83,7 +83,7 @@ module.exports = { return this.executeHook('payRequest:info', secret, params).then(() => { const { endpoint } = this.options; let info = {}; - ['minSendable', 'maxSendable', 'metadata', 'commentAllowed', 'successAction'].forEach(key => { + ['minSendable', 'maxSendable', 'metadata', 'commentAllowed', 'successAction', 'allowsNostr', 'nostrPubKey'].forEach(key => { if (typeof params[key] !== 'undefined' && params[key] !== null) { info[key] = params[key]; }