@upstash/qstash
Advanced tools
Comparing version 0.2.0 to 0.3.0-rc.0
@@ -74,2 +74,5 @@ import { HttpClient } from "./http.js"; | ||
} | ||
if (req.callback) { | ||
headers.set("Upstash-Callback", req.callback); | ||
} | ||
if (req.cron) { | ||
@@ -76,0 +79,0 @@ headers.set("Upstash-Cron", req.cron); |
@@ -6,3 +6,3 @@ { | ||
"name": "@upstash/qstash", | ||
"version": "v0.2.0", | ||
"version": "v0.3.0-rc.0", | ||
"description": "Official Deno/Typescript client for QStash", | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -77,2 +77,5 @@ "use strict"; | ||
} | ||
if (req.callback) { | ||
headers.set("Upstash-Callback", req.callback); | ||
} | ||
if (req.cron) { | ||
@@ -79,0 +82,0 @@ headers.set("Upstash-Cron", req.cron); |
@@ -108,2 +108,10 @@ import { Requester } from "./http.js"; | ||
retries?: number; | ||
/** | ||
* Use a callback url to forward the response of your destination server to your callback url. | ||
* | ||
* The callback url must be publicly accessible | ||
* | ||
* @default undefined | ||
*/ | ||
callback?: string; | ||
} & ({ | ||
@@ -110,0 +118,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { crypto } from "../deps/deno.land/std@0.163.0/crypto/mod.js"; | ||
import { crypto } from "../deps/deno.land/std@0.164.0/crypto/mod.js"; | ||
export declare type SubtleCrypto = typeof crypto.subtle; | ||
@@ -3,0 +3,0 @@ /** |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
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
650281
95
11075
4