@upstash/qstash 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -564,7 +564,7 @@ declare class Client {
|
|
|
564
564
|
/**
|
|
565
565
|
* Batch publish messages to QStash, serializing each body to JSON.
|
|
566
566
|
*/
|
|
567
|
-
batchJSON<TBody
|
|
567
|
+
batchJSON<TBody = unknown, TRequest extends PublishRequest<TBody> = PublishRequest<TBody>>(req: TRequest[]): Promise<(PublishToUrlResponse | PublishToTopicResponse)[]>;
|
|
568
568
|
/**
|
|
569
569
|
* Retrieve your logs.
|
|
570
570
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -564,7 +564,7 @@ declare class Client {
|
|
|
564
564
|
/**
|
|
565
565
|
* Batch publish messages to QStash, serializing each body to JSON.
|
|
566
566
|
*/
|
|
567
|
-
batchJSON<TBody
|
|
567
|
+
batchJSON<TBody = unknown, TRequest extends PublishRequest<TBody> = PublishRequest<TBody>>(req: TRequest[]): Promise<(PublishToUrlResponse | PublishToTopicResponse)[]>;
|
|
568
568
|
/**
|
|
569
569
|
* Retrieve your logs.
|
|
570
570
|
*
|