Comparing version 1.4.3 to 1.4.4
@@ -0,1 +1,2 @@ | ||
/// <reference path="request.d.ts" /> | ||
export { Hono } from './hono'; | ||
@@ -2,0 +3,0 @@ export type { Handler, Next } from './hono'; |
"use strict"; | ||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference | ||
/// <reference path="./request.ts" /> Import "declare global" for the Request interface. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -3,0 +5,0 @@ exports.Context = exports.Hono = void 0; |
@@ -13,3 +13,3 @@ "use strict"; | ||
ctx.res = new Response('Unauthorized', { | ||
status: 400, | ||
status: 401, | ||
headers: { | ||
@@ -24,3 +24,3 @@ 'WWW-Authenticate': `Bearer realm="${ctx.req.url}",error="invalid_request",error_description="no authorization included in request"`, | ||
ctx.res = new Response('Unauthorized', { | ||
status: 400, | ||
status: 401, | ||
headers: { | ||
@@ -27,0 +27,0 @@ 'WWW-Authenticate': `Bearer realm="${ctx.req.url}",error="invalid_request",error_description="no authorization included in request"`, |
{ | ||
"name": "hono", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"description": "Ultrafast web framework for Cloudflare Workers.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
124169
2771