Comparing version 0.30.0 to 0.30.1
import { NextApiHandler } from 'next'; | ||
import { H as Handler, P as Pipeline } from './types-45e9f404.js'; | ||
import { H as Handler, P as Pipeline } from './types-c44760d5.js'; | ||
import { IncomingMessage } from 'node:http'; | ||
@@ -4,0 +4,0 @@ import 'http'; |
import 'http'; | ||
export { h as handle } from './types-45e9f404.js'; | ||
export { h as handle } from './types-c44760d5.js'; | ||
import 'stream'; |
import 'http'; | ||
export { a as HTTPMethod, H as Handler, M as Middleware, P as Pipeline, g as Request, f as Routes, e as Routing, i as ServerApp, h as handle, r as response } from './types-45e9f404.js'; | ||
export { a as HTTPMethod, H as Handler, M as Middleware, P as Pipeline, g as Request, f as Routes, e as Routing, i as ServerApp, h as handle, r as response } from './types-c44760d5.js'; | ||
import 'stream'; |
@@ -390,3 +390,3 @@ var __create = Object.create; | ||
} | ||
static OK(body = "", headers = {}) { | ||
static OK(body, headers = {}) { | ||
return { body, status: 200, headers }; | ||
@@ -393,0 +393,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { M as Middleware, a as HTTPMethod } from './types-45e9f404.js'; | ||
import { M as Middleware, a as HTTPMethod } from './types-c44760d5.js'; | ||
import 'http'; | ||
@@ -3,0 +3,0 @@ import 'stream'; |
@@ -39,3 +39,3 @@ var __defProp = Object.defineProperty; | ||
} | ||
static OK(body = "", headers = {}) { | ||
static OK(body, headers = {}) { | ||
return { body, status: 200, headers }; | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "retes", | ||
"version": "0.30.0", | ||
"version": "0.30.1", | ||
"description": "Universal HTTP library for Node.js, Deno & Serverless (Cloudflare, Vercel, Netlify)", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
@@ -1,3 +0,3 @@ | ||
export { d as Response, S as Status } from './types-45e9f404.js'; | ||
export { d as Response, S as Status } from './types-c44760d5.js'; | ||
import 'http'; | ||
import 'stream'; |
@@ -36,3 +36,3 @@ var __defProp = Object.defineProperty; | ||
} | ||
static OK(body = "", headers = {}) { | ||
static OK(body, headers = {}) { | ||
return { body, status: 200, headers }; | ||
@@ -39,0 +39,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { H as Handler, P as Pipeline, R as RouteOptions, b as Route } from './types-45e9f404.js'; | ||
import { H as Handler, P as Pipeline, R as RouteOptions, b as Route } from './types-c44760d5.js'; | ||
import 'http'; | ||
@@ -3,0 +3,0 @@ import 'stream'; |
@@ -1,3 +0,3 @@ | ||
export { c as Router } from './types-45e9f404.js'; | ||
export { c as Router } from './types-c44760d5.js'; | ||
import 'http'; | ||
import 'stream'; |
@@ -1,3 +0,3 @@ | ||
export { e as Routing } from './types-45e9f404.js'; | ||
export { e as Routing } from './types-c44760d5.js'; | ||
import 'http'; | ||
import 'stream'; |
import 'http'; | ||
export { B as BodyInit, C as Context, H as Handler, p as HandlerParams, q as HandlerParamsMap, j as HeadersInit, K as KeyValue, l as MaybePromise, n as Meta, M as Middleware, k as Params, P as Pipeline, g as Request, d as Response, m as ReversedPipeline, b as Route, R as RouteOptions, o as RoutePaths, f as Routes } from './types-45e9f404.js'; | ||
export { B as BodyInit, C as Context, H as Handler, p as HandlerParams, q as HandlerParamsMap, j as HeadersInit, K as KeyValue, l as MaybePromise, n as Meta, M as Middleware, k as Params, P as Pipeline, g as Request, d as Response, m as ReversedPipeline, b as Route, R as RouteOptions, o as RoutePaths, f as Routes } from './types-c44760d5.js'; | ||
import 'stream'; |
@@ -37,3 +37,3 @@ var __defProp = Object.defineProperty; | ||
} | ||
static OK(body = "", headers = {}) { | ||
static OK(body, headers = {}) { | ||
return { body, status: 200, headers }; | ||
@@ -40,0 +40,0 @@ } |
import { Readable, Stream } from 'stream'; | ||
import { H as Handler, P as Pipeline } from './types-45e9f404.js'; | ||
import { H as Handler, P as Pipeline } from './types-c44760d5.js'; | ||
import 'http'; | ||
@@ -4,0 +4,0 @@ |
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 not supported yet
Sorry, the diff of this file is not supported yet
196861
63
6608