Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@upstash/qstash

Package Overview
Dependencies
Maintainers
5
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@upstash/qstash - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

esm/entrypoints/nextjs.js

@@ -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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc