Comparing version 0.4.16-cfp.8 to 0.4.16-cfp.9
@@ -16,4 +16,6 @@ "use strict"; | ||
let reqUrl; | ||
let isIntrospection; | ||
try { | ||
reqUrl = new URL(req.url, `https://${req.headers.get("host") || ""}`); | ||
isIntrospection = reqUrl.searchParams.has(consts_1.queryKeys.Introspect); | ||
reqUrl.searchParams.delete(consts_1.queryKeys.Introspect); | ||
@@ -34,3 +36,3 @@ } | ||
break; | ||
if (reqUrl.searchParams.has(consts_1.queryKeys.Introspect)) { | ||
if (isIntrospection) { | ||
return new Response(JSON.stringify(this.registerBody(reqUrl)), { | ||
@@ -37,0 +39,0 @@ status: 200, |
{ | ||
"name": "inngest", | ||
"version": "0.4.16-cfp.8", | ||
"version": "0.4.16-cfp.9", | ||
"description": "Official SDK for Inngest.com", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.4.16-cfp.8"; | ||
export declare const version = "0.4.16-cfp.9"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// Generated by genversion. | ||
exports.version = "0.4.16-cfp.8"; | ||
exports.version = "0.4.16-cfp.9"; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
210127
1962