From e6a12a9a06d23244cc100889c40a6419ec4fe5d2 Mon Sep 17 00:00:00 2001 From: "johnnyD.eth@protonmail.com" Date: Wed, 8 Nov 2023 11:50:20 +0800 Subject: [PATCH] fix: distribute tx terminal type and upgrade 10.10.1 --- package.json | 2 +- .../juicebox/pay/distribute/useDistributeEthPaymentTerminal.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be383c2..74127a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "juice-hooks", - "version": "10.9.1-beta", + "version": "10.10.1-beta", "description": "Wagmi hooks for Juicebox", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/react/hooks/juicebox/pay/distribute/useDistributeEthPaymentTerminal.ts b/src/react/hooks/juicebox/pay/distribute/useDistributeEthPaymentTerminal.ts index 1815069..3ad547b 100644 --- a/src/react/hooks/juicebox/pay/distribute/useDistributeEthPaymentTerminal.ts +++ b/src/react/hooks/juicebox/pay/distribute/useDistributeEthPaymentTerminal.ts @@ -18,7 +18,7 @@ interface DistributePayoutsTxParams { /** * Address of the project's terminal */ - terminalAddress: Address | undefined; + terminalAddress: Address; /** * Currency of amount to distribute (0 for ETH, or 1 for USD) */