@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.mjs
CHANGED
|
@@ -7261,7 +7261,7 @@ async function createActionCore$1(wallet, auth, vargs, parent) {
|
|
|
7261
7261
|
r.noSendChange = prior.dcr.noSendChangeOutputVouts?.map((vout) => `${r.txid}.${vout}`);
|
|
7262
7262
|
beef.atomicTxid = r.txid;
|
|
7263
7263
|
setResultBeef(r, beef);
|
|
7264
|
-
if (!vargs.options.returnTXIDOnly) r.tx = await traceActionStep(wallet, "wallet.create_action.serialize_result_beef", parent, () => beef.
|
|
7264
|
+
if (!vargs.options.returnTXIDOnly) r.tx = await traceActionStep(wallet, "wallet.create_action.serialize_result_beef", parent, () => beef.toBinaryAtomic(r.txid));
|
|
7265
7265
|
}
|
|
7266
7266
|
const { sendWithResults, notDelayedResults } = await traceActionStep(wallet, "wallet.create_action.process", parent, async () => await processAction(prior, wallet, auth, vargs));
|
|
7267
7267
|
logger?.log("processed transaction");
|
|
@@ -7377,7 +7377,7 @@ async function signActionCore(wallet, auth, args, parent) {
|
|
|
7377
7377
|
await traceSignActionStep(wallet, "wallet.sign_action.verify_unlock_scripts", parent, async () => await verifyUnlockScripts(txid, beef, wallet.scriptVerifier));
|
|
7378
7378
|
const r = {
|
|
7379
7379
|
txid: prior.tx.id("hex"),
|
|
7380
|
-
tx: vargs.options.returnTXIDOnly ? void 0 : beef.
|
|
7380
|
+
tx: vargs.options.returnTXIDOnly ? void 0 : beef.toBinaryAtomic(txid),
|
|
7381
7381
|
sendWithResults,
|
|
7382
7382
|
notDelayedResults
|
|
7383
7383
|
};
|