@naman_deep_singh/http-response 3.3.2 → 3.3.3

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @naman_deep_singh/http-response
2
2
 
3
- **Version:** 3.3.2
3
+ **Version:** 3.3.3
4
4
 
5
5
  A flexible, framework-agnostic **TypeScript response utility library** for building consistent, typed, and configurable API responses.
6
6
 
@@ -50,5 +50,5 @@ export declare const HTTP_STATUS: Readonly<{
50
50
  readonly SERVICE_UNAVAILABLE: 503;
51
51
  }>;
52
52
  }>;
53
- export type HttpStatusCode = (typeof SUCCESS)[keyof typeof SUCCESS] | (typeof REDIRECTION)[keyof typeof REDIRECTION] | (typeof CLIENT_ERROR)[keyof typeof CLIENT_ERROR] | (typeof SERVER_ERROR)[keyof typeof SERVER_ERROR];
53
+ export type HTTPStatusCode = (typeof SUCCESS)[keyof typeof SUCCESS] | (typeof REDIRECTION)[keyof typeof REDIRECTION] | (typeof CLIENT_ERROR)[keyof typeof CLIENT_ERROR] | (typeof SERVER_ERROR)[keyof typeof SERVER_ERROR];
54
54
  export {};
@@ -1,2 +1,2 @@
1
1
  export { HTTP_STATUS } from './httpStatus.js';
2
- export type { HttpStatusCode } from './httpStatus.js';
2
+ export type { HTTPStatusCode } from './httpStatus.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naman_deep_singh/http-response",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "TypeScript utilities for standardized API responses",
5
5
  "author": "Naman Deep Singh",
6
6
  "license": "MIT",
@@ -35,7 +35,7 @@ export const HTTP_STATUS = Object.freeze({
35
35
  } as const)
36
36
 
37
37
  // flattened union type if needed:
38
- export type HttpStatusCode =
38
+ export type HTTPStatusCode =
39
39
  | (typeof SUCCESS)[keyof typeof SUCCESS]
40
40
  | (typeof REDIRECTION)[keyof typeof REDIRECTION]
41
41
  | (typeof CLIENT_ERROR)[keyof typeof CLIENT_ERROR]
@@ -1,2 +1,2 @@
1
1
  export { HTTP_STATUS } from './httpStatus.js'
2
- export type { HttpStatusCode } from './httpStatus.js'
2
+ export type { HTTPStatusCode } from './httpStatus.js'