@upstash/qstash
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -60,3 +60,3 @@ import { HttpClient } from "./http.js"; | ||
if (req.delay) { | ||
headers.set("Upstash-Delay", req.delay.toFixed()); | ||
headers.set("Upstash-Delay", `${req.delay.toFixed()}s`); | ||
} | ||
@@ -63,0 +63,0 @@ if (req.notBefore) { |
@@ -6,3 +6,3 @@ { | ||
"name": "@upstash/qstash", | ||
"version": "v0.1.6", | ||
"version": "v0.1.7", | ||
"description": "Official Deno/Typescript client for qStash", | ||
@@ -9,0 +9,0 @@ "repository": { |
# Upstash qStash SDK | ||
[![Tests](https://github.com/upstash/sdk-qstash-ts/actions/workflows/tests.yaml/badge.svg)](https://github.com/upstash/sdk-qstash-ts/actions/workflows/tests.yaml) | ||
![npm (scoped)](https://img.shields.io/npm/v/@upstash/redis) | ||
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@upstash/redis) | ||
![npm (scoped)](https://img.shields.io/npm/v/@upstash/qstash) | ||
@@ -78,3 +77,4 @@ **qStash** is an HTTP based messaging and scheduling solution for serverless and | ||
const res = await c.publishJSON({ | ||
destination: "https://my-api...", | ||
url: "https://my-api...", | ||
// or topic: "the name or id of a topic" | ||
body: { | ||
@@ -81,0 +81,0 @@ hello: "world", |
@@ -63,3 +63,3 @@ "use strict"; | ||
if (req.delay) { | ||
headers.set("Upstash-Delay", req.delay.toFixed()); | ||
headers.set("Upstash-Delay", `${req.delay.toFixed()}s`); | ||
} | ||
@@ -66,0 +66,0 @@ if (req.notBefore) { |
@@ -1,2 +0,2 @@ | ||
import { crypto } from "../deps/deno.land/std@0.149.0/crypto/mod.js"; | ||
import { crypto } from "../deps/deno.land/std@0.152.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
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
698067
89
13044