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.9 to 0.0.10

2

esm/consumer.js

@@ -76,3 +76,3 @@ import * as dntShim from "./_dnt.shims.js";

const bodyHash = await dntShim.crypto.subtle.digest("SHA-256", new TextEncoder().encode(req.body));
if (p.body != base64url.encode(bodyHash)) {
if (p.body.replaceAll("=", "") != base64url.encode(bodyHash).replace("=", "")) {
throw new SignatureError(`body hash does not match, want: ${p.body}, got: ${base64url.encode(bodyHash)}`);

@@ -79,0 +79,0 @@ }

@@ -6,3 +6,3 @@ {

"name": "@upstash/qstash",
"version": "v0.0.9",
"version": "v0.0.10",
"description": "Official Deno/Typescript client for qStash",

@@ -9,0 +9,0 @@ "repository": {

@@ -103,3 +103,3 @@ "use strict";

const bodyHash = await dntShim.crypto.subtle.digest("SHA-256", new TextEncoder().encode(req.body));
if (p.body != base64url.encode(bodyHash)) {
if (p.body.replaceAll("=", "") != base64url.encode(bodyHash).replace("=", "")) {
throw new SignatureError(`body hash does not match, want: ${p.body}, got: ${base64url.encode(bodyHash)}`);

@@ -106,0 +106,0 @@ }

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