@captain-hook/core
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -151,3 +151,2 @@ 'use strict'; | ||
} = options; | ||
if (!router) throw new Error("Captain Hook: No router provided with options."); | ||
this.router = router; | ||
@@ -154,0 +153,0 @@ this.engine = new Engine(); |
@@ -147,3 +147,2 @@ import { CapnEventsEngine } from '@captain-hook/events-engine'; | ||
} = options; | ||
if (!router) throw new Error("Captain Hook: No router provided with options."); | ||
this.router = router; | ||
@@ -150,0 +149,0 @@ this.engine = new Engine(); |
{ | ||
"name": "@captain-hook/core", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "web(hook hand)lers", | ||
@@ -20,3 +20,3 @@ "author": "Luke Smetham <luke@smetham.dev>", | ||
}, | ||
"gitHead": "1e2a3f242748a1adf0c7667893c21f1fddc0d9e3" | ||
"gitHead": "f968c9609e14238b7f533e6c509e1191226d7ea7" | ||
} |
@@ -7,4 +7,2 @@ import { CapnEventsEngine } from '@captain-hook/events-engine'; | ||
if (!router) throw new Error(`Captain Hook: No router provided with options.`); | ||
this.router = router; | ||
@@ -11,0 +9,0 @@ this.engine = new Engine(); |
14413
359