Skip to content

Commit

Permalink
add substreams-sink-webhook dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Nov 29, 2023
1 parent 334ebca commit 1fd495c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 61 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "substreams-sink-clickhouse",
"version": "0.0.11",
"version": "0.0.12",
"description": "Substreams Clickhouse sink module",
"type": "module",
"homepage": "https://github.com/pinax-network/substreams-sink-clickhouse",
Expand Down Expand Up @@ -34,6 +34,7 @@
"openapi3-ts": "latest",
"p-queue": "^7.4.1",
"prom-client": "latest",
"substreams-sink-webhook": "^0.7.0",
"tslog": "latest",
"tweetnacl": "latest",
"zod": "latest",
Expand Down
2 changes: 1 addition & 1 deletion src/webhook/signatureEd25519.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { config } from "../config.js";
import { toText } from "../fetch/cors.js";
import { Err, Ok, Result } from "../result.js";
import { cachedVerify } from "./temp.js";
import { cachedVerify } from "substreams-sink-webhook";

export default async function (req: Request, text: string): Promise<Result<undefined, Response>> {
const signature = req.headers.get("x-signature-ed25519");
Expand Down
59 changes: 0 additions & 59 deletions src/webhook/temp.ts

This file was deleted.

0 comments on commit 1fd495c

Please sign in to comment.