response-objects
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -32,2 +32,10 @@ const status = require("statuses"); | ||
export interface R<Body> { | ||
body: Body, | ||
status: number, | ||
headers?: { | ||
[index: string]: string; | ||
} | ||
} | ||
export interface BaseResponseObject { | ||
@@ -34,0 +42,0 @@ body?: any; |
@@ -7,2 +7,10 @@ | ||
export interface R<Body> { | ||
body: Body, | ||
status: number, | ||
headers?: { | ||
[index: string]: string; | ||
} | ||
} | ||
export interface BaseResponseObject { | ||
@@ -9,0 +17,0 @@ body?: any; |
{ | ||
"name": "response-objects", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "simple value objects representing HTTP responses", | ||
@@ -11,3 +11,4 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "mocha --timeout 3000" | ||
"test": "mocha --timeout 3000", | ||
"build": "node ./createTypeDefs" | ||
}, | ||
@@ -14,0 +15,0 @@ "author": "Nick Bottomley (github.com/bttmly)", |
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
307
53524
8