@defer/client
Advanced tools
Comparing version 1.6.0-alpha-20230627112151-f3af009 to 1.6.0-alpha-20230627113004-53e9be6
@@ -144,2 +144,3 @@ "use strict"; | ||
concurrency: options?.concurrency, | ||
nextRoute: options?.nextRoute, | ||
}; | ||
@@ -146,0 +147,0 @@ return ret; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = "1.6.0-alpha-20230627112151-f3af009"; | ||
exports.default = "1.6.0-alpha-20230627113004-53e9be6"; |
@@ -135,2 +135,3 @@ import { v4 as randomUUID } from "uuid"; | ||
concurrency: options?.concurrency, | ||
nextRoute: options?.nextRoute, | ||
}; | ||
@@ -137,0 +138,0 @@ return ret; |
@@ -1,1 +0,1 @@ | ||
export default "1.6.0-alpha-20230627112151-f3af009"; | ||
export default "1.6.0-alpha-20230627113004-53e9be6"; |
{ | ||
"name": "@defer/client", | ||
"version": "1.6.0-alpha-20230627112151-f3af009", | ||
"version": "1.6.0-alpha-20230627113004-53e9be6", | ||
"description": "Zero infrastructure NodeJS background jobs", | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
@@ -32,2 +32,3 @@ import { Units } from "parse-duration"; | ||
export type Concurrency = Range<0, 51>; | ||
export type NextRouteString = `/api/${string}`; | ||
export interface HasDeferMetadata { | ||
@@ -39,3 +40,3 @@ __metadata: { | ||
concurrency?: Concurrency | undefined; | ||
nextRoute?: string; | ||
nextRoute?: NextRouteString; | ||
}; | ||
@@ -69,3 +70,3 @@ } | ||
concurrency?: Concurrency; | ||
nextRoute?: `/api/${string}`; | ||
nextRoute?: NextRouteString; | ||
} | ||
@@ -72,0 +73,0 @@ export declare const defer: Defer; |
@@ -1,2 +0,2 @@ | ||
declare const _default: "1.6.0-alpha-20230627112151-f3af009"; | ||
declare const _default: "1.6.0-alpha-20230627113004-53e9be6"; | ||
export default _default; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
64558
1503