Comparing version 0.8.1 to 0.8.2
@@ -69,5 +69,2 @@ "use strict"; | ||
} | ||
if (!eventKey) { | ||
throw new Error("An event key must be passed to create an Inngest instance."); | ||
} | ||
this.name = name; | ||
@@ -78,2 +75,5 @@ this.eventKey = | ||
this.inngestApiUrl = new URL(`e/${this.eventKey}`, this.inngestBaseUrl); | ||
if (!eventKey) { | ||
throw new Error("An event key must be passed to create an Inngest instance."); | ||
} | ||
this.headers = { | ||
@@ -80,0 +80,0 @@ "Content-Type": "application/json", |
{ | ||
"name": "inngest", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "Official SDK for Inngest.com", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.8.1"; | ||
export declare const version = "0.8.2"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// Generated by genversion. | ||
exports.version = "0.8.1"; | ||
exports.version = "0.8.2"; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package