From 7af4dab1d809078470bce7f968115dba9e31a1dd Mon Sep 17 00:00:00 2001 From: Polybius93 Date: Mon, 23 Dec 2024 12:43:12 +0100 Subject: [PATCH] feat: export isBitcoinAddress function --- package.json | 2 +- src/functions/bitcoin/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0de15d9..a77ea5b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "dlc-btc-lib", - "version": "2.5.2", + "version": "2.5.3", "description": "This library provides a comprehensive set of interfaces and functions for minting dlcBTC tokens on supported blockchains.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/functions/bitcoin/index.ts b/src/functions/bitcoin/index.ts index 8a27458..4df1474 100644 --- a/src/functions/bitcoin/index.ts +++ b/src/functions/bitcoin/index.ts @@ -4,6 +4,7 @@ import { getFeeAmount, getFeeRecipientAddress, getInputIndicesByScript, + isBitcoinAddress, } from '../bitcoin/bitcoin-functions.js'; import { broadcastTransaction, @@ -18,6 +19,7 @@ import { } from '../bitcoin/psbt-functions.js'; export { + isBitcoinAddress, createFundingTransaction, createDepositTransaction, createWithdrawTransaction,