htmv 0.0.51 → 0.0.52

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.
@@ -19,10 +19,6 @@ function isHttpResponse(value) {
19
19
  return false;
20
20
  if (!("status" in value) || typeof value.status !== "number")
21
21
  return false;
22
- if (!("headers" in value) || typeof value.headers !== "object")
23
- return false;
24
- if (!("body" in value) || typeof value.body !== "string")
25
- return false;
26
22
  return true;
27
23
  }
28
24
  export function requestHelper(status, body, headers) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "htmv",
3
3
  "main": "dist/index.js",
4
4
  "type": "module",
5
- "version": "0.0.51",
5
+ "version": "0.0.52",
6
6
  "exports": {
7
7
  ".": {
8
8
  "types": "./dist/index.d.ts",