Skip to content

Commit

Permalink
refactor(events): reinstante ANS104_BUNDLE_INDEXED event PE-6562
Browse files Browse the repository at this point in the history
We are not currently using this event, but we should keep it connected
as an extension point for others building on the ar-io-node code base.
  • Loading branch information
djwhitt committed Sep 9, 2024
1 parent 830a0af commit fc1c043
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ eventEmitter.on(events.TX_INDEXED, async (tx: MatchableItem) => {
parent_type: 'transaction',
});
eventEmitter.emit(events.ANS104_TX_INDEXED, tx);
eventEmitter.emit(events.ANS104_BUNDLE_INDEXED, tx);
}
});

Expand All @@ -249,6 +250,7 @@ eventEmitter.on(
parent_type: 'data_item',
});
eventEmitter.emit(events.ANS104_NESTED_BUNDLE_INDEXED, item);
eventEmitter.emit(events.ANS104_BUNDLE_INDEXED, item);
}
},
);
Expand Down

0 comments on commit fc1c043

Please sign in to comment.