Skip to content

Commit dcdaac3

Browse files
committed
fix: update import path for UTXOPublicKey and enhance JSDoc for getUTXOAccountHandler method in PrivacyChannel
1 parent 0696dfa commit dcdaac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/privacy-channel/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type {
1818
} from "./types.ts";
1919
import type { xdr } from "@stellar/stellar-sdk";
2020
import * as E from "./error.ts";
21-
import type { UTXOPublicKey } from "@moonlight/moonlight-sdk";
21+
import type { UTXOPublicKey } from "../core/utxo-keypair-base/types.ts";
2222
import { Buffer } from "buffer";
2323
import { MoonlightTransactionBuilder } from "../transaction-builder/index.ts";
2424
import { UtxoBasedStellarAccount } from "../utxo-based-account/utxo-based-stellar-account/index.ts";
@@ -192,7 +192,7 @@ export class PrivacyChannel {
192192
* @param {GetUTXOAccountHandlerArgs} args - The arguments for creating the UTXO account handler.
193193
* @param {Ed25519SecretKey} args.root - The root secret key for the Stellar account.
194194
* @param {Object} [args.options] - Additional options for the UTXO account handler.
195-
* @returns
195+
* @returns {UtxoBasedStellarAccount} A handler for UTXO-based Stellar accounts, pre-configured for this privacy channel. Use this to manage UTXO-based operations for the associated Stellar account.
196196
*/
197197
public getUTXOAccountHandler(
198198
args: GetUTXOAccountHandlerArgs,

0 commit comments

Comments
 (0)