@xyo-network/xl1-protocol-sdk 1.25.11 → 1.25.12
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/dist/neutral/index.mjs
CHANGED
|
@@ -5356,7 +5356,7 @@ import {
|
|
|
5356
5356
|
asSignedHydratedTransactionWithHashMeta,
|
|
5357
5357
|
asSignedTransactionBoundWitness,
|
|
5358
5358
|
BlockViewerMoniker as BlockViewerMoniker5,
|
|
5359
|
-
|
|
5359
|
+
isTransactionBoundWitnessWithHashMeta,
|
|
5360
5360
|
TransactionViewerMoniker
|
|
5361
5361
|
} from "@xyo-network/xl1-protocol";
|
|
5362
5362
|
var SimpleTransactionViewer = class extends AbstractCreatableProvider {
|
|
@@ -5374,7 +5374,7 @@ var SimpleTransactionViewer = class extends AbstractCreatableProvider {
|
|
|
5374
5374
|
const blockBoundWitnessIndexes = block[0].payload_schemas.map((schema, index) => schema === BoundWitnessSchema ? index : void 0).filter(exists10);
|
|
5375
5375
|
const blockBoundWitnessHashes = new Set(blockBoundWitnessIndexes.map((index) => block[0].payload_hashes[index]));
|
|
5376
5376
|
const blockBoundWitnesses = block[1].filter((payload) => blockBoundWitnessHashes.has(payload._hash) || blockBoundWitnessHashes.has(payload._dataHash));
|
|
5377
|
-
const blockTransactionBoundWitnesses = blockBoundWitnesses.filter(
|
|
5377
|
+
const blockTransactionBoundWitnesses = blockBoundWitnesses.filter(isTransactionBoundWitnessWithHashMeta);
|
|
5378
5378
|
const transaction = blockTransactionBoundWitnesses.at(transactionIndex);
|
|
5379
5379
|
if (!transaction) return null;
|
|
5380
5380
|
return await this.byHash(transaction._hash);
|