New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3.5 to 0.3.6

1

esm/pkg/client/client.js

@@ -15,2 +15,3 @@ import { HttpClient } from "./http.js";

this.http = new HttpClient({
retry: config.retry,
baseUrl: config.baseUrl

@@ -17,0 +18,0 @@ ? config.baseUrl.replace(/\/$/, "")

4

esm/pkg/client/http.js

@@ -38,4 +38,4 @@ import { QstashError } from "./error.js";

this.retry = {
attempts: config?.retry?.retries ?? 5,
backoff: config?.retry?.backoff ??
attempts: config.retry?.retries ? config.retry.retries + 1 : 5,
backoff: config.retry?.backoff ??
((retryCount) => Math.exp(retryCount) * 50),

@@ -42,0 +42,0 @@ };

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

"name": "@upstash/qstash",
"version": "v0.3.5",
"version": "v0.3.6",
"description": "Official Deno/Typescript client for QStash",

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

@@ -18,2 +18,3 @@ "use strict";

this.http = new http_js_1.HttpClient({
retry: config.retry,
baseUrl: config.baseUrl

@@ -20,0 +21,0 @@ ? config.baseUrl.replace(/\/$/, "")

@@ -41,4 +41,4 @@ "use strict";

this.retry = {
attempts: config?.retry?.retries ?? 5,
backoff: config?.retry?.backoff ??
attempts: config.retry?.retries ? config.retry.retries + 1 : 5,
backoff: config.retry?.backoff ??
((retryCount) => Math.exp(retryCount) * 50),

@@ -45,0 +45,0 @@ };

@@ -1,2 +0,2 @@

import { Requester } from "./http.js";
import { Requester, RetryConfig } from "./http.js";
import { Topics } from "./topics.js";

@@ -21,2 +21,6 @@ import { Messages } from "./messages.js";

token: string;
/**
* Configure how the client should retry requests.
*/
retry?: RetryConfig | false;
};

@@ -23,0 +27,0 @@ declare type Destination = {

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