@upstash/qstash
Advanced tools
Comparing version 2.3.1 to 2.4.0
@@ -194,2 +194,10 @@ /** | ||
delete(dlqMessageId: string): Promise<void>; | ||
/** | ||
* Remove multiple messages from the dlq using their `dlqId`s | ||
*/ | ||
deleteMany(req: { | ||
dlqIds: string[]; | ||
}): Promise<{ | ||
deleted: number; | ||
}>; | ||
} | ||
@@ -196,0 +204,0 @@ |
@@ -39,2 +39,15 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
} | ||
/** | ||
* Remove multiple messages from the dlq using their `dlqId`s | ||
*/ | ||
deleteMany(req) { | ||
return _chunkEROSIHWEjs.__async.call(void 0, this, null, function* () { | ||
return yield this.http.request({ | ||
method: "DELETE", | ||
path: ["v2", "dlq"], | ||
headers: { "Content-Type": "application/json" }, | ||
body: JSON.stringify({ dlqIds: req.dlqIds }) | ||
}); | ||
}); | ||
} | ||
}; | ||
@@ -41,0 +54,0 @@ |
{ | ||
"name": "@upstash/qstash", | ||
"version": "v2.3.1", | ||
"version": "v2.4.0", | ||
"description": "Official Typescript client for QStash", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
84356
2047