@bsv/wallet-toolbox-client 2.6.1 → 2.6.2
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.
package/out/index.client.cjs
CHANGED
|
@@ -7296,7 +7296,7 @@ async function createActionCore$1(wallet, auth, vargs, parent) {
|
|
|
7296
7296
|
r.noSendChange = prior.dcr.noSendChangeOutputVouts?.map((vout) => `${r.txid}.${vout}`);
|
|
7297
7297
|
beef.atomicTxid = r.txid;
|
|
7298
7298
|
setResultBeef(r, beef);
|
|
7299
|
-
if (!vargs.options.returnTXIDOnly) r.tx = await traceActionStep(wallet, "wallet.create_action.serialize_result_beef", parent, () => beef.
|
|
7299
|
+
if (!vargs.options.returnTXIDOnly) r.tx = await traceActionStep(wallet, "wallet.create_action.serialize_result_beef", parent, () => beef.toBinaryAtomic(r.txid));
|
|
7300
7300
|
}
|
|
7301
7301
|
const { sendWithResults, notDelayedResults } = await traceActionStep(wallet, "wallet.create_action.process", parent, async () => await processAction(prior, wallet, auth, vargs));
|
|
7302
7302
|
logger?.log("processed transaction");
|
|
@@ -7412,7 +7412,7 @@ async function signActionCore(wallet, auth, args, parent) {
|
|
|
7412
7412
|
await traceSignActionStep(wallet, "wallet.sign_action.verify_unlock_scripts", parent, async () => await verifyUnlockScripts(txid, beef, wallet.scriptVerifier));
|
|
7413
7413
|
const r = {
|
|
7414
7414
|
txid: prior.tx.id("hex"),
|
|
7415
|
-
tx: vargs.options.returnTXIDOnly ? void 0 : beef.
|
|
7415
|
+
tx: vargs.options.returnTXIDOnly ? void 0 : beef.toBinaryAtomic(txid),
|
|
7416
7416
|
sendWithResults,
|
|
7417
7417
|
notDelayedResults
|
|
7418
7418
|
};
|