@upstash/qstash
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -27,4 +27,4 @@ import { buffer } from "micro"; | ||
const body = (await buffer(req)).toString(); | ||
const url = new URL(req.url, `http://${req.headers.host}`).href; | ||
console.log({ url }); | ||
const url = new URL(req.url, `https://${req.headers.host}`).href; | ||
console.log({ reqUrl: req.url, url }); | ||
const isValid = await consumer.verify({ signature, body, url }); | ||
@@ -31,0 +31,0 @@ if (!isValid) { |
@@ -6,3 +6,3 @@ { | ||
"name": "@upstash/qstash", | ||
"version": "v0.0.6", | ||
"version": "v0.0.7", | ||
"description": "Official Deno/Typescript client for qStash", | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -30,4 +30,4 @@ "use strict"; | ||
const body = (await (0, micro_1.buffer)(req)).toString(); | ||
const url = new URL(req.url, `http://${req.headers.host}`).href; | ||
console.log({ url }); | ||
const url = new URL(req.url, `https://${req.headers.host}`).href; | ||
console.log({ reqUrl: req.url, url }); | ||
const isValid = await consumer.verify({ signature, body, url }); | ||
@@ -34,0 +34,0 @@ if (!isValid) { |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
33097