Skip to content

Commit

Permalink
Merge pull request #10 from kryptokrauts/feat/emit-block-timestamp
Browse files Browse the repository at this point in the history
feat: also emit block timestamp
  • Loading branch information
mitch-lbw authored Apr 9, 2024
2 parents 178d17d + d7a43ae commit ee952cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kryptokrauts/event-processor-node-lib",
"version": "1.0.12",
"version": "1.0.13",
"description": "Wrapper for ease listening on antelope blockchain based on @blockmatic/antelope-ship-reader",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/eosio/ship-reader-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export class ShipReaderWrapper {
await this.kafka_wrapper.sendEvent(
JSON.stringify({
blocknum: block.block_num,
timestamp: block.timestamp,
}),
'current_block',
);
Expand Down

0 comments on commit ee952cf

Please sign in to comment.