diff --git a/src/index.ts b/src/index.ts index 2c5ad5e..55a8060 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,7 +40,7 @@ function setup() { try { let query = Query.fromBinary(data); - events.emit("response", query, origin); + events.emit("query", query, origin); } catch {} }); }