Comparing version 1.5.3 to 1.5.4
# inngest | ||
## 1.5.4 | ||
### Patch Changes | ||
- 071fe89: INN-1054 Ensure serve handlers return `any` instead of `unknown` so that they don't needlessly conflict with user types | ||
## 1.5.3 | ||
@@ -4,0 +10,0 @@ |
@@ -46,4 +46,16 @@ import { ServerTiming } from "../helpers/ServerTiming"; | ||
*/ | ||
opts?: RegisterOptions) => unknown; | ||
opts?: RegisterOptions | ||
/** | ||
* This `any` return is appropriate. | ||
* | ||
* While we can infer the signature of the returned value, we cannot guarantee | ||
* that we have used the same types as the framework we are integrating with, | ||
* which sometimes can cause frustrating collisions for a user that result in | ||
* `as unknown as X` casts. | ||
* | ||
* Instead, we will use `any` here and have the user be able to place it | ||
* anywhere they need. | ||
*/ | ||
) => any; | ||
/** | ||
* `InngestCommHandler` is a class for handling incoming requests from Inngest (or | ||
@@ -50,0 +62,0 @@ * Inngest's tooling such as the dev server or CLI) and taking appropriate |
{ | ||
"name": "inngest", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "Official SDK for Inngest.com", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.5.3"; | ||
export declare const version = "1.5.4"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -5,3 +5,3 @@ "use strict"; | ||
// Generated by genversion. | ||
exports.version = "1.5.3"; | ||
exports.version = "1.5.4"; | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
564722
5752