Skip to content

Commit

Permalink
Bumped up substreams-sink version
Browse files Browse the repository at this point in the history
  • Loading branch information
chamorin committed Sep 18, 2023
1 parent 225d99e commit b9cbd27
Show file tree
Hide file tree
Showing 4 changed files with 638 additions and 250 deletions.
3 changes: 1 addition & 2 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { setup, commander, http } from "substreams-sink";
import { handleOperations } from "./src/metrics.js";
import pkg from "./package.json" assert { type: "json" };

export * from "./src/metrics.js";
export * from "./src/generated/pinax/substreams/sink/prometheus/v1/prometheus_pb.js";

export async function action(options: commander.RunOptions) {
const { emitter } = await setup(options, pkg);
const { emitter } = await setup(options);
emitter.on("anyMessage", message => {
handleOperations(message);
});
Expand Down
Loading

0 comments on commit b9cbd27

Please sign in to comment.